aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/charset.c4
-rw-r--r--src/nvim/options.lua2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/charset.c b/src/nvim/charset.c
index 81a42e619c..20bd364c7e 100644
--- a/src/nvim/charset.c
+++ b/src/nvim/charset.c
@@ -849,11 +849,11 @@ bool vim_isfilec(int c)
}
/// Check if "c" is a valid file-name character, including characters left
-/// out of 'isfname' to make "gf" work, such as comma, space, '@', etc.
+/// out of 'isfname' to make "gf" work, such as ',', ' ', '@', ':', etc.
bool vim_is_fname_char(int c)
FUNC_ATTR_PURE FUNC_ATTR_WARN_UNUSED_RESULT
{
- return vim_isfilec(c) || c == ',' || c == ' ' || c == '@';
+ return vim_isfilec(c) || c == ',' || c == ' ' || c == '@' || c == ':';
}
/// Check that "c" is a valid file-name character or a wildcard character
diff --git a/src/nvim/options.lua b/src/nvim/options.lua
index b361539fc9..5c0d249ac3 100644
--- a/src/nvim/options.lua
+++ b/src/nvim/options.lua
@@ -7746,7 +7746,7 @@ return {
Name of the word list file where words are added for the |zg| and |zw|
commands. It must end in ".{encoding}.add". You need to include the
path, otherwise the file is placed in the current directory.
- The path may include characters from 'isfname', space, comma and '@'.
+ The path may include characters from 'isfname', ' ', ',', '@' and ':'.
*E765*
It may also be a comma-separated list of names. A count before the
|zg| and |zw| commands can be used to access each. This allows using