yeet
This commit is contained in:
22
.config/emacs/modules/lang/solidity/config.el
Normal file
22
.config/emacs/modules/lang/solidity/config.el
Normal file
@@ -0,0 +1,22 @@
|
||||
;;; lang/solidity/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
;;
|
||||
;;; Packages
|
||||
|
||||
(after! solidity-mode
|
||||
(setq solidity-comment-style 'slash)
|
||||
(set-docsets! 'solidity-mode "Solidity")
|
||||
(set-company-backend! 'solidity-mode 'company-solidity)
|
||||
|
||||
(use-package! solidity-flycheck ; included with solidity-mode
|
||||
:when (featurep! :checkers syntax)
|
||||
:config
|
||||
(setq flycheck-solidity-solc-addstd-contracts t)
|
||||
(when (funcall flycheck-executable-find solidity-solc-path)
|
||||
(add-to-list 'flycheck-checkers 'solidity-checker nil #'eq))
|
||||
(when (funcall flycheck-executable-find solidity-solium-path)
|
||||
(add-to-list 'flycheck-checkers 'solium-checker nil #'eq)))
|
||||
|
||||
(use-package! company-solidity
|
||||
:when (featurep! :completion company)
|
||||
:config (delq! 'company-solidity company-backends)))
|
||||
Reference in New Issue
Block a user