Skip to content

Commit

Permalink
Merge pull request #2 from amake/original
Browse files Browse the repository at this point in the history
Use source-original to prevent spurious naming errors
  • Loading branch information
whirm authored Aug 8, 2019
2 parents cbb9fbf + 59ebf67 commit 5104ee9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions flycheck-kotlin.el
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
;; Author: Elric Milon <whirm_REMOVETHIS__@gmx.com>
;; Created: 20 January 2017
;; Version: 0.1
;; Package-Requires: ((flycheck "0.18"))
;; Package-Requires: ((flycheck "0.20"))

;;; Commentary:

Expand Down Expand Up @@ -41,10 +41,11 @@
(flycheck-define-checker kotlin-ktlint
"A Kotlin syntax and style checker using the ktlint utility.
See URL `https://github.com/shyiko/ktlint'."
:command ("ktlint" source-inplace)
:command ("ktlint" source-original)
:error-patterns
((error line-start (file-name) ":" line ":" column ": " (message) line-end))
:modes kotlin-mode)
:modes kotlin-mode
:predicate flycheck-buffer-saved-p)


;;;###autoload
Expand Down

0 comments on commit 5104ee9

Please sign in to comment.