comparison autoload/gutentags/ctags.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 5fb056a9eefb
children b50b6d0f82dd
comparison
equal deleted inserted replaced
198:5fb056a9eefb 199:f7a417234dea
177 else 177 else
178 execute l:cmd 178 execute l:cmd
179 endif 179 endif
180 180
181 " Flag this tags file as being in progress 181 " Flag this tags file as being in progress
182 let l:full_tags_file = fnamemodify(a:tags_file, ':p') 182 call gutentags#add_progress('ctags', a:tags_file)
183 call gutentags#add_progress('ctags', l:full_tags_file)
184 else 183 else
185 call gutentags#trace("(fake... not actually running)") 184 call gutentags#trace("(fake... not actually running)")
186 endif 185 endif
187 call gutentags#trace("") 186 call gutentags#trace("")
188 endfunction 187 endfunction