diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-02-04 07:13:42 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2026-02-04 07:14:12 +0800 |
| commit | 8f1667445e6c56a954c597b2e1177cc2bd6b1373 (patch) | |
| tree | 8ea18af733899b9f16364dc9e5435d801b575b56 /runtime/lua/vim/_extui/shared.lua | |
| parent | f3e2e718ec66e064b494b67ad90eadba69e00717 (diff) | |
| download | rneovim-8f1667445e6c56a954c597b2e1177cc2bd6b1373.tar.gz rneovim-8f1667445e6c56a954c597b2e1177cc2bd6b1373.tar.bz2 rneovim-8f1667445e6c56a954c597b2e1177cc2bd6b1373.zip | |
vim-patch:ac5af8e: runtime(vim): Fix for :VimKeywordPrg when syntax does not match
When using vim9-syntax plugin, :VimKeywordPrg does not lookup functions
correctly, as it relies solely on syntax names to find the help topic.
The syntax keyword used for builtin function is vi9FuncNameBuiltin in
vim9-syntax plugin, not vimFuncName expected by :VimKeywordPrg, so the
fallback rules apply, and there is no fallback rule for function calls.
Fix by just checking if the first char after topic is '(', and if so
assume help topic is a function.
closes: vim/vim#19320
https://github.com/vim/vim/commit/ac5af8ecd3025c2739ab79f6b8529ea0415c1380
Co-authored-by: Mark Woods <mwoods.online.ie@gmail.com>
Diffstat (limited to 'runtime/lua/vim/_extui/shared.lua')
0 files changed, 0 insertions, 0 deletions