Skip to content

Commit

Permalink
refactor(checkers): code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Nov 23, 2023
1 parent 79b09b0 commit 762c1c4
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions modules/me-checkers.el
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
:pre-check (unless codespell-exec (error "Cannot find codespell executable"))
:write-type 'file
:proc-form (list codespell-exec "-d" "-i0" fmqd-temp-file)
:search-regexp "^\\([[:alnum:][:punct:]]+\\):\\([[:digit:]]+\\):[[:space:]]\\(.+\\)"
:prep-diagnostic
(let* ((lnum (string-to-number (match-string 2)))
(text (match-string 3))
Expand All @@ -83,11 +84,7 @@
(end (cdr pos))
(type :warning)
(msg text))
(list fmqd-source beg end type msg))
:search-regexp
(rx bol (group (one-or-more (any alnum punct)))
":" (group (one-or-more digit))
":" space (group (one-or-more any)))))
(list fmqd-source beg end type msg))))

(use-package flymake-plantuml
:straight (:host github :repo "shaohme/flymake-plantuml")
Expand Down

0 comments on commit 762c1c4

Please sign in to comment.