initial commit

This commit is contained in:
Michael Floßmann 2025-06-30 13:45:29 +02:00
parent 180a864e19
commit f58d044ada
18 changed files with 747 additions and 1 deletions

View file

@ -0,0 +1,33 @@
if true then return {} end
-- Customize Treesitter
---@type LazySpec
return {
"nvim-treesitter/nvim-treesitter",
opts = {
ensure_installed = {
"lua",
"vim",
"markdown",
-- add more arguments for adding more treesitter parsers
},
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,
}