Skip to content

Conversation

@aymenhafeez
Copy link

Description

PR adds optional integration with telescope.nvim to fuzzy find over the Python API documentation files.

Added

lua/pydoc-nvim/telescope.lua: contains telescope pickers
lua/telescope/_extensions/pydoc.lua: telescope extension registration

Modified

lua/pydoc-nvim.lua: added pcall to the extension if telescope is installed
README.md: added documentation for telescope commands available

Feautures added

:Telescope pydoc: command to fuzzy find over the documentation files
:Telescope pydoc grep: command to grep through the documentation files

Testing

Tested:

  • Neovim 0.10.0+
  • All Python version docs provided with the plugin
  • With and without telescope.nvim installed

Checklist:

[x] Documentation updated
[x] Telescope as an optional dependency
[x] Works with and without telescope.nvim installed

…d over documentation files and :Telescope pydoc grep to grep throught the documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant