mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Improve solidity layer
Enable +javascript-npm-mode in solidity-mode when package.json exists. Set docsets for solidity-mode.
This commit is contained in:
@ -11,6 +11,7 @@
|
||||
:when (featurep! :checkers syntax)
|
||||
:after solidity-mode
|
||||
:config
|
||||
(set-docsets! 'solidity-mode "Solidity")
|
||||
(setq flycheck-solidity-solc-addstd-contracts t)
|
||||
(when (funcall flycheck-executable-find solidity-solc-path)
|
||||
(add-to-list 'flycheck-checkers 'solidity-checker nil #'eq))
|
||||
|
Reference in New Issue
Block a user