codicocodes / dotfyle

Find the best Neovim plugins
https://dotfyle.com
MIT License
763 stars 32 forks source link

leaderkey not found #100

Open Mte90 opened 10 months ago

Mte90 commented 10 months ago

So I don't define the leader key and I use the default one https://github.com/Mte90/dotfiles/blob/master/.config/nvim/lua/mappings.lua

Maybe just report that information in case is not found?

codicocodes commented 10 months ago

Hey! Thanks for making the issue. It's a good idea, but I'm concerned that it would lead to a lot of false positives. I.E. when Dotfyle is not able to detect a leader key configuration, it will incorrectly assume the default.

Dotfyle relies heavily on heuristics, and it's quite feasible that a lot of matches will not be identified correctly even when they do set a leaderkey somewhere.

However, there is a plan to implement another way to share data with dotfyle without any dataloss using https://github.com/creativenull/dotfyle-metadata.nvim but it's not implemented on the Dotyle side yet.

Mte90 commented 10 months ago

maybe instead to write "unknown" could be "unknown/default ("\")"