mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 11:33:48 -05:00
Use warn function instead of plain echo.
This commit is contained in:
@@ -43,7 +43,7 @@ function! gitgutter#hunk#next_hunk(count)
|
||||
endif
|
||||
endif
|
||||
endfor
|
||||
echo 'No more hunks'
|
||||
call gitgutter#utility#warn('No more hunks')
|
||||
endif
|
||||
endfunction
|
||||
|
||||
@@ -61,7 +61,7 @@ function! gitgutter#hunk#prev_hunk(count)
|
||||
endif
|
||||
endif
|
||||
endfor
|
||||
echo 'No previous hunks'
|
||||
call gitgutter#utility#warn('No previous hunks')
|
||||
endif
|
||||
endfunction
|
||||
|
||||
|
||||
Reference in New Issue
Block a user