Closed argshook closed 4 years ago
Hello, thanks for a great plugin!
First try i had an issue, plugin didn't seem to work for me.
Looking at source i saw this line:
https://github.com/gera2ld/coc-markmap/blob/master/src/index.ts#L45
if (open) nvim.command(`silent !open ${filename}`);
this is an assumption that environment has open executable. In my case it doesn't, and i saw no output.
open
ideally it should first check if open is found and else, perhaps fallback to $BROWSER?
$BROWSER
Hello, thanks for a great plugin!
First try i had an issue, plugin didn't seem to work for me.
Looking at source i saw this line:
https://github.com/gera2ld/coc-markmap/blob/master/src/index.ts#L45
this is an assumption that environment has
open
executable. In my case it doesn't, and i saw no output.ideally it should first check if
open
is found and else, perhaps fallback to$BROWSER
?