diff --git a/init.vim b/init.vim index f990bca..1ab4b97 100644 --- a/init.vim +++ b/init.vim @@ -17,39 +17,24 @@ set mouse= set completeopt-=preview set nofoldenable set spellcapcheck=0 +set sw=2 +set ts=2 +set et -colorscheme vim +if has('nvim') + colorscheme vim +endif set smartcase "set smarttab - set nohlsearch highlight ExtraWhitespace ctermbg=darkgreen guibg=darkgreen match ExtraWhitespace /\s\+$\| \+\ze\t/ -au FileType sql setlocal ts=2 sw=2 et au FileType python setlocal ts=4 sw=4 et -au FileType typescript setlocal ts=2 sw=2 et -au FileType vue setlocal ts=2 sw=2 et -au FileType lua setlocal ts=2 sw=2 et -au FileType racket setlocal sw=2 ts=2 et -au FileType yaml setlocal sw=2 ts=2 et -au FileType markdown setlocal sw=2 ts=2 et -au FileType pandoc setlocal sw=2 ts=2 et -au FileType asciidoc setlocal sw=2 ts=2 et -au FileType llvm setlocal sw=2 ts=2 et -au FileType xml setlocal sw=2 ts=2 et -au FileType html setlocal sw=2 ts=2 et -au FileType htmldjango setlocal sw=2 ts=2 et -au FileType cabal setlocal sw=2 ts=2 et -au FileType javascript setlocal sw=2 ts=2 et -au FileType rst setlocal sw=3 ts=3 et -au FileType riot setlocal sw=2 ts=2 et -au FileType elm setlocal sw=4 ts=4 et +au FileType c setlocal ts=8 sw=8 noet au FileType asciidoctor setlocal wrap lbr iskeyword+=- -au FileType cmake setlocal sw=2 ts=2 et -au FileType scss setlocal sw=2 ts=2 et au BufRead,BufNewFile */templates/*.html set filetype=htmldjango