diff --git a/plugin/gitgutter.vim b/plugin/gitgutter.vim index e7522a2a..90022949 100644 --- a/plugin/gitgutter.vim +++ b/plugin/gitgutter.vim @@ -398,7 +398,7 @@ endfunction function! GitGutterAll() let buffer_ids = g:gitgutter_on_bufenter ? s:visible_buffers() : s:buffers() for buffer_id in buffer_ids - call GitGutter(fnamemodify(bufname(buffer_id), ':p')) + call GitGutter(expand('#' . buffer_id . ':p')) endfor endfunction command GitGutterAll call GitGutterAll()