summaryrefslogtreecommitdiffstats
path: root/indent
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2017-05-17 11:46:19 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2017-05-17 11:46:19 +0200
commitd5b9c4ae84aaa98bdfbf15cba90eeafa5aded091 (patch)
tree5d6b3f74231b2c232ddfcb868ecfbc97db90019a /indent
parent7dd2e1169849b7e5cae67d5056f0a379f3da67b5 (diff)
downloadvim-polyglot-2.17.0.tar.gz
vim-polyglot-2.17.0.zip
Add racket support, #159v2.17.0
Diffstat (limited to 'indent')
-rw-r--r--indent/racket.vim16
1 files changed, 16 insertions, 0 deletions
diff --git a/indent/racket.vim b/indent/racket.vim
new file mode 100644
index 00000000..fb1d563b
--- /dev/null
+++ b/indent/racket.vim
@@ -0,0 +1,16 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'racket') == -1
+
+" Language: Racket
+" Maintainer: Will Langstroth <will@langstroth.com>
+" URL: http://github.com/wlangstroth/vim-racket
+
+if exists("b:did_indent")
+ finish
+endif
+let b:did_indent = 1
+
+setlocal ai nosi
+
+let b:undo_indent = "setl ai< si<"
+
+endif