Support symlinked files.

Adds support for when a symlink file <target> points to another file
<source>, where <srouce> is a file under Git version control.

Thanks to @Z1MM32M4N for work on this (see #209).
This commit is contained in:
Andy Stewart
2014-11-14 14:16:40 +01:00
parent 4ca2de65b7
commit a114088f22

View File

@@ -32,7 +32,7 @@ endfunction
function! gitgutter#utility#set_buffer(bufnr)
let s:bufnr = a:bufnr
let s:file = bufname(a:bufnr)
let s:file = resolve(bufname(a:bufnr))
endfunction
function! gitgutter#utility#bufnr()