From 534d451049536d462de397851df5d78478a99513 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Mon, 11 Feb 2019 12:57:43 +0100 Subject: [PATCH] use standard definition for iskeyword, as for other shells 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. --- ftplugin/fish.vim | 1 - 1 file changed, 1 deletion(-) diff --git a/ftplugin/fish.vim b/ftplugin/fish.vim index 85873eb..93cb059 100644 --- a/ftplugin/fish.vim +++ b/ftplugin/fish.vim @@ -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.