update js foldmethod
This commit is contained in:
parent
37e0de1fde
commit
8f12e34f1c
|
@ -1,4 +1,4 @@
|
||||||
" note this are also set in ../ftplugin/javascript.vim
|
" NOTE also see ../ftplugin/javascript.vim
|
||||||
set shiftwidth=2
|
set shiftwidth=2
|
||||||
|
|
||||||
" https://gist.github.com/romainl/1f50c55b0ee92e5420de51e6c4b38491
|
" https://gist.github.com/romainl/1f50c55b0ee92e5420de51e6c4b38491
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
|
" also see after/ftplugin/javascript.vim
|
||||||
|
|
||||||
set iskeyword+=$
|
set iskeyword+=$
|
||||||
|
|
||||||
set tabstop=2
|
set tabstop=2
|
||||||
" note this are also set in after/ftplugin/javascript.vim
|
|
||||||
set shiftwidth=2
|
set shiftwidth=2
|
||||||
|
set foldmethod=syntax
|
||||||
|
|
Loading…
Reference in New Issue