From 3ca26a05939a2a0d51d565c8e752403e6250b185 Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Mon, 30 Oct 2017 16:38:09 -0500 Subject: [PATCH] [vim] update Racket settings, default fold level --- .vim/after/ftplugin/racket.vim | 4 +++- .vimrc | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.vim/after/ftplugin/racket.vim b/.vim/after/ftplugin/racket.vim index 9022250..9be80e8 100644 --- a/.vim/after/ftplugin/racket.vim +++ b/.vim/after/ftplugin/racket.vim @@ -1 +1,3 @@ -au VimEnter * RainbowToggleOn +au BufEnter * RainbowToggleOn +setlocal foldmethod=syntax +setlocal lispwords+=define-macro,syntax/loc,with-handlers,with-pattern diff --git a/.vimrc b/.vimrc index 4b41b72..de27d6e 100644 --- a/.vimrc +++ b/.vimrc @@ -48,7 +48,7 @@ call s:highlight() " highlight LongLine term=reverse cterm=reverse ctermfg=1 guifg=Black guibg=Yellow " match LongLine /\%101v./ -set foldlevelstart=6 +set foldlevelstart=10 set foldmethod=indent set linebreak set list