add selinux treesitter
This commit is contained in:
parent
eca0ed608d
commit
fc5fe0e5b5
1 changed files with 18 additions and 0 deletions
|
|
@ -2,6 +2,24 @@
|
|||
-- PLEASE REMOVE THE EXAMPLES YOU HAVE NO INTEREST IN BEFORE ENABLING THIS FILE
|
||||
-- Here are some examples:
|
||||
|
||||
local parser_config = require("nvim-treesitter.parsers").get_parser_configs()
|
||||
|
||||
parser_config["selinux"] = {
|
||||
install_info = {
|
||||
url = "/home/michaelflossmann/code/tree-sitter-selinux_2",
|
||||
files = { "src/parser.c" },
|
||||
branch = "main",
|
||||
generate_requires_npm = false,
|
||||
requires_generate_from_grammar = false,
|
||||
},
|
||||
filetype = "selinux",
|
||||
}
|
||||
vim.filetype.add {
|
||||
extension = {
|
||||
te = "selinux",
|
||||
},
|
||||
}
|
||||
|
||||
---@type LazySpec
|
||||
return {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue