mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Change flycheck initialization strategy
Initialize it globally and turn it off where needed, instead of enabling it on demand. Also fixes void-function: flycheck-mode errors when :feature syntax-checker is disabled. This is experimental. Indirectly fixes #710
This commit is contained in:
@ -11,7 +11,6 @@
|
||||
(def-package! solidity-flycheck ; included with solidity-mode
|
||||
:when (featurep! :feature syntax-checker)
|
||||
:after solidity-mode
|
||||
:init (add-hook 'solidity-mode-hook #'flycheck-mode)
|
||||
:config
|
||||
(setq flycheck-solidity-solc-addstd-contracts t)
|
||||
(when (funcall flycheck-executable-find solidity-solc-path)
|
||||
|
Reference in New Issue
Block a user