diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-01-17 20:49:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-17 20:49:08 +0800 |
commit | 99186508d9a1b7536441112f9bbe48690592b5d7 (patch) | |
tree | 8d9c872732f56feb3175819b1f532250f7e0717c /runtime | |
parent | 2d71ed9929d6393ed46f9d0c218ed9ef37b67f1f (diff) | |
parent | c416da9d1a41b919412d88aecf827aebb8ea973b (diff) | |
download | rneovim-99186508d9a1b7536441112f9bbe48690592b5d7.tar.gz rneovim-99186508d9a1b7536441112f9bbe48690592b5d7.tar.bz2 rneovim-99186508d9a1b7536441112f9bbe48690592b5d7.zip |
Merge pull request #21859 from zeertzjq/vim-8.2.4617
vim-patch:8.2.{4617,4618,4620,5126}
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/builtin.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt index bdbd026a09..ca4518d1cc 100644 --- a/runtime/doc/builtin.txt +++ b/runtime/doc/builtin.txt @@ -2983,6 +2983,7 @@ getcompletion({pat}, {type} [, {filtered}]) *getcompletion()* messages |:messages| suboptions option options packadd optional package |pack-add| names + scriptnames sourced script names |:scriptnames| shellcmd Shell command sign |:sign| suboptions syntax syntax file names |'syntax'| @@ -3002,7 +3003,10 @@ getcompletion({pat}, {type} [, {filtered}]) *getcompletion()* If the 'wildoptions' option contains "fuzzy", then fuzzy matching is used to get the completion matches. Otherwise - regular expression matching is used. + regular expression matching is used. Thus this function + follows the user preference, what happens on the command line. + If you do not want this you can make 'wildoptions' empty + before calling getcompletion() and restore it afterwards. If {type} is "cmdline", then the |cmdline-completion| result is returned. For example, to complete the possible values after |