diff options
author | Juan J. Martinez <jjm@usebox.net> | 2019-02-26 09:52:11 +0000 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2022-05-29 22:57:28 +0100 |
commit | 1c63110892337495411bc6282e921c1898fc606d (patch) | |
tree | 9508eefceac164d51469f53213040fe82862f2e7 /vimrc | |
parent | e9e4719b0da352464e823c09f648984f0640ecea (diff) | |
download | dotnvim-1c63110892337495411bc6282e921c1898fc606d.tar.gz dotnvim-1c63110892337495411bc6282e921c1898fc606d.zip |
Cleaned up
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 18 |
1 files changed, 5 insertions, 13 deletions
@@ -45,35 +45,27 @@ set statusline +=%=%-10L " Line, column and percentage set statusline +=%=%-14.(%l,%c%V%)\ %P -" " spellcheck please! +" spellcheck please! setlocal spell spelllang=en_gb hi clear SpellBad hi SpellBad term=standout ctermfg=1 cterm=bold gui=undercurl guisp=Red -" extra python -"" wrapping and tabs -autocmd FileType python setl ts=4 sw=4 et sta sts=4 ai -"" smart indenting -autocmd FileType python let python_highlight_all = 1 -"" extra highlighting -autocmd FileType python setl smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class - " extra C autocmd FileType c setl ts=4 " syntastic let g:syntastic_python_checkers = ['pyflakes'] let g:syntastic_go_checkers = ['go', 'golint', 'govet', 'errcheck'] -let g:syntastic_scala_scalastyle_jar = '/home/juanmartinez/scala-local/lib/scalastyle_2.12-1.0.0-batch.jar' -let g:syntastic_scala_scalastyle_config_file = '/home/juanmartinez/scala-local/lib/scalastyle_config.xml' -let g:syntastic_scala_checkers = ['fsc', 'scalastyle'] let g:syntastic_always_populate_loc_list = 1 let g:syntastic_auto_loc_list = 0 let g:syntastic_loc_list_height = 5 -"" default to passive and manual checks +" default to passive and manual checks let g:syntastic_mode_map = { 'mode': 'passive' } +" make easy to perform a check +noremap <C-F6> :SyntasticCheck<CR> + "" vim-autoformat noremap <C-F5> :Autoformat<CR> |