Browse Source

Show black error on end of buffer

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

+ 2
- 2
emacs.el View File

@@ -2071,7 +2071,7 @@ initializing."
(goto-char (point-min))
(when (re-search-forward "^would reformat .*$" nil t)
(setq result (list (flycheck-error-new-at
(point-min)
(point-max)
nil
'error
;;(format "Black: %s" (match-string 0))
@@ -2081,7 +2081,7 @@ initializing."
(goto-char (point-min))
(when (re-search-forward "^error: cannot format .*$" nil t)
(setq reslt (list (flycheck-error-new-at
(point-min)
(point-max)
nil
'error
;; Fix not to include absolute file path


Loading…
Cancel
Save