Avoid problems when the message contains comas
This commit is contained in:
parent
dcebdd54f3
commit
d5e0426a77
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user