From 551f755c784fd14f992db8b6ab4012b90f2c0ff4 Mon Sep 17 00:00:00 2001 From: Ekaitz Zárraga Date: Thu, 21 Jul 2016 09:10:35 +0200 Subject: javascript folding to indent --- vim/.vim/ftplugin/javascript.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vim/.vim/ftplugin/javascript.vim') 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 -- cgit v1.2.3