Use function! to allow for reloading

Fixes the following when reloading the file:

> E122: Function <SNR>188_ProcessTag already exists, add ! to replace it
This commit is contained in:
Daniel Hahler 2018-02-22 21:55:13 +01:00
parent 387bbadda9
commit 42d2750c9a

View File

@ -1255,7 +1255,7 @@ function! s:ParseTagline(part1, part2, typeinfo, fileinfo) abort
endfunction
" s:ProcessTag() {{{2
function s:ProcessTag(name, filename, pattern, fields, is_split, typeinfo, fileinfo) abort
function! s:ProcessTag(name, filename, pattern, fields, is_split, typeinfo, fileinfo) abort
if a:is_split
let taginfo = tagbar#prototypes#splittag#new(a:name)
else