clang.kak: Use echo instead of printf %s as the latter has problems with newlines
This commit is contained in:
parent
032219b119
commit
1c418be498
|
@ -141,7 +141,7 @@ def clang-disable-diagnostics -docstring "Disable automatic diagnostics of the c
|
||||||
}
|
}
|
||||||
|
|
||||||
def clang-diagnostics-next -docstring "Jump to the next line that contains an error" %{ %sh{
|
def clang-diagnostics-next -docstring "Jump to the next line that contains an error" %{ %sh{
|
||||||
printf %s "${kak_opt_clang_errors}" | (
|
echo "${kak_opt_clang_errors}" | (
|
||||||
line=-1
|
line=-1
|
||||||
first_line=-1
|
first_line=-1
|
||||||
while read line_content; do
|
while read line_content; do
|
||||||
|
|
Loading…
Reference in New Issue
Block a user