mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-09 03:53:47 -05:00
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:
@@ -32,7 +32,7 @@ endfunction
|
|||||||
|
|
||||||
function! gitgutter#utility#set_buffer(bufnr)
|
function! gitgutter#utility#set_buffer(bufnr)
|
||||||
let s:bufnr = a:bufnr
|
let s:bufnr = a:bufnr
|
||||||
let s:file = bufname(a:bufnr)
|
let s:file = resolve(bufname(a:bufnr))
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! gitgutter#utility#bufnr()
|
function! gitgutter#utility#bufnr()
|
||||||
|
|||||||
Reference in New Issue
Block a user