[vim] fixes indenting and disables hardmode
This commit is contained in:
parent
7b50b02354
commit
e8172c1c48
1 changed files with 2 additions and 2 deletions
|
@ -52,10 +52,10 @@ autocmd BufNewFile,BufRead nginx.conf set filetype=nginx
|
|||
autocmd BufNewFile,BufRead *.yaml,*.yml,*gemrc set filetype=yaml
|
||||
autocmd BufNewFile,BufRead *.handlebars set filetype=html.handlebars syntax=mustache
|
||||
|
||||
autocmd FileType javascript,dustjs,html.handlebars,css,scss setlocal tabstop=2 shiftwidth=2 softtabstop=2
|
||||
autocmd FileType javascript,dustjs,html,html.handlebars,css,scss setlocal tabstop=2 shiftwidth=2 softtabstop=2
|
||||
autocmd FileType go setlocal noexpandtab
|
||||
|
||||
autocmd VimEnter,BufNewFile,BufReadPost * silent! call HardMode()
|
||||
"autocmd VimEnter,BufNewFile,BufReadPost * silent! call HardMode()
|
||||
|
||||
" Automatically wraps markdown and text to 80 columns
|
||||
if &filetype == 'markdown' || &filetype == 'text'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue