aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/doc/builtin.txt2
-rw-r--r--runtime/lua/vim/_meta/vimfn.lua2
-rw-r--r--src/nvim/eval.lua2
3 files changed, 3 insertions, 3 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index e6e8e591aa..19b4256fc5 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -936,7 +936,7 @@ charclass({string}) *charclass()*
The character class is one of:
0 blank
1 punctuation
- 2 word character
+ 2 word character (depends on 'iskeyword')
3 emoji
other specific Unicode class
The class is used in patterns and word motions.
diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua
index a751783c8f..7548d1beb2 100644
--- a/runtime/lua/vim/_meta/vimfn.lua
+++ b/runtime/lua/vim/_meta/vimfn.lua
@@ -809,7 +809,7 @@ function vim.fn.char2nr(string, utf8) end
--- The character class is one of:
--- 0 blank
--- 1 punctuation
---- 2 word character
+--- 2 word character (depends on 'iskeyword')
--- 3 emoji
--- other specific Unicode class
--- The class is used in patterns and word motions.
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua
index 34045c7c9d..870eb17b9e 100644
--- a/src/nvim/eval.lua
+++ b/src/nvim/eval.lua
@@ -1111,7 +1111,7 @@ M.funcs = {
The character class is one of:
0 blank
1 punctuation
- 2 word character
+ 2 word character (depends on 'iskeyword')
3 emoji
other specific Unicode class
The class is used in patterns and word motions.