Parcourir la source

Fix bug

master
10sr il y a 5 ans
Parent
révision
f9db231630
Signé par: 10sr ID de la clé GPG: 7BEC428194130EB2
1 fichiers modifiés avec 9 ajouts et 9 suppressions
  1. +9
    -9
      emacs.el

+ 9
- 9
emacs.el Voir le fichier

@@ -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-max)
(point-min)
nil
'error
;;(format "Black: %s" (match-string 0))
@@ -2080,14 +2080,14 @@ initializing."
:checker checker))))
(goto-char (point-min))
(when (re-search-forward "^error: .*$" nil t)
(setq reslt (list (flycheck-error-new-at
(point-max)
nil
'error
;; Fix not to include absolute file path
(format "Black: %s" (match-string 0))
:buffer buffer
:checker checker))))))
(setq result (list (flycheck-error-new-at
(point-min)
nil
'error
;; Fix not to include absolute file path
(format "Black: %s" (match-string 0))
:buffer buffer
:checker checker))))))
result))

(defun my-flycheck-parse-unified-diff (output checker buffer)


Chargement…
Annuler
Enregistrer