Commit c6b32e52 authored by Marco Kellershoff's avatar Marco Kellershoff 🤸

Rename `g:loaded_OpenUrl_DarkInvestigate` to `g:OpenUrl_DarkInvestigate`

parent b23db5dc
......@@ -15,6 +15,6 @@ Here's a quick example:
nnoremap <leader>q :call OpenUrl#UnderCursor()<CR>
" Use keith/investigate.vim as a fallback, if it's not an URL
let g:loaded_OpenUrl_DarkInvestigate = 1
let g:OpenUrl_DarkInvestigate = 1
```
......@@ -16,7 +16,7 @@ endfunction
function! OpenUrl#PassToDarkInvestigate()
let s:word = OpenUrl#GetWordUnderCursor()
let s:url = OpenUrl#GetUrl(s:word)
if exists('g:loaded_OpenUrl_DarkInvestigate')
if exists('g:OpenUrl_DarkInvestigate')
call investigate#Investigate()
else
echo 'No valid URL found: '.s:url
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment