diff 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
line wrap: on
line diff
--- a/autoload/gutentags.vim	Mon Mar 16 07:04:03 2015 -0700
+++ b/autoload/gutentags.vim	Thu Apr 09 21:02:25 2015 -0700
@@ -277,6 +277,14 @@
     endif
 endfunction
 
+function! gutentags#delete_lock_files() abort
+    if exists('b:gutentags_files')
+        for tagfile in values(b:gutentags_files)
+            silent call delete(tagfile.'.lock')
+        endfor
+    endif
+endfunction
+
 function! gutentags#toggletrace(...)
     let g:gutentags_trace = !g:gutentags_trace
     if a:0 > 0