Skip to content

Commit f62b7ff

Browse files
committed
Add dummy defvar for flycheck
1 parent 6268b2a commit f62b7ff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

solidity-mode.el

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,8 @@ Highlight the 1st result."
384384

385385
;;; --- interface with flycheck if existing ---
386386
(when (require 'flycheck nil 'noerror)
387+
;; add dummy source-inplace definition to avoid errors
388+
(defvar source-inplace)
387389
;; add a solidity mode callback to set the executable of solc for flycheck
388390
;; define solidity's flycheck syntax checker
389391
(flycheck-define-checker solidity-checker

0 commit comments

Comments
 (0)