remove wrong treesitter config
This commit is contained in:
parent
19bc79a96b
commit
814240c351
1 changed files with 2 additions and 15 deletions
|
|
@ -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,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue