mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
refactor: use negated flags
Ref: 7a806521a92c
This commit is contained in:
@ -10,8 +10,7 @@
|
||||
(set-formatter! 'prettier-solidity '(npx "prettier" "--stdin-filepath" filepath "--parser=solidity") :modes '(solidity-mode))
|
||||
|
||||
(use-package! solidity-flycheck ; included with solidity-mode
|
||||
:when (and (modulep! :checkers syntax)
|
||||
(not (modulep! :checkers syntax +flymake)))
|
||||
:when (modulep! :checkers syntax -flymake)
|
||||
:config
|
||||
(setq flycheck-solidity-solc-addstd-contracts t)
|
||||
(when (funcall flycheck-executable-find solidity-solc-path)
|
||||
|
@ -4,6 +4,5 @@
|
||||
(package! solidity-mode :pin "8ba549e429e86778a0e079648f3bc3463fcb15f6")
|
||||
(when (modulep! :completion company)
|
||||
(package! company-solidity))
|
||||
(when (and (modulep! :checkers syntax)
|
||||
(not (modulep! :checkers syntax +flymake)))
|
||||
(when (modulep! :checkers syntax -flymake)
|
||||
(package! solidity-flycheck))
|
||||
|
Reference in New Issue
Block a user