We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9346c38 commit d418de0Copy full SHA for d418de0
autoload/codefmt/yapf.vim
@@ -49,7 +49,7 @@ function! codefmt#yapf#GetFormatter() abort
49
let l:input = join(l:lines, "\n")
50
51
let l:result = maktaba#syscall#Create(l:cmd).WithStdin(l:input).Call(0)
52
- if v:shell_error == 1 " Indicates an error with parsing
+ if v:shell_error
53
call maktaba#error#Shout('Error formatting file: %s', l:result.stderr)
54
return
55
endif
0 commit comments