mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-26 13:02:01 +03:00
Fix potential bug in clang.kak
This commit is contained in:
parent
079cfbc6ac
commit
397e5ef0e1
@ -163,7 +163,7 @@ def clang-diagnostics-next -docstring "Jump to the next line that contains an er
|
||||
printf "%s\n" "${kak_opt_clang_errors}" | sed -e 's/\([^\\]\):/\1\n/g' | tail -n +2 | (
|
||||
while IFS='|' read candidate rest; do
|
||||
first_line=${first_line-$candidate}
|
||||
if [ $candidate -gt $kak_cursor_line ]; then
|
||||
if [ "$candidate" -gt $kak_cursor_line ]; then
|
||||
line=$candidate
|
||||
break
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user