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

leaderkey not found #100

Open
Mte90 opened this issue Jan 15, 2024 · 2 comments
Open

leaderkey not found #100

Mte90 opened this issue Jan 15, 2024 · 2 comments

Comments

@Mte90
Copy link

Mte90 commented Jan 15, 2024

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
Copy link
Owner

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
Copy link
Author

Mte90 commented Jan 16, 2024

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

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

No branches or pull requests

2 participants