Skip to content

Instantly share code, notes, and snippets.

@GokhanPolat
Created April 27, 2021 07:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GokhanPolat/0be251cef173c972c7d3d3ff3478c9c9 to your computer and use it in GitHub Desktop.
Save GokhanPolat/0be251cef173c972c7d3d3ff3478c9c9 to your computer and use it in GitHub Desktop.
emacs-solidity package configs
#
# this code block part of ~/.doom.d/config.el
#
(require 'flycheck)
;; (setq solidity-solc-path "/usr/local/bin/solc")
(setq-default solidity-solc-path "~/.doom.d/solc-solium-wrapper.sh")
(setq solidity-solium-path "/usr/local/bin/solium")
;; simply type 'solium --init' in '/Users/dev/.config/solium' directory
(setq flycheck-solidity-solium-soliumrcfile "/Users/dev/.config/solium/soliumrc.json")
;; (setq-default solidity-flycheck-use-project t)
(setq-default solidity-flycheck-solc-checker-active t)
(setq-default solidity-flycheck-solium-checker-active nil)
;; (with-eval-after-load 'solidity-mode
;; (setq-default c-basic-offset 2))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment