Browse Source

Fix

master
10sr 5 years ago
parent
commit
bca0ff8b66
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      emacs.el

+ 2
- 1
emacs.el View File

@@ -2066,8 +2066,8 @@ initializing."
"Flycheck parser to check if reformat is required."
(with-temp-buffer
(insert output)
(goto-char (point-min))
(save-match-data
(goto-char (point-min))
(when (re-search-forward "^would reformat .*$" nil t)
(list (flycheck-error-new-at
(point-min)
@@ -2077,6 +2077,7 @@ initializing."
"Black: would be reformatted"
:buffer buffer
:checker checker)))
(goto-char (point-min))
(when (re-search-forward "^error: cannot format .*$" nil t)
(list (flycheck-error-new-at
(point-min)


Loading…
Cancel
Save