Improve solidity layer

Enable +javascript-npm-mode in solidity-mode when package.json exists.
Set docsets for solidity-mode.
This commit is contained in:
Seong Yong-ju 2020-01-29 23:59:45 +09:00
parent 097972bd9d
commit f31840ac9e
2 changed files with 8 additions and 1 deletions

View file

@ -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))