summaryrefslogtreecommitdiff
path: root/runtime/indent/vroom.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-07-26 13:40:44 +0200
committerBram Moolenaar <Bram@vim.org>2014-07-26 13:40:44 +0200
commitdbc28022514a858015e957e0038559ed024bdc53 (patch)
tree6dbf261603872d9cf2eb4a9bc27a88a8fde5d78f /runtime/indent/vroom.vim
parent2bace3e2fb9dd138bd267bbf648e4473dba6eb2c (diff)
downloadvim-dbc28022514a858015e957e0038559ed024bdc53.zip
Update runtime files. Add vroom file support.
Diffstat (limited to 'runtime/indent/vroom.vim')
-rw-r--r--runtime/indent/vroom.vim21
1 files changed, 21 insertions, 0 deletions
diff --git a/runtime/indent/vroom.vim b/runtime/indent/vroom.vim
new file mode 100644
index 000000000..10efb0eb9
--- /dev/null
+++ b/runtime/indent/vroom.vim
@@ -0,0 +1,21 @@
+" 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