-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'*pattern*': [a, b] does not work when a and b are equal #15
Comments
Thank you for the report. It is a known issue. See also #2.
But it's better to support such usage. The function to select a region for |
Hi @kana, |
vim-textobj-user internally uses So that it seems to be necessary to implement a |
Perhaps it would be better to change the whole algorithm used in |
I'm creating text objects for LaTeX code. In LaTeX, inline equations can be typed
\(like this\)
or$like this$
. I tried to create text objects for both with the following configuration:but only the first one worked. I also tried
'*pattern*: '[$][^$]*[$]'
, also with no positive results.Am I missing something? Is there another simple way to create text objects where the delimiters are the same (like the ones vim has for quoted text) without defining the selection functions?
The text was updated successfully, but these errors were encountered: