Better filename resolution.

This commit is contained in:
Andy Stewart
2013-03-25 11:35:53 +01:00
parent 948a0fb977
commit 60ce94c03b

View File

@@ -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()