Closed TornaxO7 closed 1 year ago
Do you have a treesitter parser installed for xml? There's not one in nvim-treesitter
, so you have to add it yourself. Here's how I do it in my config. Then you can add xml
to ensure_installed
and you will have XML support in treesitter (and this plugin).
Oh, I didn't know that xml
is not part of nvim-treesitter
. That fixed it for me, thanks!
TL;DR
My tags aren't getting completed in
xml
files, even I explicitely set it in the config.Reproduction
~/.config/nvim/init.lua
~/.config/nvim/lua/treesitter_settings/settings.lua
Now open any
.xml
file and type<div>
, I don't get the closing tag.