diff options
Diffstat (limited to 'after/ftplugin/json.vim')
| -rw-r--r-- | after/ftplugin/json.vim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/after/ftplugin/json.vim b/after/ftplugin/json.vim new file mode 100644 index 0000000..90db3ec --- /dev/null +++ b/after/ftplugin/json.vim @@ -0,0 +1,6 @@ +" let the initial folding state be that all folds are closed. +set foldlevel=0 + +" Use nvim-treesitter for folding +set foldmethod=expr +set foldexpr=nvim_treesitter#foldexpr() |
