mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fix(extra-angular): reguster angular treesitter without autocmd
This commit is contained in:
parent
4aff4a8d0a
commit
99d62aff1a
1 changed files with 1 additions and 6 deletions
|
|
@ -20,12 +20,7 @@ return {
|
|||
[".*%.container%.html"] = "angular.html",
|
||||
},
|
||||
})
|
||||
vim.api.nvim_create_autocmd("FileType", {
|
||||
pattern = "angular.html",
|
||||
callback = function()
|
||||
vim.treesitter.language.register("angular", "angular.html")
|
||||
end,
|
||||
})
|
||||
vim.treesitter.language.register("angular", "angular.html")
|
||||
end,
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue