vim-patch:9.1.1340: cannot complete :filetype arguments (#33602)

Problem:  cannot complete :filetype arguments (Phạm Bình An)
Solution: add :filetype ex command completion, add "filetypecmd"
          completion type for getcompletion()

fixes: vim/vim#17165
closes: vim/vim#17167

a3422aa317

Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
zeertzjq
2025-04-24 08:50:33 +08:00
committed by GitHub
parent 63689deb45
commit ac8ae1596c
7 changed files with 118 additions and 0 deletions

View File

@ -3831,6 +3831,7 @@ M.funcs = {
file file and directory names
file_in_path file and directory names in |'path'|
filetype filetype names |'filetype'|
filetypecmd |:filetype| suboptions
function function name
help help subjects
highlight highlight groups