tyru / open-browser.vim

Open URI with your favorite browser from your most favorite editor
http://www.vim.org/scripts/script.php?script_id=3133
Other
509 stars 48 forks source link

error on url with + #166

Open Konfekt opened 1 year ago

Konfekt commented 1 year ago

Similar to https://github.com/tyru/open-browser.vim/issues/88, hitting <Plug>(openbrowser-smart-search) on git+https://github.com/fcrespo82/wolframalpha-cli (designating a Python package) the following error is thrown

Error detected while processing function openbrowser#_keymap_smart_search[1]..<SNR>451__OpenBrowser_keymap_smart_search[1]..<SNR>451__OpenBrowser_keymap_open[5]..<SNR>451__get_url_on_cursor[1]..<SNR>451__get_thing_on_cursor[28]..<SNR>451__detect_url_cb[1]..<SNR>451__extract_urls[17]..<SNR>466_extract_from_text[9]..<SNR>466__extract[16]..<SNR>452_new_from_seq_string[3]..<SNR>452__uri_new_sandbox[12]..function openbrowser#_keymap_smart_search[1]..<SNR>451__OpenBrowser_keymap_smart_search[1]..<SNR>451__OpenBrowser_keymap_open[5]..<SNR>451__get_url_on_cursor[1]..<SNR>451__get_thing_on_cursor[28]..<SNR>451__detect_url_cb[1]..<SNR>451__extract_urls[17]..<SNR>466_extract_from_text[9]..<SNR>466__extract[16]..<SNR>452_new_from_seq_string[3]..<SNR>452__uri_new_sandbox:
line    9:
E605: Exception not caught: vital: Web.URI: vital: Invalid module name: Web.URI.GIT+HTTPS @ function openbrowser#_keymap_smart_search[1]..<SNR>451__OpenBrowser_keymap_smart_search[1]..<SNR>451__OpenBrowser_keymap_open[5]..<SNR>451__get_url_on_cursor[1]..<SNR>451__get_thing_on_cursor[28]..<SNR>451__detect_url_cb[1]..<SNR>451__extract_urls[17]..<SNR>466_extract_from_text[9]..<SNR>466__extract[16]..<SNR>452_new_from_seq_string[3]..<SNR>452__uri_new_sandbox[2]..<SNR>452__uri_new[1]..<SNR>452__parse_uri[42]..<SNR>452__get_handler_module[5]..<SNR>450_exists, line 2 (original URI: git+https://github.com/fcrespo82/wolframalpha-cli)

Let me know if this is rather an issue of https://github.com/vim-jp/vital.vim

Konfekt commented 6 months ago

Is this reproducible?