# HG changeset patch # User Ludovic Chabant # Date 1430367856 25200 # Node ID 6c98089d9ffa3c7d6b2df8adf17f315e5ca48cf7 # Parent 50d2a7cbf7c8743e022377a87326d2e1d69f7a0e# Parent fca5dc8c802212226c0cba07cb8caab923d46b84 Merge pull request #22 from dnhgff/autochdir-workflow call gutentags#get_project_root with absolute path to current file diff -r 50d2a7cbf7c8 -r 6c98089d9ffa autoload/gutentags.vim --- a/autoload/gutentags.vim Sat Apr 11 09:34:34 2015 -0700 +++ b/autoload/gutentags.vim Wed Apr 29 21:24:16 2015 -0700 @@ -98,7 +98,7 @@ " Try and find what tags file we should manage. call gutentags#trace("Scanning buffer '" . bufname('%') . "' for gutentags setup...") try - let b:gutentags_root = gutentags#get_project_root(expand('%:h')) + let b:gutentags_root = gutentags#get_project_root(expand('%:p:h', 1)) if filereadable(b:gutentags_root . '/.notags') call gutentags#trace("'notags' file found... no gutentags support.") return