rmagatti / goto-preview

A small Neovim plugin for previewing definitions using floating windows.
Apache License 2.0
835 stars 27 forks source link

[FEATURE] Allow not to automatically initialize telescope #81

Closed ghost closed 1 year ago

ghost commented 1 year ago

Is your feature request related to a problem? Please describe.

Hello, my telescope is set to be lazily loaded based on keys and commands. But it seems that this plugin would automatically initialize telescope if it exists. That would add another extra 30ms for my config right now.

if has_telescope then
  init_telescope()
end

Describe the solution you'd like

Add an option for decoupling telescope would be awesome. If the user set the option, then skip checking if telescope exists.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

ghost commented 1 year ago

👍👍 Thanks