I find the inability to only keep a match without the prefix or suffix annoying.
For example:
> axis equal
#^^^^^^^^^ meta.function-call.command.matlab
# ^^^^ meta.function-call.command.matlab variable.function.command.matlab
# ^ meta.function-call.command.matlab
# ^^^^^ meta.function-call.command.matlab string.unquoted.matlab
The initial whitespace is included in the function-call.command
meta scope. My pattern is annoyingly dependent on the non-whitespace token preceding axis
. So I have to include a bunch of irrelevant whitespace in my matches and my tests. I’d like \K
so I can get the token matching more accurate.