summaryrefslogtreecommitdiff
path: root/vim/.vim/ftplugin/c.vim
diff options
context:
space:
mode:
authorEkaitz Zárraga <ekaitz.zarraga@gmail.com>2016-08-05 23:34:22 +0200
committerEkaitz Zárraga <ekaitz.zarraga@gmail.com>2016-08-05 23:34:22 +0200
commitddf74e564339c72bd536d4a3e03d44488710a56e (patch)
tree31ff11b74b98f87d4cb4d8b8cc9a0e4856fca7e4 /vim/.vim/ftplugin/c.vim
parente430499f676f27526b8ef8b1f17e6f98205168b2 (diff)
foldmethod indent by default syntax for C
Diffstat (limited to 'vim/.vim/ftplugin/c.vim')
-rw-r--r--vim/.vim/ftplugin/c.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/vim/.vim/ftplugin/c.vim b/vim/.vim/ftplugin/c.vim
index 26ceca4..ce42c00 100644
--- a/vim/.vim/ftplugin/c.vim
+++ b/vim/.vim/ftplugin/c.vim
@@ -1 +1,2 @@
-set syntax=c.doxygen
+setlocal foldmethod=syntax
+setlocal syntax=c.doxygen