fix: Fork tree-sitter-htmldjango
This commit is contained in:
parent
c8edd24998
commit
0e18070f51
3 changed files with 35 additions and 22 deletions
|
@ -20,6 +20,10 @@ return {
|
|||
"rust",
|
||||
"sxhkdrc",
|
||||
"latex",
|
||||
-- HTML template langs
|
||||
"htmljinja",
|
||||
"jinja",
|
||||
"jinja_inline",
|
||||
},
|
||||
|
||||
sync_install = false,
|
||||
|
@ -46,6 +50,13 @@ return {
|
|||
},
|
||||
filetype = "fluent", -- if filetype does not match the parser name
|
||||
}
|
||||
config.htmljinja = {
|
||||
install_info = {
|
||||
url = "https://github.com/null2264/tree-sitter-htmldjango", -- local path or git repo
|
||||
files = {"src/parser.c"}, -- note that some parsers also require src/scanner.c or src/scanner.cc
|
||||
},
|
||||
filetype = "htmldjango", -- if filetype does not match the parser name
|
||||
}
|
||||
vim.filetype.add({
|
||||
extension = { rasi = "rasi" },
|
||||
pattern = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue