use standard shell definition for iskeyword#44
Open
krobelus wants to merge 1 commit intodag:masterfrom
Open
Conversation
|
|
This effectively removes "-", "." and "/" from the set of word characters. 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.
f349007 to
534d451
Compare
Author
Cool! |
blankname
pushed a commit
to blankname/vim-fish
that referenced
this pull request
Mar 22, 2020
I didn't remove the iskeyword definition entirely because I believe including '_' and '.' is still useful. Also, fix syntax definitions to include '/' as well wherever they use '\k' so that / is still highlighted. cc: dag#44
blankname
pushed a commit
to blankname/vim-fish
that referenced
this pull request
Mar 22, 2020
I didn't remove the iskeyword definition entirely because I believe including '_' and '.' is still useful. Use 'syntax iskeyword @,48-57,-,_,.,/' in the syntax definitions so that '/' is still matched by syntax patterns that use '\k'. cc: dag#44
|
@krobelus I believe you need to replace the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prior to this, a
wwould skip over the entirety of /some/long/path-name. Thisis probably not what users expect, since they can use
Wfor that.