I'm trying to set plugin to use branch name based urls but I can't. After installing it and configuring g:gh_open_command plugin uses hash based urls. When I try to unset unlet g:gh_use_canonical (vim says it's not set) or try to set it to let g:gh_use_canonical = 0 it still uses hash based urls.
I'm trying to set plugin to use branch name based urls but I can't. After installing it and configuring
g:gh_open_command
plugin uses hash based urls. When I try to unsetunlet g:gh_use_canonical
(vim says it's not set) or try to set it tolet g:gh_use_canonical = 0
it still uses hash based urls.I think the issue is that you set it to
1
by default https://github.com/ruanyl/vim-gh-line/blob/master/plugin/vim-gh-line.vim#L39-L41and then check if it exists but not it's actual value https://github.com/ruanyl/vim-gh-line/blob/master/plugin/vim-gh-line.vim#L124-L130
which I think should be
or something along those lines.