[vim/vim] runtime(ftplugin): don't create new user commands for keywordprg (PR #18602)

4 views
Skip to first unread message

Phạm Bình An

unread,
Oct 19, 2025, 8:14:20 AM (2 days ago) Oct 19
to vim/vim, Subscribed

Problems

  • Creating a new user command for 'keywordprg' makes it visible to users in 'wildmenu', even though that command is not intended to be used directly by users.

Solution:

  • Use let &l:keywordprg = ':call '..expand('<SID>')..'KeywordFunc()"' pattern instead

You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/18602

Commit Summary

  • de227d4 runtime(ftplugin): don't create new user commands for keywordprg

File Changes

(3 files)

Patch Links:


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18602@github.com>

Reply all
Reply to author
Forward
0 new messages