summaryrefslogtreecommitdiffstats
path: root/indent/dart.vim
diff options
context:
space:
mode:
Diffstat (limited to 'indent/dart.vim')
-rw-r--r--indent/dart.vim13
1 files changed, 13 insertions, 0 deletions
diff --git a/indent/dart.vim b/indent/dart.vim
new file mode 100644
index 00000000..af4cb7df
--- /dev/null
+++ b/indent/dart.vim
@@ -0,0 +1,13 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dart') == -1
+
+if exists('b:did_indent')
+ finish
+endif
+let b:did_indent = 1
+
+setlocal cindent
+setlocal cinoptions+=j1,J1
+
+let b:undo_indent = 'setl cin< cino<'
+
+endif