diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2020-07-18 16:36:17 +0200 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2020-07-18 16:36:17 +0200 |
commit | 42a65db0334ea603cbe24f29898e62a9fdda678e (patch) | |
tree | 1f636a904428c7a748e4b71ee1cadc44145247d9 | |
parent | 21a262169f5f079ee6e93db4101a4e89a48ae610 (diff) |
C++ friendly ftplugin
-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 |