summaryrefslogtreecommitdiffstats
path: root/vim/indent/nc.vim
diff options
context:
space:
mode:
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