Mercurial > vim
comparison runtime/doc/eval.txt @ 9861:74f67cb4f7e1 v7.4.2205
commit https://github.com/vim/vim/commit/e9d58a6459687a1228b5aa85bd7b31f8f1e528a8
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 13 15:07:41 2016 +0200
patch 7.4.2205
Problem: 'wildignore' always applies to getcompletion().
Solution: Add an option to use 'wildignore' or not. (Yegappan Lakshmanan)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 13 Aug 2016 15:15:04 +0200 |
parents | 3e96d9ed2ca1 |
children | 7da89d9c744b |
comparison
equal
deleted
inserted
replaced
9860:9eaf8ef656e9 | 9861:74f67cb4f7e1 |
---|---|
2091 getcharsearch() Dict last character search | 2091 getcharsearch() Dict last character search |
2092 getcmdline() String return the current command-line | 2092 getcmdline() String return the current command-line |
2093 getcmdpos() Number return cursor position in command-line | 2093 getcmdpos() Number return cursor position in command-line |
2094 getcmdtype() String return current command-line type | 2094 getcmdtype() String return current command-line type |
2095 getcmdwintype() String return current command-line window type | 2095 getcmdwintype() String return current command-line window type |
2096 getcompletion({pat}, {type}) List list of cmdline completion matches | 2096 getcompletion({pat}, {type} [, {filtered}]) |
2097 List list of cmdline completion matches | |
2097 getcurpos() List position of the cursor | 2098 getcurpos() List position of the cursor |
2098 getcwd([{winnr} [, {tabnr}]]) String get the current working directory | 2099 getcwd([{winnr} [, {tabnr}]]) String get the current working directory |
2099 getfontname([{name}]) String name of font being used | 2100 getfontname([{name}]) String name of font being used |
2100 getfperm({fname}) String file permissions of file {fname} | 2101 getfperm({fname}) String file permissions of file {fname} |
2101 getfsize({fname}) Number size in bytes of file {fname} | 2102 getfsize({fname}) Number size in bytes of file {fname} |
4209 getcmdwintype() *getcmdwintype()* | 4210 getcmdwintype() *getcmdwintype()* |
4210 Return the current |command-line-window| type. Possible return | 4211 Return the current |command-line-window| type. Possible return |
4211 values are the same as |getcmdtype()|. Returns an empty string | 4212 values are the same as |getcmdtype()|. Returns an empty string |
4212 when not in the command-line window. | 4213 when not in the command-line window. |
4213 | 4214 |
4214 getcompletion({pat}, {type}) *getcompletion()* | 4215 getcompletion({pat}, {type} [, {filtered}]) *getcompletion()* |
4215 Return a list of command-line completion matches. {type} | 4216 Return a list of command-line completion matches. {type} |
4216 specifies what for. The following completion types are | 4217 specifies what for. The following completion types are |
4217 supported: | 4218 supported: |
4218 | 4219 |
4219 augroup autocmd groups | 4220 augroup autocmd groups |
4248 var user variables | 4249 var user variables |
4249 | 4250 |
4250 If {pat} is an empty string, then all the matches are returned. | 4251 If {pat} is an empty string, then all the matches are returned. |
4251 Otherwise only items matching {pat} are returned. See | 4252 Otherwise only items matching {pat} are returned. See |
4252 |wildcards| for the use of special characters in {pat}. | 4253 |wildcards| for the use of special characters in {pat}. |
4254 | |
4255 If the optional {filtered} flag is set to 1, then 'wildignore' | |
4256 is applied to filter the results. Otherwise all the matches | |
4257 are returned. The 'wildignorecase' option always applies. | |
4253 | 4258 |
4254 If there are no matches, an empty list is returned. An | 4259 If there are no matches, an empty list is returned. An |
4255 invalid value for {type} produces an error. | 4260 invalid value for {type} produces an error. |
4256 | 4261 |
4257 *getcurpos()* | 4262 *getcurpos()* |