dag / vim-fish

Vim support for editing fish scripts
MIT License
431 stars 59 forks source link

use standard shell definition for iskeyword #44

Open krobelus opened 5 years ago

krobelus commented 5 years ago

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 use W for that.

adriaanzon commented 5 years ago

:syntax iskeyword could be used instead, so that commands are still highlighted correctly.

krobelus commented 5 years ago

: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

blankname commented 4 years ago

@krobelus I believe you need to replace the = with a space.