refactor(conflict): drop unnecessary @as cast in parser
This commit is contained in:
parent
98a1a4028b
commit
1108c33526
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ function M.parse(lines)
|
||||||
if line:match('^>>>>>>>') then
|
if line:match('^>>>>>>>') then
|
||||||
current.theirs_end = idx
|
current.theirs_end = idx
|
||||||
current.marker_theirs = idx
|
current.marker_theirs = idx
|
||||||
table.insert(regions, current --[[@as diffs.ConflictRegion]])
|
table.insert(regions, current)
|
||||||
current = nil
|
current = nil
|
||||||
state = 'idle'
|
state = 'idle'
|
||||||
elseif line:match('^<<<<<<<') then
|
elseif line:match('^<<<<<<<') then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue