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

utility/telescope: custom extensions API #559

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

NotAShelf
Copy link
Owner

@NotAShelf NotAShelf commented Jan 14, 2025

Implements a basic telescope.extensions option to take a list of additional extensions with the following schema:

[
  {
  	name = "name of the extension";
  	packages = [ <package & possible dependencies>];
    setup = {
      <extensionName> = { ... }; 
    };
  }
]

Name is used to construct the load_extension line, packages are added to vim.startPlugins verbatim and all setup attrs are merged into one to be passed to telescope's own setup table.

Fixes #542.

@NotAShelf NotAShelf linked an issue Jan 14, 2025 that may be closed by this pull request
1 task
github-actions bot pushed a commit that referenced this pull request Jan 14, 2025
Copy link

github-actions bot commented Jan 14, 2025

🚀 Live preview deployed from 627b310

View it here:

Debug Information

Triggered by: NotAShelf

HEAD at: telescope-ext

Reruns: 66

@NotAShelf NotAShelf marked this pull request as ready for review January 14, 2025 14:31
github-actions bot pushed a commit that referenced this pull request Jan 14, 2025
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.

Add telescope-fzf-native
1 participant