aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2019-02-26 09:52:11 +0000
committerJuan J. Martinez <jjm@usebox.net>2022-05-29 22:57:28 +0100
commit1c63110892337495411bc6282e921c1898fc606d (patch)
tree9508eefceac164d51469f53213040fe82862f2e7
parente9e4719b0da352464e823c09f648984f0640ecea (diff)
downloaddotnvim-1c63110892337495411bc6282e921c1898fc606d.tar.gz
dotnvim-1c63110892337495411bc6282e921c1898fc606d.zip
Cleaned up
-rw-r--r--vimrc18
1 files changed, 5 insertions, 13 deletions
diff --git a/vimrc b/vimrc
index 38240a5..c0cd268 100644
--- a/vimrc
+++ b/vimrc
@@ -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>