From a2793f7d7a7989a5c7a2ff8c4da5e049a22fa9ea Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Thu, 5 Feb 2026 15:18:33 +0100 Subject: Neovim: Treesitter-Konfiguration vereinfacht und etwas robuster gestaltet --- nvim/lua/plugins/treesitter.lua | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) (limited to 'nvim/lua/plugins/treesitter.lua') diff --git a/nvim/lua/plugins/treesitter.lua b/nvim/lua/plugins/treesitter.lua index 2bbc4c1..235c0b5 100644 --- a/nvim/lua/plugins/treesitter.lua +++ b/nvim/lua/plugins/treesitter.lua @@ -12,29 +12,11 @@ return { lazy = false, config = function() local treesitter = require("nvim-treesitter") + local langs = require("config.treesitter").languages -- treesitter.setup({}) - -- https://github.com/nvim-treesitter/nvim-treesitter/blob/main/SUPPORTED_LANGUAGES.md - treesitter.install({ - "bash", - "c", - "cpp", - "html", - "javascript", - "lua", - "make", - "markdown", - "markdown_inline", - "prisma", - "python", - "typescript", - "vim", - "vim", - "vimdoc", - "yaml", - "zsh", - }) + treesitter.install(langs) end, }, } -- cgit v1.3