diff options
author | zeertzjq <zeertzjq@outlook.com> | 2025-03-27 08:21:08 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2025-03-27 08:25:12 +0800 |
commit | 797195e0ea554f2e546ced9104e8fbfa376f283f (patch) | |
tree | 6f487685c4e43e7419b0d8dc460507be674746e0 /runtime/lua/vim | |
parent | f9280cde0ae12bcd68e069c3849b20f4fcfbd41a (diff) | |
download | rneovim-797195e0ea554f2e546ced9104e8fbfa376f283f.tar.gz rneovim-797195e0ea554f2e546ced9104e8fbfa376f283f.tar.bz2 rneovim-797195e0ea554f2e546ced9104e8fbfa376f283f.zip |
vim-patch:9.1.1219: Strange error with wrong type for matchfuzzy() "camelcase"
Problem: Strange error with type for matchfuzzy() "camelcase".
Solution: Show the error "Invalid value for argument camelcase" instead
of "Invalid argument: camelcase" (zeertzjq).
Note that using tv_get_string() will lead to confusion, as when the
value cannot be converted to a string tv_get_string() will also give an
error about that, but "camelcase" takes a boolean, not a string. Also
don't use tv_get_string() for the "limit" argument above.
closes: vim/vim#16926
https://github.com/vim/vim/commit/c4815c157b27923001e44bfd241fb540bf1fb518
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r-- | runtime/lua/vim/_meta/vimfn.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua index 69e739225f..813a89898e 100644 --- a/runtime/lua/vim/_meta/vimfn.lua +++ b/runtime/lua/vim/_meta/vimfn.lua @@ -5817,7 +5817,7 @@ function vim.fn.matchend(expr, pat, start, count) end --- returned. Zero means no limit. --- camelcase Use enhanced camel case scoring making results --- better suited for completion related to ---- programming languages. Default is v:true +--- programming languages. Defaults to v:true. --- --- If {list} is a list of dictionaries, then the optional {dict} --- argument supports the following additional items: |