From 2a21c3504109ca0426e61bab3da12e7d68682bc2 Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Mon, 29 Jun 2026 21:22:01 +0200 Subject: lazy.nvim: Behandle Optionen und Setup auch bei Treesitter getrennt --- nvim/lua/plugins/treesitter.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nvim/lua/plugins/treesitter.lua') diff --git a/nvim/lua/plugins/treesitter.lua b/nvim/lua/plugins/treesitter.lua index 66cd717..f33a414 100644 --- a/nvim/lua/plugins/treesitter.lua +++ b/nvim/lua/plugins/treesitter.lua @@ -11,12 +11,12 @@ return { build = ":TSUpdate", event = "BufReadPost", lazy = true, - config = function() + opts = {}, + config = function(_, opts) local treesitter = require("nvim-treesitter") local langs = require("config.treesitter").languages - -- treesitter.setup({}) - + treesitter.setup(opts) treesitter.install(langs) end, }, -- cgit v1.3