This commit is contained in:
Josh Sherman 2016-10-02 10:18:43 -05:00
parent ffb15f7b2f
commit 4e4ab9dbdf
5 changed files with 6 additions and 6 deletions

View file

@ -52,8 +52,8 @@ autocmd BufNewFile,BufRead nginx.conf set filetype=nginx
autocmd BufNewFile,BufRead *.mustache,*.hogan,*.hulk,*.hjs set filetype=html.mustache syntax=mustache
autocmd BufNewFile,BufRead *.handlebars,*.hbs set filetype=html.handlebars syntax=mustache
autocmd FileType javascript,dustjs,handlebars,css setlocal tabstop=2 shiftwidth=2 softtabstop=2
autocmd FileType go setlocal noexpandtab
autocmd FileType javascript,dustjs,handlebars,css,scss setlocal tabstop=2 shiftwidth=2 softtabstop=2
autocmd FileType go setlocal noexpandtab
" Automatically wraps markdown and text to 80 columns
if &filetype == 'markdown' || &filetype == 'text'