treesitter json and others, maybe not working yet

This commit is contained in:
Mathias Schneider
2026-03-25 17:48:45 +01:00
parent 3f99834f5d
commit 55e57519bc
3 changed files with 8 additions and 12 deletions
+2
View File
@@ -1,5 +1,7 @@
-- Basics -- Basics
vim.opt.foldmethod = "expr"
vim.opt.foldexpr = "nvim_treesitter#foldexpr()"
vim.opt.number = true vim.opt.number = true
vim.opt.relativenumber = true vim.opt.relativenumber = true
vim.opt.tabstop = 4 vim.opt.tabstop = 4
-2
View File
@@ -1,2 +0,0 @@
return {}
+6 -10
View File
@@ -3,14 +3,10 @@
return { return {
"nvim-treesitter/nvim-treesitter", "nvim-treesitter/nvim-treesitter",
build = ":TSUpdate", build = ":TSUpdate",
opts = {
-- set up ensure_installed = {"python", "bash", "lua", "json", "java", "typescript"},
config = function() highlight = { enable = true },
local config = require("nvim-treesitter.config") indent = { enable = true },
config.setup({ fold = { enable = true }
ensure_installed = {"python", "bash", "lua"}, }
highlight = { enable = true },
indent = { enable = true }
})
end
} }