ci: format
This commit is contained in:
parent
a6433da5f4
commit
af3e186ecb
3 changed files with 29 additions and 10 deletions
|
|
@ -241,7 +241,10 @@ function M.parse_buffer(bufnr)
|
|||
or logical:match('^renamed%s+(.+)$')
|
||||
or logical:match('^copied%s+(.+)$')
|
||||
local bare_file = not hunk_start and logical:match('^([^%s]+%.[^%s]+)$')
|
||||
local filename = logical:match('^[MADRCU%?!]%s+(.+)$') or diff_git_file or neogit_file or bare_file
|
||||
local filename = logical:match('^[MADRCU%?!]%s+(.+)$')
|
||||
or diff_git_file
|
||||
or neogit_file
|
||||
or bare_file
|
||||
if filename then
|
||||
flush_hunk()
|
||||
current_filename = filename
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue