diff --git a/dots/.config/nvim/after/ftplugin/xml.lua b/dots/.config/nvim/after/ftplugin/xml.lua index 3ec82c70..c7b84cb5 100644 --- a/dots/.config/nvim/after/ftplugin/xml.lua +++ b/dots/.config/nvim/after/ftplugin/xml.lua @@ -2,4 +2,3 @@ local opt_local = vim.opt_local opt_local.tabstop = 2 opt_local.shiftwidth = 2 -opt_local.filetype = "html" diff --git a/dots/.config/nvim/lua/core/filetypes.lua b/dots/.config/nvim/lua/core/filetypes.lua index 17115464..8f10d6d6 100644 --- a/dots/.config/nvim/lua/core/filetypes.lua +++ b/dots/.config/nvim/lua/core/filetypes.lua @@ -15,6 +15,7 @@ M.setup = function() vim.treesitter.language.register("yaml", "azure-pipelines") vim.treesitter.language.register("gitignore", "dockerignore") + vim.treesitter.language.register("html", "xml") end return M