nixvim icon indicating copy to clipboard operation
nixvim copied to clipboard

plugins/telescope: refactor

Open GaetanLepage opened this issue 1 year ago • 2 comments

Refactoring of the plugins.telescope module:

  • Switch to mkNeovimPlugin
  • Better handling of extensions: Adopt a similar approach as in neotest: Add a helper function to create the submodule for each extension. This reduces the amount of boilerplate code.
  • Fix wrong options
  • Add tests

GaetanLepage avatar Mar 25 '24 09:03 GaetanLepage

Please describe in more details in a message what is a "better handling of extensions" and why would it mandate a 1000+ lines refactor

traxys avatar Mar 25 '24 10:03 traxys

Please describe in more details in a message what is a "better handling of extensions" and why would it mandate a 1000+ lines refactor

Yes, indeed ! Actually the enormous diff is caused by git not handling the file renames properly and counted them as deletion-creation...

GaetanLepage avatar Mar 25 '24 10:03 GaetanLepage