Open krobelus opened 5 years ago
:syntax iskeyword
could be used instead, so that commands are still highlighted correctly.
:syntax iskeyword
could be used instead, so that commands are still highlighted correctly.
Cool!
I tried :syntax iskeyword=@,48,57,-,_,.,/
but this seems to mess up other syntax definitions, for example in echo foo
the echo
used to be highlighted in a different color
@krobelus I believe you need to replace the =
with a space.
Prior to this, a
w
would skip over the entirety of /some/long/path-name. This is probably not what users expect, since they can useW
for that.