diff options
Diffstat (limited to 'config/nvim/init.vim')
-rw-r--r-- | config/nvim/init.vim | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/config/nvim/init.vim b/config/nvim/init.vim index 0632b5d..64e6dfe 100644 --- a/config/nvim/init.vim +++ b/config/nvim/init.vim @@ -34,7 +34,7 @@ call plug#end() " end of vim-plug related lines -colo delek +colo zellner " productivity binds @@ -79,9 +79,8 @@ let g:syntastic_auto_loc_list = 1 let g:syntastic_check_on_open = 1 let g:syntastic_check_on_wq = 0 -let g:syntastic_c_checkers = ["cppcheck"] -let g:syntastic_cpp_checkers = ["cppcheck"] -let g:syntastic_sh_checkers = ["shellcheck", "sh"] +let g:syntastic_aggregate_errors = 1 +let g:syntastic_c_compiler = "cc" " lightline config set noshowmode @@ -98,11 +97,11 @@ set path+=** cno w!! exe 'sil! w !doas tee % >/dev/null' <bar> e! nno <space> :noh<return><space> " add a ctags shortcut like a shitty goblin -com! MakeTags !ectags -R . -" make make work when im learning c -autocmd BufRead $HOME/src/me/c-practice/*.c set makeprg=pcc\ -ansi\ % +com! MakeTags !ctags ./* " calcurse notes should be treated as markdown autocmd BufRead,BufNewFile /tmp/calcurse* set filetype=markdown autocmd BufRead,BufNewFile ~/.local/share/calcurse/notes/* set filetype=markdown " ksh should work autocmd FileType ksh let g:is_kornshell = 1 +" good folds +set foldmethod=marker |