dotfyle icon indicating copy to clipboard operation
dotfyle copied to clipboard

leaderkey not found

Open Mte90 opened this issue 1 year ago • 2 comments

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?

Mte90 avatar Jan 15 '24 11:01 Mte90

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.

codicocodes avatar Jan 15 '24 23:01 codicocodes

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

Mte90 avatar Jan 16 '24 09:01 Mte90