summaryrefslogtreecommitdiff
path: root/vim/.vim/ftplugin/javascript.vim
diff options
context:
space:
mode:
authorEkaitz Zárraga <ekaitz.zarraga@gmail.com>2016-07-21 09:10:35 +0200
committerEkaitz Zárraga <ekaitz.zarraga@gmail.com>2016-07-21 09:10:35 +0200
commit551f755c784fd14f992db8b6ab4012b90f2c0ff4 (patch)
tree1290060990fc0c2d539feb5a6703c23425c55d96 /vim/.vim/ftplugin/javascript.vim
parenta4602751fbb633244ff3aa76de4e5d0ed18000e3 (diff)
javascript folding to indent
Diffstat (limited to 'vim/.vim/ftplugin/javascript.vim')
-rw-r--r--vim/.vim/ftplugin/javascript.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/vim/.vim/ftplugin/javascript.vim b/vim/.vim/ftplugin/javascript.vim
index d140ed6..cde3013 100644
--- a/vim/.vim/ftplugin/javascript.vim
+++ b/vim/.vim/ftplugin/javascript.vim
@@ -1,4 +1,4 @@
-set tabstop=2 softtabstop=0 expandtab shiftwidth=2
-set autoindent
+setlocal tabstop=2 softtabstop=0 expandtab shiftwidth=2
+setlocal autoindent
-let javaScript_fold=1
+setlocal foldmethod=indent