Skip to content

Commit

Permalink
use standard definition for iskeyword, as for other shells
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
krobelus committed Feb 12, 2019
1 parent 50b95cb commit 534d451
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ftplugin/fish.vim
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ setlocal foldexpr=fish#Fold()
setlocal formatoptions+=ron1
setlocal formatoptions-=t
setlocal include=\\v^\\s*\\.>
setlocal iskeyword=@,48-57,-,_,.,/
setlocal suffixesadd^=.fish

" Use the 'j' format option when available.
Expand Down

0 comments on commit 534d451

Please sign in to comment.