mirror of
https://github.com/gryf/tagbar.git
synced 2025-12-17 11:30:28 +01: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user