diff --git a/vim/.vimrc b/vim/.vimrc index 801a2f1..da8215b 100755 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -18,7 +18,7 @@ syntax on set hidden " file specific formatting -autocmd Filetype python,bash,sh setlocal tabstop=4 softtabstop=4 shiftwidth=4 expandtab autoindent fileformat=unix +autocmd Filetype python,bash,sh,java setlocal tabstop=4 softtabstop=4 shiftwidth=4 expandtab autoindent fileformat=unix autocmd Filetype css,html,htmldjango,javascript setlocal tabstop=2 softtabstop=2 shiftwidth=2 expandtab autoindent " search down into subfolders