lazy.nvim
lazy.nvim copied to clipboard
bug: lazy.util.open hardcodes xdg-open
Did you check docs and existing issues?
- [X] I have read all the lazy docs
- [X] I have searched the existing issues of lazy
- [X] I have searched the exsiting issues of the plugin I have a problem with
Neovim version (nvim -v)
0.8.1
Operating system/version
Linux
Describe the bug
lazy.util.open hard codes xdg-open, so K fails if xdg-open isn't present.
Naively, I'd have expected lazy to honour g:netrw_browsex_viewer, and was surprised to see that it doesn't. I checked the code to learn how to configure it, and saw that xdg-open was hardcoded.
Steps To Reproduce
- Uninstall xdg-open
- Press
Kanywhere in a Lazy window.
Expected Behavior
I'd have expected lazy to honour netrw or check g:netrw_browsex_viewer directly, or to provide an alternative option to change the command to open URLs.
Repro
No response