diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2024-10-29 07:02:04 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2024-10-29 08:20:00 +0800 |
| commit | 60b3ccd850ca038af6fc0a19cad12578f63d67ec (patch) | |
| tree | b18deb6eaae322957f27ae87e134f7c8bb3ee5e9 /src/nvim/vvars.lua | |
| parent | 6b8c3d146ec0308fd19a9142b23b5e342e2cdcf8 (diff) | |
| download | rneovim-60b3ccd850ca038af6fc0a19cad12578f63d67ec.tar.gz rneovim-60b3ccd850ca038af6fc0a19cad12578f63d67ec.tar.bz2 rneovim-60b3ccd850ca038af6fc0a19cad12578f63d67ec.zip | |
vim-patch:9.1.0821: 'findexpr' completion doesn't set v:fname to cmdline argument
Problem: 'findexpr' completion doesn't set v:fname to cmdline argument.
Solution: Set v:fname to the cmdline argument as-is (zeertzjq).
closes: vim/vim#15934
https://github.com/vim/vim/commit/20e045f78148c0ef0143c33ffe686fee72d29376
Diffstat (limited to 'src/nvim/vvars.lua')
| -rw-r--r-- | src/nvim/vvars.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nvim/vvars.lua b/src/nvim/vvars.lua index 5c9f0f9e27..6c6edd4ee2 100644 --- a/src/nvim/vvars.lua +++ b/src/nvim/vvars.lua @@ -50,6 +50,13 @@ M.vars = { can be used. ]=], }, + cmdcomplete = { + type = 'boolean', + desc = [=[ + When evaluating 'findexpr': if 'findexpr' is used for cmdline + completion the value is |v:true|, otherwise it is |v:false|. + ]=], + }, collate = { type = 'string', desc = [=[ |