axieax / urlview.nvim

🔎 Neovim plugin for viewing all the URLs in a buffer
MIT License
232 stars 5 forks source link

Feature request: support options to allow user customize url patterns #46

Closed linrongbin16 closed 1 year ago

linrongbin16 commented 1 year ago

for now, I read the code, found that http/https are supported in code.

if we could add a option, and allow user to customize these url patterns, then they could add more.

for example ftp://, ssh://, git@, etc.

axieax commented 1 year ago

Hi, you can register custom search contexts to address this use case :)) Please check out this test suite as inspiration for the three example patterns. Hope it helps!