From 5a19a9709c0e2a9805fae6cf652e12e247908c6b Mon Sep 17 00:00:00 2001 From: matijs Date: Mon, 30 Sep 2024 18:41:23 +0200 Subject: [PATCH] feat(vim): configure JSON folding For now use `.vim/after/ftplugin/` as the location for JSON specific settings. This could also live in `.vimrc` (`.vim/vimrc`) as an `autocmd`. --- .vim/after/ftplugin/json.vim | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .vim/after/ftplugin/json.vim diff --git a/.vim/after/ftplugin/json.vim b/.vim/after/ftplugin/json.vim new file mode 100644 index 0000000..f60e6fa --- /dev/null +++ b/.vim/after/ftplugin/json.vim @@ -0,0 +1,4 @@ +" folds fold {} and [] +setlocal foldmethod=syntax +" open with all folds opened +setlocal nofoldenable