rmagatti / gx-extended.nvim

Extending the use of Neovim's `gx`
MIT License
31 stars 3 forks source link

Bug: `%` breaks URLs #8

Closed jonasw234 closed 1 year ago

jonasw234 commented 1 year ago

Awesome plugin, thanks so much :)

Bug description: A percent character (%) breaks URL recognition with this plugin.

Environment: Windows 10, Neovim 0.9.1, running in nvim-qt 0.2.17.0, plugin installed with lazy.nvim and up to date, using the configuration suggested in the readme (using netrw open handler).

Expected behavior: For example if you place your cursor on https://www.duckduckgo.com/?q=site%3Agithub.com+gx-extended&hps=1&ia=web and press gx, without this plugin installed it opens the correct URL in the browser.

Actual behavior: With this plugin installed instead it opens https://www.duckduckgo.com/?q=site and if the www. is missing, it doesn’t open anything.