mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
refactor: deprecate featurep! for modulep!
featurep! will be renamed modulep! in the future, so it's been deprecated. They have identical interfaces, and can be replaced without issue. featurep! was never quite the right name for this macro. It implied that it had some connection to featurep, which it doesn't (only that it was similar in purpose; still, Doom modules are not features). To undo such implications and be consistent with its namespace (and since we're heading into a storm of breaking changes with the v3 release anyway), now was the best opportunity to begin the transition.
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
(set-company-backend! 'solidity-mode 'company-solidity)
|
||||
|
||||
(use-package! solidity-flycheck ; included with solidity-mode
|
||||
:when (featurep! :checkers syntax)
|
||||
:when (modulep! :checkers syntax)
|
||||
:config
|
||||
(setq flycheck-solidity-solc-addstd-contracts t)
|
||||
(when (funcall flycheck-executable-find solidity-solc-path)
|
||||
@ -18,5 +18,5 @@
|
||||
(add-to-list 'flycheck-checkers 'solium-checker nil #'eq)))
|
||||
|
||||
(use-package! company-solidity
|
||||
:when (featurep! :completion company)
|
||||
:when (modulep! :completion company)
|
||||
:config (delq! 'company-solidity company-backends)))
|
||||
|
@ -2,7 +2,7 @@
|
||||
;;; lang/solidity/packages.el
|
||||
|
||||
(package! solidity-mode :pin "20fb77e089e10187b37ae1a94153017b82ed2a0a")
|
||||
(when (featurep! :completion company)
|
||||
(when (modulep! :completion company)
|
||||
(package! company-solidity))
|
||||
(when (featurep! :checkers syntax)
|
||||
(when (modulep! :checkers syntax)
|
||||
(package! solidity-flycheck))
|
||||
|
Reference in New Issue
Block a user