Improve solidity layer
Enable +javascript-npm-mode in solidity-mode when package.json exists. Set docsets for solidity-mode.
This commit is contained in:
parent
097972bd9d
commit
f31840ac9e
2 changed files with 8 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue