diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-10-13 00:44:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-13 00:44:18 +0200 |
commit | 22fe76aec47e4e2cc9207bf6659e63741a310409 (patch) | |
tree | ac3ff7ea3e4aaca15684e19464879582c25d144a /runtime | |
parent | 6a2d40497a713e001f65ec8dc1af60ada43d995f (diff) | |
parent | db324879d2956a2527851102183723df63039904 (diff) | |
download | rneovim-22fe76aec47e4e2cc9207bf6659e63741a310409.tar.gz rneovim-22fe76aec47e4e2cc9207bf6659e63741a310409.tar.bz2 rneovim-22fe76aec47e4e2cc9207bf6659e63741a310409.zip |
Merge #5418 from Shougo/vim-7.4.2158
vim-patch: 7.4.2158, 2162, 2205
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/eval.txt | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index df5713c63d..7deed759b6 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1897,7 +1897,8 @@ getcmdline() String return the current command-line getcmdpos() Number return cursor position in command-line getcmdtype() String return current command-line type getcmdwintype() String return current command-line window type -getcompletion({pat}, {type}) List list of cmdline completion matches +getcompletion({pat}, {type} [, {filtered}]) + List list of cmdline completion matches getcurpos() List position of the cursor getcwd([{winnr} [, {tabnr}]]) String the current working directory getfontname([{name}]) String name of font being used @@ -3651,7 +3652,7 @@ getcmdwintype() *getcmdwintype()* values are the same as |getcmdtype()|. Returns an empty string when not in the command-line window. -getcompletion({pat}, {type}) *getcompletion()* +getcompletion({pat}, {type} [, {filtered}]) *getcompletion()* Return a list of command-line completion matches. {type} specifies what for. The following completion types are supported: @@ -3691,6 +3692,10 @@ getcompletion({pat}, {type}) *getcompletion()* Otherwise only items matching {pat} are returned. See |wildcards| for the use of special characters in {pat}. + If the optional {filtered} flag is set to 1, then 'wildignore' + is applied to filter the results. Otherwise all the matches + are returned. The 'wildignorecase' option always applies. + If there are no matches, an empty list is returned. An invalid value for {type} produces an error. |