diff options
author | Ekaitz Zárraga <ekaitz.zarraga@gmail.com> | 2016-07-21 09:10:35 +0200 |
---|---|---|
committer | Ekaitz Zárraga <ekaitz.zarraga@gmail.com> | 2016-07-21 09:10:35 +0200 |
commit | 551f755c784fd14f992db8b6ab4012b90f2c0ff4 (patch) | |
tree | 1290060990fc0c2d539feb5a6703c23425c55d96 /nvim | |
parent | a4602751fbb633244ff3aa76de4e5d0ed18000e3 (diff) |
javascript folding to indent
Diffstat (limited to 'nvim')
-rw-r--r-- | nvim/nvim/ftplugin/javascript.vim | 6 | ||||
-rw-r--r-- | nvim/nvim/shada/main.shada | bin | 3678 -> 54238 bytes |
2 files changed, 3 insertions, 3 deletions
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 Binary files differindex bf34b3d..5e5cf2d 100644 --- a/nvim/nvim/shada/main.shada +++ b/nvim/nvim/shada/main.shada |