nvim-neorocks / nvim-best-practices

Collection of DOs and DON'Ts for modern Neovim Lua plugin development
Creative Commons Zero v1.0 Universal
310 stars 7 forks source link

docs: update sub-command regex to support ranges #18

Closed wassimk closed 3 months ago

wassimk commented 3 months ago

I have a personal Neovim plugin that lets me quickly jump from Neovim into GitHub PRs and blames based on commit shas, numbers, or search queries. My first version had a bunch of root-level commands. Then I read your guide, and subcommands are easy to implement now! So I did it! Thanks for writing it. I learned a ton.

My commands use ranges, and I realize the example doesn't support them. Maybe adding them to the example would be nice, even if the Rocks command doesn't use ranges.