Add tab settings for specific languages
This commit is contained in:
5
vimrc
5
vimrc
@@ -101,6 +101,11 @@ autocmd BufRead,BufNewFile *.fdoc set filetype=yaml
|
||||
" md is markdown
|
||||
autocmd BufRead,BufNewFile *.md set filetype=markdown
|
||||
autocmd BufRead,BufNewFile *.md set spell
|
||||
autocmd FileType javascript setlocal expandtab shiftwidth=2 softtabstop=2
|
||||
autocmd FileType html setlocal expandtab shiftwidth=2 softtabstop=2
|
||||
autocmd FileType css setlocal expandtab shiftwidth=2 softtabstop=2
|
||||
autocmd FileType racket setlocal expandtab shiftwidth=2 softtabstop=2
|
||||
autocmd FileType lisp setlocal expandtab shiftwidth=2 softtabstop=2
|
||||
|
||||
|
||||
""" FIXES
|
||||
|
||||
Reference in New Issue
Block a user