diff options
Diffstat (limited to 'vimrc-full')
-rw-r--r-- | vimrc-full | 52 |
1 files changed, 28 insertions, 24 deletions
@@ -891,30 +891,34 @@ if has("python") | |||
891 | 891 | ||
892 | 892 | ||
893 | " SYNTASTIC: ========================================================================================================= | 893 | " SYNTASTIC: ========================================================================================================= |
894 | if has('nvim') | 894 | if has('nvim') |
895 | Plug 'w0rp/ale' | 895 | Plug 'w0rp/ale' |
896 | else | 896 | let g:ale_sign_error = '' |
897 | 897 | let g:ale_sign_style_error = '' | |
898 | 898 | let g:ale_sign_info = '' | |
899 | Plug 'scrooloose/syntastic' | 899 | let ale_sign_warning = '' |
900 | set statusline+=%#warningmsg# | 900 | else |
901 | set statusline+=%{SyntasticStatuslineFlag()} | 901 | |
902 | let g:LatexBox_latexmk_preview_continuously = 1 | 902 | |
903 | let g:LatexBox_viewer = "evince" | 903 | Plug 'scrooloose/syntastic' |
904 | let g:syntastic_always_populate_loc_list = 1 | 904 | set statusline+=%#warningmsg# |
905 | let g:syntastic_auto_loc_list = 0 | 905 | set statusline+=%{SyntasticStatuslineFlag()} |
906 | let g:syntastic_check_on_open = 1 | 906 | let g:LatexBox_latexmk_preview_continuously = 1 |
907 | let g:syntastic_check_on_wq = 0 | 907 | let g:LatexBox_viewer = "evince" |
908 | " let g:syntastic_quiet_messages = {"type":"style"} | 908 | let g:syntastic_always_populate_loc_list = 1 |
909 | " | 909 | let g:syntastic_auto_loc_list = 0 |
910 | " E221: multiple spaces before Operator | 910 | let g:syntastic_check_on_open = 1 |
911 | let g:syntastic_python_flake8_args = '--max-complexity=10 --max-line-length=120 --exclude venv --doctests --exit-zero --ignore=E221' | 911 | let g:syntastic_check_on_wq = 0 |
912 | " filter ( = do not display) style/formatting errors and warnings | 912 | " let g:syntastic_quiet_messages = {"type":"style"} |
913 | let g:syntastic_error_symbol = '✖' | 913 | " |
914 | let g:syntastic_style_error_symbol = '✗' | 914 | " E221: multiple spaces before Operator |
915 | let g:syntastic_warning_symbol = '➔' | 915 | let g:syntastic_python_flake8_args = '--max-complexity=10 --max-line-length=120 --exclude venv --doctests --exit-zero --ignore=E221' |
916 | let g:syntastic_style_warning_symbol = '≈' | 916 | " filter ( = do not display) style/formatting errors and warnings |
917 | endif | 917 | let g:syntastic_error_symbol = '✖' |
918 | let g:syntastic_style_error_symbol = '✗' | ||
919 | let g:syntastic_warning_symbol = '➔' | ||
920 | let g:syntastic_style_warning_symbol = '≈' | ||
921 | endif | ||
918 | 922 | ||
919 | " JEDI: ============================================================================================================== | 923 | " JEDI: ============================================================================================================== |
920 | Plug 'davidhalter/jedi-vim' " jedi gets used to display python function signatures | 924 | Plug 'davidhalter/jedi-vim' " jedi gets used to display python function signatures |