mirror of
https://github.com/preservim/tagbar.git
synced 2025-02-12 22:47:15 +08:00
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:
parent
387bbadda9
commit
42d2750c9a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user