summaryrefslogtreecommitdiffstats
path: root/indent
diff options
context:
space:
mode:
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