]> 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 2917e5f55d6e93272ec58190afa1309f3ede1bc4..5f95ede26da4c2b6be5d48051557de15d5901f4f 100644 (file)
@@ -9,9 +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>
 
-setlocal cinoptions=     " reset cinoptions
+let b:tcomment_options = {'whitespace': 'no'}
+
 setlocal cinoptions+=l1  " align with case label