Closed siaa4fu closed 1 year ago
Thank you for reporting. I have just fixed.
Thank you for your fixing.
I tried adding rules in the latest version, but there seems to be a problem with the cursor position.
call lexima#add_rule(#{ char: '(', at: '\V(\%#)', input: '', delete: 1, mode: 'c' })
If an above rule is defined and
()(|
^ '(' is inputted at this cursor position,
()|
^ the rule is applied incorrectly.
One more thing I found that the 'except' is not working in command-line mode.
Sorry for asking too much.
Thank you.
'except' is not working in command-line mode.
This seems to be other problem. I open a new issue.
I will check cursor position problem
I could reproduce and fixed the cursor pattern problem.
When the rule is enabled on command-line mode, the regular expression set in "at (lexima-rules-at)" does not support \V
e.g.
Thanks for the nice plugin!