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

Problem: Enforce and check if lua functions of plugins are local (and global ones documented) #5

Closed
matu3ba opened this issue Aug 17, 2021 · 1 comment

Comments

@matu3ba
Copy link

matu3ba commented Aug 17, 2021

This also is a workaround of not forcing plugin authors to provide commands for faster configuration of plugins:
https://www.reddit.com/r/neovim/comments/p56fwb/psa_plugin_authors_create_vim_commands_for_your/

The idea is to

  1. get the list of loaded files
  2. use treesitter queries/lua tables to get local functions with scope of file/global functions
  3. provide the local/global function list per file

Preview inside treesitter/fzf or another options and dumb it inside a buffer for copying by the user.

Are there solutions to this use case already?

@mfussenegger
Copy link
Collaborator

See #2 (comment)

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

No branches or pull requests

2 participants