]> git.rmz.io Git - dotfiles.git/blobdiff - vim/ftplugin/c.vim
qutebrowser: also cycle through accept all cookies
[dotfiles.git] / vim / ftplugin / c.vim
index 3b54992308536e2f2de3c72f30d0ea6d15adb7be..5f95ede26da4c2b6be5d48051557de15d5901f4f 100644 (file)
@@ -9,8 +9,13 @@ augroup fswitch
     au BufEnter *.c        let b:fswitchlocs = 'reg:|source|include/**|'
 augroup END
 
+" Disable ale as we use ycm
+let b:ale_enabled = 0
+
 nnoremap <buffer> gd :YcmCompleter GoTo<CR>
 nnoremap <buffer> <C-W>d :vs<CR>:YcmCompleter GoTo<CR>
+nnoremap <buffer> gD :YcmCompleter GoToReferences<CR>
+
+let b:tcomment_options = {'whitespace': 'no'}
 
-setlocal cinoptions=     " reset cinoptions
 setlocal cinoptions+=l1  " align with case label