diff autoload/gutentags/cscope.vim @ 168:e59321cbaff7

Use scope-local functions This avoids overriding local cwd settings, as vim allows `lcd` for window-local working directory and neovim supports additionally `tcd` for tab-local working directory.
author Henry Kupty <hkupty@gmail.com>
date Mon, 10 Oct 2016 19:04:05 -0300
parents 286e5b3095d0
children 411f3fa915f5
line wrap: on
line diff
--- a/autoload/gutentags/cscope.vim	Thu Sep 22 21:06:58 2016 -0700
+++ b/autoload/gutentags/cscope.vim	Mon Oct 10 19:04:05 2016 -0300
@@ -64,7 +64,7 @@
     let l:cmd .= gutentags#get_execute_cmd_suffix()
 
     call gutentags#trace("Running: " . l:cmd)
-    call gutentags#trace("In:      " . getcwd())
+    call gutentags#trace("In:      " . gutentags#pwd())
     if !g:gutentags_fake
         if !(has('nvim') && exists('*jobwait'))
             if !g:gutentags_trace