comparison 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
comparison
equal deleted inserted replaced
140:95092f4fbc4b 168:e59321cbaff7
62 endif 62 endif
63 let l:cmd .= ' ' 63 let l:cmd .= ' '
64 let l:cmd .= gutentags#get_execute_cmd_suffix() 64 let l:cmd .= gutentags#get_execute_cmd_suffix()
65 65
66 call gutentags#trace("Running: " . l:cmd) 66 call gutentags#trace("Running: " . l:cmd)
67 call gutentags#trace("In: " . getcwd()) 67 call gutentags#trace("In: " . gutentags#pwd())
68 if !g:gutentags_fake 68 if !g:gutentags_fake
69 if !(has('nvim') && exists('*jobwait')) 69 if !(has('nvim') && exists('*jobwait'))
70 if !g:gutentags_trace 70 if !g:gutentags_trace
71 silent execute l:cmd 71 silent execute l:cmd
72 else 72 else