From 814240c3513ace34e2adc6d0d773d3d10a673700 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Flo=C3=9Fmann?= Date: Wed, 6 Aug 2025 10:26:27 +0200 Subject: [PATCH] remove wrong treesitter config --- lua/plugins/treesitter.lua | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index b437f02..a03ba39 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -1,4 +1,4 @@ -if true then return {} end +-- if true then return {} end -- Customize Treesitter ---@type LazySpec @@ -10,24 +10,11 @@ return { "vim", "markdown", -- add more arguments for adding more treesitter parsers + "selinux", }, highlight = { enable = true, }, }, - config = function() - local parser_config = require("nvim-treesitter.parsers").get_parser_configs() - - parser_config["selinux"] = { - install_info = { - url = "~/code/tree-sitter-selinux/", - files = { "src/parser.c" }, - branch = "main", - generate_requires_npm = false, - requires_generate_from_grammar = false, - }, - filetype = "te", - } - end, }