A plugin unidentified is setting the keywordprg
option to :Man
but I want it to be LSP based.
So I attempted
set keywordprg=:lua\ vim.lsp.buf.signature_help()
but it gives me the following error and I press K on a NOTE: it for some reason works with vimls but not with pyright of rust-analyzer keyword:
E5107: Error loading lua [string ":lua"]:1: '=' expected near '<eof>'
So how may I fix this error?
vim.lsp.buf.hover()
so mapped it but this would be nicer