refactor(nvim): define xml filetype to html in ts registration
This commit is contained in:
parent
3c5dfbb063
commit
c0517686fc
@ -2,4 +2,3 @@ local opt_local = vim.opt_local
|
|||||||
|
|
||||||
opt_local.tabstop = 2
|
opt_local.tabstop = 2
|
||||||
opt_local.shiftwidth = 2
|
opt_local.shiftwidth = 2
|
||||||
opt_local.filetype = "html"
|
|
||||||
|
@ -15,6 +15,7 @@ M.setup = function()
|
|||||||
|
|
||||||
vim.treesitter.language.register("yaml", "azure-pipelines")
|
vim.treesitter.language.register("yaml", "azure-pipelines")
|
||||||
vim.treesitter.language.register("gitignore", "dockerignore")
|
vim.treesitter.language.register("gitignore", "dockerignore")
|
||||||
|
vim.treesitter.language.register("html", "xml")
|
||||||
end
|
end
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
Loading…
Reference in New Issue
Block a user