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