summaryrefslogtreecommitdiffstats
path: root/indent/vroom.vim
diff options
context:
space:
mode:
Diffstat (limited to 'indent/vroom.vim')
-rw-r--r--indent/vroom.vim25
1 files changed, 25 insertions, 0 deletions
diff --git a/indent/vroom.vim b/indent/vroom.vim
new file mode 100644
index 00000000..29188466
--- /dev/null
+++ b/indent/vroom.vim
@@ -0,0 +1,25 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vim') == -1
+
+" Vim indent file
+" Language: Vroom (vim testing and executable documentation)
+" Maintainer: David Barnett (https://github.com/google/vim-ft-vroom)
+" Last Change: 2014 Jul 23
+
+if exists('b:did_indent')
+ finish
+endif
+let b:did_indent = 1
+
+let s:cpo_save = &cpo
+set cpo-=C
+
+
+let b:undo_indent = 'setlocal autoindent<'
+
+setlocal autoindent
+
+
+let &cpo = s:cpo_save
+unlet s:cpo_save
+
+endif