Mercurial > vim-gutentags
comparison autoload/gutentags.vim @ 46:c0f56e4d52bd
Make a bunch of advanced commands opt-in only.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Thu, 09 Apr 2015 21:02:25 -0700 |
parents | 99328cb71e75 |
children | 7b419abf7fba |
comparison
equal
deleted
inserted
replaced
45:64de69ca7195 | 46:c0f56e4d52bd |
---|---|
275 if a:0 && a:1 | 275 if a:0 && a:1 |
276 let g:gutentags_trace = l:trace_backup | 276 let g:gutentags_trace = l:trace_backup |
277 endif | 277 endif |
278 endfunction | 278 endfunction |
279 | 279 |
280 function! gutentags#delete_lock_files() abort | |
281 if exists('b:gutentags_files') | |
282 for tagfile in values(b:gutentags_files) | |
283 silent call delete(tagfile.'.lock') | |
284 endfor | |
285 endif | |
286 endfunction | |
287 | |
280 function! gutentags#toggletrace(...) | 288 function! gutentags#toggletrace(...) |
281 let g:gutentags_trace = !g:gutentags_trace | 289 let g:gutentags_trace = !g:gutentags_trace |
282 if a:0 > 0 | 290 if a:0 > 0 |
283 let g:gutentags_trace = a:1 | 291 let g:gutentags_trace = a:1 |
284 endif | 292 endif |