ソースを参照

Show black error on end of buffer

master
10sr 5年前
コミット
f495ab775e
署名者: 10sr GPGキーID: 7BEC428194130EB2
1個のファイルの変更2行の追加2行の削除
  1. +2
    -2
      emacs.el

+ 2
- 2
emacs.el ファイルの表示

@@ -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


読み込み中…
キャンセル
保存