comparison runtime/doc/builtin.txt @ 28183:2b595cee4c85 v8.2.4617

patch 8.2.4617: no completion for :scriptnames Commit: https://github.com/vim/vim/commit/454ce6737cadb82886f1fc0eb9e8666cc59ae42b Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Thu Mar 24 11:22:13 2022 +0000 patch 8.2.4617: no completion for :scriptnames Problem: No completion for :scriptnames. Solution: Implement :scriptnames completion. (Yegappan Lakshmanan, closes #10005)
author Bram Moolenaar <Bram@vim.org>
date Thu, 24 Mar 2022 12:30:08 +0100
parents 130f4082a13d
children e3d6184b89fa
comparison
equal deleted inserted replaced
28182:2846627df454 28183:2b595cee4c85
3254 mapping mapping name 3254 mapping mapping name
3255 menu menus 3255 menu menus
3256 messages |:messages| suboptions 3256 messages |:messages| suboptions
3257 option options 3257 option options
3258 packadd optional package |pack-add| names 3258 packadd optional package |pack-add| names
3259 scriptnames sourced script names |:scriptnames|
3259 shellcmd Shell command 3260 shellcmd Shell command
3260 sign |:sign| suboptions 3261 sign |:sign| suboptions
3261 syntax syntax file names |'syntax'| 3262 syntax syntax file names |'syntax'|
3262 syntime |:syntime| suboptions 3263 syntime |:syntime| suboptions
3263 tag tags 3264 tag tags
3273 is applied to filter the results. Otherwise all the matches 3274 is applied to filter the results. Otherwise all the matches
3274 are returned. The 'wildignorecase' option always applies. 3275 are returned. The 'wildignorecase' option always applies.
3275 3276
3276 If the 'wildoptions' option contains 'fuzzy', then fuzzy 3277 If the 'wildoptions' option contains 'fuzzy', then fuzzy
3277 matching is used to get the completion matches. Otherwise 3278 matching is used to get the completion matches. Otherwise
3278 regular expression matching is used. 3279 regular expression matching is used. Thus this function
3280 follows the user preference, what happens on the command line.
3281 If you do not want this you can make 'wildoptions' empty
3282 before calling getcompletion() and restore it afterwards.
3279 3283
3280 If {type} is "cmdline", then the |cmdline-completion| result is 3284 If {type} is "cmdline", then the |cmdline-completion| result is
3281 returned. For example, to complete the possible values after 3285 returned. For example, to complete the possible values after
3282 a ":call" command: > 3286 a ":call" command: >
3283 echo getcompletion('call ', 'cmdline') 3287 echo getcompletion('call ', 'cmdline')