Closed isak102 closed 5 months ago
As far as I can tell, the only way to interact with this plugin is by the gx keymap. So this plugin really doesn't need to be loaded before a user presses gx. In the README however, lazy loading on BufEnter is recommended: https://github.com/chrishrb/gx.nvim/blob/38d776a0b35b9daee5020bf3336564571dc785af/README.md?plain=1#L32C4-L32C5
gx
BufEnter
It would be better to replace this line with
keys = { "gx" }
As far as I can tell, the only way to interact with this plugin is by the
gx
keymap. So this plugin really doesn't need to be loaded before a user pressesgx
. In the README however, lazy loading onBufEnter
is recommended: https://github.com/chrishrb/gx.nvim/blob/38d776a0b35b9daee5020bf3336564571dc785af/README.md?plain=1#L32C4-L32C5It would be better to replace this line with