diff --git a/after/ftplugin/javascript.vim b/after/ftplugin/javascript.vim index 23f5a9d..7c7f9dc 100644 --- a/after/ftplugin/javascript.vim +++ b/after/ftplugin/javascript.vim @@ -1,4 +1,4 @@ -" note this are also set in ../ftplugin/javascript.vim +" NOTE also see ../ftplugin/javascript.vim set shiftwidth=2 " https://gist.github.com/romainl/1f50c55b0ee92e5420de51e6c4b38491 diff --git a/ftplugin/javascript.vim b/ftplugin/javascript.vim index 393635a..8d449ca 100644 --- a/ftplugin/javascript.vim +++ b/ftplugin/javascript.vim @@ -1,5 +1,7 @@ +" also see after/ftplugin/javascript.vim + set iskeyword+=$ set tabstop=2 -" note this are also set in after/ftplugin/javascript.vim set shiftwidth=2 +set foldmethod=syntax