vim: add racket indentation config

master
an 2019-08-19 09:42:03 -04:00
parent 27b266450b
commit aeae583aa3
1 changed files with 10 additions and 0 deletions

View File

@ -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()