From: Samir Benmendil Date: Thu, 27 Aug 2015 09:13:43 +0000 (+0100) Subject: vim: buffer local doxygen syntax X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/f41aaa07a6e70d42890bc2d02958b148fb1bacfe vim: buffer local doxygen syntax --- diff --git a/vim/ftplugin/cpp.vim b/vim/ftplugin/cpp.vim index cb3d9bd..a12e2d4 100644 --- a/vim/ftplugin/cpp.vim +++ b/vim/ftplugin/cpp.vim @@ -14,7 +14,7 @@ setlocal cinkeys-=0# " don't reindent PP directives setlocal cinoptions+=:0 " don't indent case labels " Load the doxygen syntax -let g:load_doxygen_syntax=1 +let b:load_doxygen_syntax = 1 augroup fswitch au BufEnter *.h let b:fswitchdst = 'cpp,c'