;;; lang/solidity/config.el -*- lexical-binding: t; -*-

;;
;; Plugins
;;

(def-package! solidity-mode
  :mode "\\.sol$"
  :init
    (setq solidity-solc-path "$HOME/.node_modules/bin/solcjs")
    (setq solidity-solium-path "$HOME/.node_modules/bin/solium")

    (setq solidity-flycheck-solc-checker-active t)
    (setq solidity-flycheck-solium-checker-active t)

    (setq flycheck-solidity-solc-addstd-contracts t)
  :config
    (setq solidity-comment-style 'slash))

(def-package! company-solidity
  :when (featurep! :completion company)
  :after solidity-mode
  :config
  (add-hook 'solidity-mode-hook
    (lambda ()
    (set (make-local-variable 'company-backends)
        (append '((company-solidity company-capf company-dabbrev-code))
        company-backends)))))

;;; lang/solidity/config.el -*- lexical-binding: t; -*-

;;
;; Plugins
;;

(def-package! solidity-mode
  :mode "\\.sol$"
  :init
    (setq solidity-solc-path "~/.node_modules/lib/node_modules/solc/solcjs")
    (setq solidity-solium-path "~/.node_modules/lib/node_modules/solium/bin/solium.js")

    (setq solidity-flycheck-solc-checker-active t)
    (setq solidity-flycheck-solium-checker-active t)

    (setq flycheck-solidity-solc-addstd-contracts t)
  :config
    (setq solidity-comment-style 'slash))

(def-package! company-solidity
  :when (featurep! :completion company)
  :after solidity-mode
  :config
  (add-hook 'solidity-mode-hook
    (lambda ()
    (set (make-local-variable 'company-backends)
        (append '((company-solidity company-capf company-dabbrev-code))
        company-backends)))))

Fix solc and solium pathes
Fix solc and solium pathes

The bin files were links to the real thing.

hlissner/.emacs.d,hlissner/.emacs.d,UndeadKernel/emacs_doom,hlissner/doom-emacs,UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d,UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/doom-emacs,UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/doom-emacs,UndeadKernel/emacs_doom,hlissner/.emacs.d