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 --- nvim/nvim/ftplugin/javascript.vim | 6 +++--- nvim/nvim/shada/main.shada | Bin 3678 -> 54238 bytes 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'nvim') diff --git a/nvim/nvim/ftplugin/javascript.vim b/nvim/nvim/ftplugin/javascript.vim index d140ed6..cde3013 100644 --- a/nvim/nvim/ftplugin/javascript.vim +++ b/nvim/nvim/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 diff --git a/nvim/nvim/shada/main.shada b/nvim/nvim/shada/main.shada index bf34b3d..5e5cf2d 100644 Binary files a/nvim/nvim/shada/main.shada and b/nvim/nvim/shada/main.shada differ -- cgit v1.2.3