Closed francoganga closed 2 months ago
'mini.ai' works using Lua patterns which are not designed to deliver 100% compatibility with parsing structured nested data.
If there is a concrete example of something not working as expected, please provide a step-by-step reproducible example. The attached video is not reproducible for me. Also, chances are that this was already discussed in one of the previous issues.
If you want to disable particular built-in textobject, you can disable it by setting to false
entry in custom_textobjects
. Like this.
Closing as there is not enough information.
Contributing guidelines
Module(s)
mini.ai
Description
When using mini.ai on a html file the usual ways of interacting with html tags behave incorrectly. I noticed this with all actions that involve tags for ex: "vat", "dat", "cit", etc.
Neovim version
NVIM v0.9.5
Steps to reproduce
With mini.ai installed open any html file and try to select around any tag, the behaviour is very inconsistent also. It seems to occur more on tags that have multiple parents.
Expected behavior
Should not alter the default behaviour of vanilla nvim
Actual behavior
https://github.com/echasnovski/mini.nvim/assets/44908537/f9fd113b-8862-4d83-a815-9307641f04ae
This is me creating an index.html file adding a couple of tags and trying to select around a tag.