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
endif endif
endfor endfor
echo 'No more hunks' call gitgutter#utility#warn('No more hunks')
endif endif
endfunction endfunction
@@ -61,7 +61,7 @@ function! gitgutter#hunk#prev_hunk(count)
endif endif
endif endif
endfor endfor
echo 'No previous hunks' call gitgutter#utility#warn('No previous hunks')
endif endif
endfunction endfunction