summaryrefslogtreecommitdiffstats
path: root/vim/indent/nc.vim
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2011-11-24 17:55:37 +0100
committerSebastian Reichel <sre@ring0.de>2011-11-24 17:55:37 +0100
commitb274076dcb55ce2f71c0d7878567465de08ff29c (patch)
tree18b50a9dcee4d2051b842e8db2e599967b1b237b /vim/indent/nc.vim
parentf5a2b0e1189c107d475184d2b9b5de970507a80d (diff)
downloadvim-config-b274076dcb55ce2f71c0d7878567465de08ff29c.tar.bz2
add nesc support
Diffstat (limited to 'vim/indent/nc.vim')
-rw-r--r--vim/indent/nc.vim13
1 files changed, 13 insertions, 0 deletions
diff --git a/vim/indent/nc.vim b/vim/indent/nc.vim
new file mode 100644
index 0000000..dc489b2
--- /dev/null
+++ b/vim/indent/nc.vim
@@ -0,0 +1,13 @@
+" Vim indent file
+" Language: NesC
+" Maintainer: Lau Ming Leong <http://aming.no-ip.com
+" Last Change: 2007 Apr 02
+
+" Only load this indent file when no other was loaded.
+if exists("b:did_indent")
+ finish
+endif
+let b:did_indent = 1
+
+" C++ indenting is built-in, thus this is very simple
+setlocal cindent