From 5658b62b7afb7d4855e2634d8d067cbdf1d332c9 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sun, 6 Dec 2015 11:38:02 +0100 Subject: Add dart language support, closes #93 --- indent/dart.vim | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 indent/dart.vim (limited to 'indent') 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 -- cgit v1.2.3