feat(emacs/lean-flycheck): "real" .clean file instead of "flycheck_real.clean"
Fix #140
This commit is contained in:
parent
f39e21f90e
commit
4eb8a9b192
1 changed files with 3 additions and 1 deletions
|
@ -11,6 +11,8 @@
|
|||
(cl-concatenate 'list
|
||||
`(,(lean-get-executable lean-flycheck-checker-name))
|
||||
lean-flycheck-checker-options
|
||||
'("--cache")
|
||||
'(source-original)
|
||||
'("--")
|
||||
'(source-inplace)))
|
||||
|
||||
|
@ -75,7 +77,7 @@
|
|||
(tempbase (file-name-base tempname))
|
||||
(tempfile (expand-file-name tempbase
|
||||
(file-name-directory filename)))
|
||||
(exts '(".ilean" ".d" ".clean" ".olean"))
|
||||
(exts '(".ilean" ".d" ".olean"))
|
||||
(tempfiles (--map (concat tempfile it) exts)))
|
||||
(mapc #'flycheck-safe-delete tempfiles))))
|
||||
|
||||
|
|
Loading…
Reference in a new issue