aboutsummaryrefslogtreecommitdiff
path: root/dot_vim/c-support/syntax/c.vim
diff options
context:
space:
mode:
Diffstat (limited to 'dot_vim/c-support/syntax/c.vim')
-rw-r--r--dot_vim/c-support/syntax/c.vim21
1 files changed, 21 insertions, 0 deletions
diff --git a/dot_vim/c-support/syntax/c.vim b/dot_vim/c-support/syntax/c.vim
new file mode 100644
index 0000000..395e0d9
--- /dev/null
+++ b/dot_vim/c-support/syntax/c.vim
@@ -0,0 +1,21 @@
+"===================================================================================
+"
+" FILE: c.vim
+" DESCRIPTION: syntax file
+" enable syntax based folding
+" part of the c-support plugin
+"
+" AUTHOR: Dr.-Ing. Fritz Mehner
+" EMAIL: mehner@fh-swf.de
+" COMPANY: FH Südwestfalen, Iserlohn
+" VERSION: 1.0
+" CREATED: 11.03.2006
+" REVISION: ---
+"===================================================================================
+"
+" fold C blocks
+"
+syn region cBlock start="{" end="}" transparent fold
+set foldmethod=syntax
+set foldlevel=999
+