aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-05-04 17:42:34 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-05-04 17:49:56 +0800
commit3724e65c30f7d1ef803ac4e34eab7d4a9531b1a8 (patch)
tree6ddfb2294ae444c18f81f670500ea3f0f6fb5d88 /src/nvim/eval.lua
parentb441dafdf53e367c7d43177274bd781c5c73e6e0 (diff)
downloadrneovim-3724e65c30f7d1ef803ac4e34eab7d4a9531b1a8.tar.gz
rneovim-3724e65c30f7d1ef803ac4e34eab7d4a9531b1a8.tar.bz2
rneovim-3724e65c30f7d1ef803ac4e34eab7d4a9531b1a8.zip
vim-patch:8.2.2607: strcharpart() cannot include composing characters
Problem: strcharpart() cannot include composing characters. Solution: Add the {skipcc} argument. https://github.com/vim/vim/commit/02b4d9b18a03549b68e364e428392b7a62766c74 Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'src/nvim/eval.lua')
-rw-r--r--src/nvim/eval.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua
index aec5191249..d9c7208c02 100644
--- a/src/nvim/eval.lua
+++ b/src/nvim/eval.lua
@@ -386,7 +386,7 @@ return {
str2list={args={1, 2}, base=1},
str2nr={args={1, 3}, base=1},
strcharlen={args=1, base=1},
- strcharpart={args={2, 3}, base=1, fast=true},
+ strcharpart={args={2, 4}, base=1, fast=true},
strchars={args={1, 2}, base=1},
strdisplaywidth={args={1, 2}, base=1},
strftime={args={1, 2}, base=1},