diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-11-01 18:22:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-01 18:22:08 +0800 |
commit | 7bf3a616e18205d353d9c4a44e8c2f885d700129 (patch) | |
tree | 46aa398455dbd8987e44f513581dbc303ba735a5 | |
parent | cbd8b2c1622e0c1cb4d38b65730e259eb6c100df (diff) | |
download | rneovim-7bf3a616e18205d353d9c4a44e8c2f885d700129.tar.gz rneovim-7bf3a616e18205d353d9c4a44e8c2f885d700129.tar.bz2 rneovim-7bf3a616e18205d353d9c4a44e8c2f885d700129.zip |
vim-patch:b5e7da1: runtime(doc): mention 'iskeyword' at :h charclass() (#31026)
fixes: vim/vim#15965
https://github.com/vim/vim/commit/b5e7da1f27241f7d770d342009e2fb443e45e6ce
Co-authored-by: Christian Brabandt <cb@256bit.org>
-rw-r--r-- | runtime/doc/builtin.txt | 2 | ||||
-rw-r--r-- | runtime/lua/vim/_meta/vimfn.lua | 2 | ||||
-rw-r--r-- | src/nvim/eval.lua | 2 |
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. |