tweak(syntax): feat gate flycheck in all modules
This commit is contained in:
parent
b957142e3e
commit
4696f0d4ce
40 changed files with 86 additions and 45 deletions
|
@ -9,7 +9,8 @@
|
|||
(set-company-backend! 'solidity-mode 'company-solidity)
|
||||
|
||||
(use-package! solidity-flycheck ; included with solidity-mode
|
||||
:when (modulep! :checkers syntax)
|
||||
:when (and (modulep! :checkers syntax)
|
||||
(not (modulep! :checkers syntax +flymake)))
|
||||
:config
|
||||
(setq flycheck-solidity-solc-addstd-contracts t)
|
||||
(when (funcall flycheck-executable-find solidity-solc-path)
|
||||
|
|
|
@ -4,5 +4,6 @@
|
|||
(package! solidity-mode :pin "ddb4a901c33bd29ba2eefff3b7f7461849c6e833")
|
||||
(when (modulep! :completion company)
|
||||
(package! company-solidity))
|
||||
(when (modulep! :checkers syntax)
|
||||
(when (and (modulep! :checkers syntax)
|
||||
(not (modulep! :checkers syntax +flymake)))
|
||||
(package! solidity-flycheck))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue