comparison autoload/gutentags/cscope.vim @ 199:f7a417234dea

Simplify call sites for `add_progress`, fix bugs with the progress tracking. - `add_progress` makes paths absolute itself instead of the call sites. - `inprogress` debug function properly prints what's going on. - status line function shows which modules are indexing.
author Ludovic Chabant <ludovic@chabant.com>
date Thu, 27 Jul 2017 23:08:18 -0700
parents cac059bce038
children b50b6d0f82dd
comparison
equal deleted inserted replaced
198:5fb056a9eefb 199:f7a417234dea
91 \ '-p', a:proj_dir, 91 \ '-p', a:proj_dir,
92 \ '-f', a:tags_file ] 92 \ '-f', a:tags_file ]
93 let job_id = jobstart(job_cmd, job_dict) 93 let job_id = jobstart(job_cmd, job_dict)
94 endif 94 endif
95 95
96 let l:full_scopedb_file = fnamemodify(a:tags_file, ':p') 96 call gutentags#add_progress('cscope', a:tags_file)
97 call gutentags#add_progress('cscope', l:full_scopedb_file)
98 else 97 else
99 call gutentags#trace("(fake... not actually running)") 98 call gutentags#trace("(fake... not actually running)")
100 endif 99 endif
101 call gutentags#trace("") 100 call gutentags#trace("")
102 endfunction 101 endfunction