open-browser.vim
open-browser.vim copied to clipboard
URL detection
regarding URL detection, I tested with this it doesn't work: image::https://user-images.githubusercontent.com/2038044/31581431-fdbc2ea2-b139-11e7-8f59-88843ab12cb7.png[]
I have to manually break it like this and it works: image:: https://user-images.githubusercontent.com/2038044/31581431-fdbc2ea2-b139-11e7-8f59-88843ab12cb7.png[]
according to the document it should work:
URL DETECTION openbrowser-url-detection {{{
- If the character under cursor is a WORD and is a URL, return it.
1.1. if
expand('<cWORD>')is an URL, return it. - If the character under cursor is not a WORD,
2.1. Go to left WORD, and if
expand('<cWORD>')is an URL, return it. 2.2. Go to right WORD, and ifexpand('<cWORD>')is an URL, return it.
can this be fixed?