From aeae583aa34d06fd1a6b1b95b5541931609f036e Mon Sep 17 00:00:00 2001 From: Alison Watson Date: Mon, 19 Aug 2019 09:42:03 -0400 Subject: [PATCH] vim: add racket indentation config --- vim/vimrc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/vim/vimrc b/vim/vimrc index 4e3a68f..7be1db0 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -126,6 +126,13 @@ fu _agw.close_empty() endif endfu +fu _agw.setup_rkt() + setlocal shiftwidth=2 + setlocal tabstop=2 + setlocal softtabstop=2 + setlocal expandtab +endfu + fu _agw.setup_asm() setlocal shiftwidth=8 setlocal tabstop=8 @@ -448,6 +455,9 @@ endif " markdown sucks au FileType markdown set comments+=fb:- comments-=b:- indentexpr= +" Racket options +au FileType racket call _agw.setup_rkt() + " ASM options au BufEnter *\.asm,*\.s,*\.inc,*\.i call _agw.setup_asm()