summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.vimrc5
1 files changed, 3 insertions, 2 deletions
diff --git a/.vimrc b/.vimrc
index e5e638c..3a2f186 100644
--- a/.vimrc
+++ b/.vimrc
@@ -158,8 +158,8 @@ let &colorcolumn="80,".join(range(121,130),",")
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Plugin maps
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
-"YouCompleteMe
-"=============
+"YouCompleteMe & vim-flake8
+"==========================
let g:ycm_auto_hover=''
let g:ycm_enable_diagnostic_signs = 1
let g:ycm_autoclose_preview_window_after_completion = 1
@@ -169,6 +169,7 @@ let pipenv_venv_path = system('pipenv --venv')
if shell_error == 0
let venv_path = substitute(pipenv_venv_path, '\n', '', '')
let g:ycm_python_binary_path = venv_path . '/bin/python'
+ let g:flake8_cmd = venv_path . '/bin/flake8'
else
let g:ycm_python_binary_path = '/usr/local/bin/python3'
endif