X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=states%2Fvim%2Ffiles%2Fvimrc;h=4baa304ef0531fa16675cb0c558ecc0d01b628ec;hb=3dbb1350a971bfd906bff0f3247a81e58a7dd329;hp=26cc06cd1b62dbe711d583d4ddcf2d653183b837;hpb=9c4f0bebd5324a48db76e460299f8932bfd506d7;p=max%2Fsaltfiles.git diff --git a/states/vim/files/vimrc b/states/vim/files/vimrc index 26cc06c..4baa304 100644 --- a/states/vim/files/vimrc +++ b/states/vim/files/vimrc @@ -32,6 +32,9 @@ Plugin 'majutsushi/tagbar' Plugin 'altercation/vim-colors-solarized' Plugin 'ctrlpvim/ctrlp.vim' Plugin 'Chiel92/vim-autoformat' +Plugin 'python-rope/ropevim' +Plugin 'pangloss/vim-javascript' +Plugin 'itspriddle/vim-shellcheck' " All of your Plugins must be added before the following line call vundle#end() " required @@ -69,6 +72,7 @@ let g:syntastic_javascript_checkers = ['eslint'] let g:syntastic_python_python_exec = '/usr/bin/python3' let g:syntastic_python_checkers = ['python', 'flake8'] let g:syntastic_python_flake8_args='--config=/home/max/.config/flake8' +let g:syntastic_sh_checkers = ['shellcheck'] let g:syntastic_aggregate_errors = 1 " Syntastic C++11 @@ -140,9 +144,6 @@ let g:python_highlight_string_templates = 1 let g:python_highlight_class_vars = 1 let g:python_highlight_operators = 1 -" Python indent -autocmd FileType python setlocal foldmethod=indent foldnestmax=2 - " Paren highlighting hi MatchParen cterm=underline ctermbg=none ctermfg=none @@ -167,3 +168,6 @@ endif let g:formatdef_autopep8 = "'autopep8 --aggressive --aggressive - --range '.a:firstline.' '.a:lastline" let g:formatters_python = ['autopep8'] noremap :Autoformat + +let ropevim_goto_def_newwin = 1 +let ropevim_guess_project = 1