diff --git a/after/ftplugin/json.lua b/after/ftplugin/json.lua new file mode 100644 index 0000000..7f6f421 --- /dev/null +++ b/after/ftplugin/json.lua @@ -0,0 +1,8 @@ +-- Specific settings for JSON files +-- Use treesitter for folding +-- Disable the color column + +vim.opt.foldmethod="expr" +vim.opt.foldexpr="nvim_treesitter#foldexpr()" +vim.opt.foldlevel=3 +vim.opt.colorcolumn=""