From b033ab53ab1112fc25f86e45f9d1bfcca546bfdf Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Fri, 5 May 2023 04:24:36 -0500 Subject: [PATCH] refactor(nvim): set xml ft to html Currently nvim-treesitter does not have xml built-in and with how wide the spec is it makes sense to simply set xml to html for some amount of treesitter support. --- dots/.config/nvim/after/ftplugin/xml.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/dots/.config/nvim/after/ftplugin/xml.lua b/dots/.config/nvim/after/ftplugin/xml.lua index c7b84cb5..3ec82c70 100644 --- a/dots/.config/nvim/after/ftplugin/xml.lua +++ b/dots/.config/nvim/after/ftplugin/xml.lua @@ -2,3 +2,4 @@ local opt_local = vim.opt_local opt_local.tabstop = 2 opt_local.shiftwidth = 2 +opt_local.filetype = "html"