tyru/open-browser.vim

error on url with - and :

Konfekt opened this issue · 1 comments

When calling <Plug>(openbrowser-smart-search) on

quickfix-reflector.vim

then

Error detected while processing function openbrowser#_keymapping_smart_search[1]..openbrowser#_keymapping_open[4]..<SNR>334_get_url_on_cursor[1]..<SNR>334_get_thing_on_cursor[24]..<SNR>334_detect_url_cb[1]..<SNR>334_extract_urls[23]..<SNR>340_new_from_seq_string[3]..<SNR>340__uri_new_sandbox:
line    9:
E605: Exception not caught: vital: Web.URI: vital: Invalid module name: Web.URI.QUICKFIX-REFLECTOR.VIM @ function openbrowser#_keymapping_smart_search[1]..openbrowser#_keymapping_open[4]..<SNR>334_get_url_on_cursor[1]..<SNR>334_get_thing_on_cursor[24]..<SNR>334_detect_url_cb[1]..<SNR>334_extract_urls[23]..<SNR>340_new_from_seq_string[3]..<SNR>340__uri_new_sandbox[2]..<SNR>340__uri_new[1]..<SNR>340__parse_uri[42]..<SNR>340__get_handler_module[5]..<SNR>335_exists, line 2 (original URI: quickfix-reflector.vim:)
Error detected while processing function openbrowser#_keymapping_smart_search[1]..openbrowser#_keymapping_open[4]..<SNR>334_get_url_on_cursor[1]..<SNR>334_get_thing_on_cursor[24]..<SNR>334_detect_url_cb[1]..<SNR>334_extract_urls:
line   23:
E170: Missing :endwhile
Error detected while processing function openbrowser#_keymapping_smart_search[1]..openbrowser#_keymapping_open:
line    4:
E171: Missing :endif
Error detected while processing function openbrowser#_keymapping_smart_search:
line    1:
E171: Missing :endif
Err
E171: Missing :endif
tyru commented

Thanks, this problem seems fixed now.