From 71d5c3598e0d14af3fbaf2530c061c306db5a962 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sat, 3 Apr 2021 19:55:34 -0400 Subject: [PATCH] Switch from FugitiveConfig() to FugitiveConfigGet() --- autoload/rhubarb.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/autoload/rhubarb.vim b/autoload/rhubarb.vim index 2c01d12..26f52bc 100644 --- a/autoload/rhubarb.vim +++ b/autoload/rhubarb.vim @@ -65,8 +65,8 @@ endfunction function! s:credentials() abort if !exists('g:github_user') let g:github_user = $GITHUB_USER - if g:github_user ==# '' && exists('*FugitiveConfig') - let g:github_user = FugitiveConfig('github.user', '') + if g:github_user ==# '' && exists('*FugitiveConfigGet') + let g:github_user = FugitiveConfigGet('github.user', '') endif if g:github_user ==# '' let g:github_user = $LOGNAME @@ -74,8 +74,8 @@ function! s:credentials() abort endif if !exists('g:github_password') let g:github_password = $GITHUB_PASSWORD - if g:github_password ==# '' && exists('*FugitiveConfig') - let g:github_password = FugitiveConfig('github.password', '') + if g:github_password ==# '' && exists('*FugitiveConfigGet') + let g:github_password = FugitiveConfigGet('github.password', '') endif endif return g:github_user.':'.g:github_password