mirror of
https://github.com/neovim/neovim.git
synced 2026-02-21 18:01:17 +10:00
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
ac5af8ecd3
Co-authored-by: Mark Woods <mwoods.online.ie@gmail.com>
6.9 KiB
6.9 KiB