Higher tolerance for splitting tag line (#895)

This commit is contained in:
Rocco Mao 2024-11-11 21:22:14 +08:00 committed by GitHub
parent 4a1c46d8dc
commit 1d22809dbe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -1319,7 +1319,7 @@ function! s:ProcessFile(fname, ftype) abort
let seen[line] = 1
let parts = split(line, ';"')
let parts = split(line, ';"\t')
if len(parts) == 2 " Is a valid tag line
call s:ParseTagline(parts[0], parts[1], typeinfo, fileinfo)
endif
@ -1509,7 +1509,7 @@ function! s:ParseTagline(part1, part2, typeinfo, fileinfo) abort
" When splitting fields make sure not to create empty keys or values in
" case a value illegally contains tabs
let fields = split(a:part2, '^\t\|\t\ze\w\+:')
let fields = split(a:part2, '\t\ze\w\+:')
let fielddict = {}
if fields[0] !~# ':'
let fielddict.kind = remove(fields, 0)

View File

@ -2089,7 +2089,7 @@ tracking HEAD in the default branch rather than tagged releases.
- Periodic rollup, see `git log v3.0.0..v3.1.1`
3.1.0 (2022-11-04)
- Periodic rollup (inclomplete merge, suggest 3.1.1)
- Periodic rollup (incomplete merge, suggest 3.1.1)
3.0.0 (2021-01-21)
- Massive rollup with years of small changes, see `git log v2.7..v3.0.0`