diff options
-rw-r--r-- | nvim/nvim/ftplugin/c.vim | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nvim/nvim/ftplugin/c.vim b/nvim/nvim/ftplugin/c.vim index ce42c00..dba313b 100644 --- a/nvim/nvim/ftplugin/c.vim +++ b/nvim/nvim/ftplugin/c.vim @@ -1,2 +1,5 @@ setlocal foldmethod=syntax -setlocal syntax=c.doxygen + +if b:current_syntax ==? "c" + setlocal syntax=c.doxygen +endif |