Skip to content

Conversation

@zenbro
Copy link
Contributor

@zenbro zenbro commented Nov 18, 2025

First of all, thank you for such a great and clean plugin!

I noticed that all the mapping examples in the "GutterMarks Actions" section within the README contain an error: vim.keymap.set expects the mode ("n", "v", etc.) as the first argument. If these mappings are copied/pasted into the config, it will cause errors on nvim startup.
I've fixed this.

@NickvanDyke
Copy link

May be worth adding { desc = ... } as well 😀 optionally replacing the preceding comments

@zenbro zenbro force-pushed the fix_mapping_in_readme branch from 45f8482 to 9226380 Compare November 20, 2025 19:50
@zenbro
Copy link
Contributor Author

zenbro commented Nov 20, 2025

Sure! { desc = ... } will be very handy. I've updated the commit and removed the preceding comments.

@dimtion
Copy link
Owner

dimtion commented Nov 23, 2025

Thank you for the fix, indeed I use lazy.nvim so I did not check that the example mappings in the README were without typos in native nvim.

@dimtion dimtion merged commit 310ba98 into dimtion:main Nov 23, 2025
7 checks passed
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