Add javascript specific config.
Currently syntax folding does nothing, change to indent for now.
This commit is contained in:
parent
2f3fe3b782
commit
817b5c81c4
2 changed files with 2 additions and 0 deletions
1
javascript.vim
Normal file
1
javascript.vim
Normal file
|
@ -0,0 +1 @@
|
||||||
|
autocmd FileType java set fdm=indent
|
1
vimrc
1
vimrc
|
@ -6,6 +6,7 @@ let oldwd = getcwd()
|
||||||
exec "cd " . vimrc_git
|
exec "cd " . vimrc_git
|
||||||
source vundle.vim
|
source vundle.vim
|
||||||
source java.vim
|
source java.vim
|
||||||
|
source javascript.vim
|
||||||
exec "cd " . oldwd
|
exec "cd " . oldwd
|
||||||
|
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
|
|
Loading…
Reference in a new issue