Mercurial > vim-gutentags
diff 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 |
line wrap: on
line diff
--- a/autoload/gutentags/cscope.vim Thu Jul 27 22:38:02 2017 -0700 +++ b/autoload/gutentags/cscope.vim Thu Jul 27 23:08:18 2017 -0700 @@ -93,8 +93,7 @@ let job_id = jobstart(job_cmd, job_dict) endif - let l:full_scopedb_file = fnamemodify(a:tags_file, ':p') - call gutentags#add_progress('cscope', l:full_scopedb_file) + call gutentags#add_progress('cscope', a:tags_file) else call gutentags#trace("(fake... not actually running)") endif