Skip to content

Conversation

saygo-png
Copy link
Contributor

@saygo-png saygo-png commented Oct 9, 2025

Not deprecating "keymapsSilent" as it was a noop. I presume it was meant to be used in the mappings option but never was. Not fixing it because I feel that if the user wants to customize the binds like that, they should just be using our toplevel keymaps option or using extraConfigLua*.

defaults: https://github.com/hasansujon786/nvim-navbuddy/blob/18802efb91bcfafc54aed513ef97da1dfeae4059/lua/nvim-navbuddy/init.lua#L137-L273

I removed the fuzzy_finder bind from the defaults test as it throws without telescope and with the integration set to nil. (I'm assuming there is some logic that removes that bind if telescope/snacks isn't found but i can't find it)

One major issue is that the mappings option is merged with settings using // so it does not use the nixpkgs merging system. Not sure how I could add that in though as this value gets transpiled to Lua, so i can't just use lib.mkMerge. This is problematic as keymaps can both be set using the plugin's toplevel mappings option and the settings one.

@saygo-png saygo-png force-pushed the navbuddy-mkNeovimPlugin branch 2 times, most recently from 0c706fc to 3b340b3 Compare October 10, 2025 17:55
@saygo-png saygo-png marked this pull request as ready for review October 10, 2025 18:00
Copy link
Member

@GaetanLepage GaetanLepage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@MattSturgeon are you fine with me getting rid of the top-level actions in a follow-up PR?

@saygo-png
Copy link
Contributor Author

I'll just get rid of mappings and the action binding in this PR.

@saygo-png saygo-png marked this pull request as draft October 11, 2025 11:44
@saygo-png saygo-png force-pushed the navbuddy-mkNeovimPlugin branch from 3b340b3 to 3a666f5 Compare October 11, 2025 12:54
@saygo-png saygo-png force-pushed the navbuddy-mkNeovimPlugin branch from 3a666f5 to ed62f1e Compare October 11, 2025 12:57
@saygo-png saygo-png marked this pull request as ready for review October 11, 2025 13:03
Copy link
Member

@GaetanLepage GaetanLepage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks!

@GaetanLepage GaetanLepage added this pull request to the merge queue Oct 11, 2025
Merged via the queue into nix-community:main with commit 92793f8 Oct 11, 2025
5 checks passed
@saygo-png saygo-png deleted the navbuddy-mkNeovimPlugin branch October 12, 2025 11:01
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

Successfully merging this pull request may close these issues.

3 participants