Use warn function instead of plain echo.

This commit is contained in:
Andy Stewart
2015-03-10 12:10:17 +01:00
parent 275d598196
commit 1be63d780c

View File

@@ -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