diff options
| author | Ahmed Abdelhalim <[email protected]> | 2021-07-21 16:16:31 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2021-07-21 16:16:31 +0200 |
| commit | bb2ada030401a37253e578c32fdd1e6762df36e5 (patch) | |
| tree | 2e5ae7198e8c3e553535ff8bd2874194af7bfc21 | |
| parent | ef347bd37ddcb4a80f9f6b1157cc90fee4d64709 (diff) | |
Add flake8 configurations with YCM
| -rw-r--r-- | .vimrc | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |
