aboutsummaryrefslogtreecommitdiff
path: root/.vim/filetype.vim
diff options
context:
space:
mode:
Diffstat (limited to '.vim/filetype.vim')
-rw-r--r--.vim/filetype.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/.vim/filetype.vim b/.vim/filetype.vim
index 82fa01c..c29f97e 100644
--- a/.vim/filetype.vim
+++ b/.vim/filetype.vim
@@ -4,3 +4,7 @@ augroup filetypedetect
autocmd BufRead,BufNewFile /etc/nginx*.conf setfiletype nginx
autocmd BufRead,BufNewFile *mutt-* setfiletype mail
augroup end
+
+autocmd FileType html setlocal shiftwidth=2 softtabstop=2 expandtab
+autocmd FileType css setlocal shiftwidth=2 softtabstop=2 expandtab
+autocmd FileType javascript setlocal shiftwidth=2 softtabstop=2 expandtab