fix: adapted new treesitter api

This commit is contained in:
2026-02-23 22:04:31 +01:00
parent fdea1f7270
commit 5b298dac01

View File

@@ -8,9 +8,9 @@ return{
}, },
config = function () config = function ()
local configs = require("nvim-treesitter.configs") local treesitter = require("nvim-treesitter")
configs.setup({ treesitter.setup({
ensure_installed = { "c", "cpp","haskell", "lua","svelte","python", "vim", "vimdoc", "query", "elixir", "heex", "javascript", "html" }, ensure_installed = { "c", "cpp","haskell", "lua","svelte","python", "vim", "vimdoc", "query", "elixir", "heex", "javascript", "html" },
sync_install = false, sync_install = false,
highlight = { enable = true }, highlight = { enable = true },