Skip to content
Discussion options

You must be logged in to vote

Tag textobject in 'mini.ai' is implemented via Lua patterns, which can result in false positives.

This particular case is due to the fact that built-in t textobject only considers tags that contain only alphanumeric characters as their name. The motion.h1 contains .. The #2057 proposed to include the dot by default, but my suggestion is to invest into setting up t textobject that uses tree-sitter parser for a more robust experience.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by echasnovski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested mini.ai
2 participants