Update .vimrc
This commit is contained in:
parent
82e47d966a
commit
18448ffac1
1 changed files with 28 additions and 23 deletions
|
@ -63,11 +63,16 @@ au FileType clojure,lisp,lsp,cl,l,el,elc,eln call rainbow#load()
|
||||||
"Toggle on rainbow parens by default if the following file type is detected
|
"Toggle on rainbow parens by default if the following file type is detected
|
||||||
let fts=['clojure', 'lisp', 'lsp', 'cl', 'el', 'eln', 'l', 'elc']
|
let fts=['clojure', 'lisp', 'lsp', 'cl', 'el', 'eln', 'l', 'elc']
|
||||||
if index(fts, &filetype) != -1
|
if index(fts, &filetype) != -1
|
||||||
|
"Clojure style standards like 2 space indents check it out:
|
||||||
|
"https://guide.clojure.style
|
||||||
|
set ts=2
|
||||||
|
set sw=2
|
||||||
:RainbowToggle
|
:RainbowToggle
|
||||||
endif
|
endif
|
||||||
|
"Configure clojue fuzzy indents and alignments
|
||||||
let g:clojure_fuzzy_indent = 1
|
let g:clojure_fuzzy_indent = 1
|
||||||
let g:clojure_align_subforms = 1
|
let g:clojure_align_subforms = 1
|
||||||
"Fix weird background color issues with dracula
|
"Fix weird background color issues with dracula color scheme
|
||||||
if &term =~ '256color'
|
if &term =~ '256color'
|
||||||
set t_ut=
|
set t_ut=
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue