remove wrong treesitter config

This commit is contained in:
Michael Floßmann 2025-08-06 10:26:27 +02:00
parent 19bc79a96b
commit 814240c351

View file

@ -1,4 +1,4 @@
if true then return {} end -- if true then return {} end
-- Customize Treesitter -- Customize Treesitter
---@type LazySpec ---@type LazySpec
@ -10,24 +10,11 @@ return {
"vim", "vim",
"markdown", "markdown",
-- add more arguments for adding more treesitter parsers -- add more arguments for adding more treesitter parsers
"selinux",
}, },
highlight = { highlight = {
enable = true, 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,
} }