nvim: Update treesitter config

This commit is contained in:
2025-11-30 16:17:43 +01:00
parent fe15a5490f
commit 27cb40adcf

View File

@@ -9,10 +9,12 @@ return {
dependencies = { dependencies = {
"windwp/nvim-ts-autotag", "windwp/nvim-ts-autotag",
}, },
config = function() config = function(_, opts)
local treesitter = require("nvim-treesitter.configs") local treesitter = require("nvim-treesitter.configs")
treesitter.setup({ treesitter.setup(opts)
end,
opts = {
highlight = { highlight = {
enable = true, enable = true,
}, },
@@ -55,8 +57,7 @@ return {
node_decremental = "<bs>", node_decremental = "<bs>",
}, },
}, },
}) },
end,
}, },
{ {
"nvim-treesitter/nvim-treesitter-context", "nvim-treesitter/nvim-treesitter-context",