Merge remote-tracking branch 'kurkale6ka/sh_lint_2'

This commit is contained in:
Maxime Coste 2016-10-23 18:30:23 +01:00
commit d54640f41d

View File

@ -81,7 +81,7 @@ def lint-next -docstring "Jump to the next line that contains an error" %{ %sh{
while read -r line while read -r line
do do
# get line,column pair # get line,column pair
coords="${line%,*}" coords=$(printf %s "$line" | cut -d, -f1,2)
candidate="${coords%,*}" candidate="${coords%,*}"
if [ "$candidate" -gt "$kak_cursor_line" ] if [ "$candidate" -gt "$kak_cursor_line" ]
then then