Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: make K work by default for nvim api functions in lua buffers #22368

Open
glacambre opened this issue Feb 22, 2023 · 0 comments
Open

docs: make K work by default for nvim api functions in lua buffers #22368

glacambre opened this issue Feb 22, 2023 · 0 comments
Labels
defaults issues or PRs involving changing the defaults enhancement feature request filetype filetype detection, filetype.lua plugin plugins and Vim "pack" runtime funtime

Comments

@glacambre
Copy link
Member

glacambre commented Feb 22, 2023

Problem

Using K on api functions in lua and vimdoc buffers does not bring up the documentation for said buffers.

Expected behavior

K should work by default (i.e. keywordprg should be appropriately set), the way it does for e.g. shell. Nlua.nvim has a potentially good starting point:

https://github.com/tjdevries/nlua.nvim/blob/master/lua/nlua/init.lua#L7

@glacambre glacambre added the enhancement feature request label Feb 22, 2023
@glacambre glacambre changed the title docs: make K work by default docs: make K work by default for nvim api functions in lua buffers Feb 22, 2023
@justinmk justinmk added plugin plugins and Vim "pack" runtime funtime filetype filetype detection, filetype.lua defaults issues or PRs involving changing the defaults labels Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defaults issues or PRs involving changing the defaults enhancement feature request filetype filetype detection, filetype.lua plugin plugins and Vim "pack" runtime funtime
Projects
None yet
Development

No branches or pull requests

2 participants