diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2024-10-11 06:48:45 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-10 22:48:45 +0000 |
| commit | 6f1601a1b94e6ea724d8436600c64760525d1d2b (patch) | |
| tree | 547a6639977d43b6ff54fd30345612326cc9706f /runtime | |
| parent | b3109084c2c3675aa886bf16ff15f50025f30096 (diff) | |
| download | rneovim-6f1601a1b94e6ea724d8436600c64760525d1d2b.tar.gz rneovim-6f1601a1b94e6ea724d8436600c64760525d1d2b.tar.bz2 rneovim-6f1601a1b94e6ea724d8436600c64760525d1d2b.zip | |
vim-patch:9.1.0774: "shellcmdline" doesn't work with getcompletion() (#30750)
Problem: "shellcmdline" doesn't work with getcompletion().
Solution: Use set_context_for_wildcard_arg() (zeertzjq).
closes: vim/vim#15834
https://github.com/vim/vim/commit/85f36d61e09b12d6f1c60201129823371daa4a84
Diffstat (limited to 'runtime')
| -rw-r--r-- | runtime/doc/builtin.txt | 1 | ||||
| -rw-r--r-- | runtime/lua/vim/_meta/vimfn.lua | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt index 617fd87553..aa31c59ab2 100644 --- a/runtime/doc/builtin.txt +++ b/runtime/doc/builtin.txt @@ -3362,6 +3362,7 @@ getcompletion({pat}, {type} [, {filtered}]) *getcompletion()* runtime |:runtime| completion scriptnames sourced script names |:scriptnames| shellcmd Shell command + shellcmdline Shell command line with filename arguments sign |:sign| suboptions syntax syntax file names |'syntax'| syntime |:syntime| suboptions diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua index 1e1e87fca8..81e7070ac0 100644 --- a/runtime/lua/vim/_meta/vimfn.lua +++ b/runtime/lua/vim/_meta/vimfn.lua @@ -3008,6 +3008,7 @@ function vim.fn.getcmdwintype() end --- runtime |:runtime| completion --- scriptnames sourced script names |:scriptnames| --- shellcmd Shell command +--- shellcmdline Shell command line with filename arguments --- sign |:sign| suboptions --- syntax syntax file names |'syntax'| --- syntime |:syntime| suboptions |