diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index cbca07e..53ad9dd 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -217,7 +217,6 @@ function! fugitive#Init() abort call s:map('c', '', 'fnameescape(recall())', '') call s:map('n', 'y', ':call setreg(v:register, recall())', '') endif - let buffer = fugitive#buffer() if expand('%:p') =~# ':[\/][\/]' let &l:path = s:sub(&path, '^\.%(,|$)', '') endif