Skip to content

Commit

Permalink
Indentation settings for js.
Browse files Browse the repository at this point in the history
  • Loading branch information
alinpopa committed Nov 24, 2015
1 parent dca575d commit 8945227
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .vimrc
Expand Up @@ -158,11 +158,12 @@ hi Visual ctermfg=Grey guifg=Grey
if has("autocmd")
filetype on

autocmd FileType erlang setlocal sw=4 ts=4
autocmd FileType python setlocal sw=4 ts=4
autocmd FileType ruby setlocal sw=2 ts=2
autocmd FileType scala setlocal sw=2 ts=2
autocmd FileType java setlocal sw=4 ts=4
autocmd FileType erlang setlocal sw=4 ts=4
autocmd FileType python setlocal sw=4 ts=4
autocmd FileType ruby setlocal sw=2 ts=2
autocmd FileType scala setlocal sw=2 ts=2
autocmd FileType java setlocal sw=4 ts=4
autocmd FileType javascript setlocal sw=4 ts=4

autocmd BufNewFile,BufRead *.p6,*.pl6,*.perl6 set filetype=perl6
autocmd BufNewFile,BufRead *.nut set filetype=squirrel
Expand Down

0 comments on commit 8945227

Please sign in to comment.