-
Notifications
You must be signed in to change notification settings - Fork 67
Closed
Description
I am unable to make solidity-flycheck-solc work. I am not sure what I am doing wrong.
$ solc --version
solc, the solidity compiler commandline interface
Version: 0.6.0+commit.26b70077.Darwin.appleclang
$ which solc
/usr/local/bin/solc
I have following setup in .emacs file:
(require 'flycheck)
(setq solidity-solc-path "/usr/local/bin/solc")
(require 'solidity-flycheck)
(require 'solidity-mode)
(setq flycheck-solidity-solc-addstd-contracts t)
(setq solidity-flycheck-solc-checker-active t)
(custom-set-variables
'(package-selected-packages
(quote
(solidity-flycheck solidity-mode use-package flymake-python-pyflakes flycheck undo-tree jedi dumb-jump))))
(add-hook 'after-init-hook #'global-flycheck-mode)
=> flycheck-verify-setup and this is what I got:
Syntax checkers for buffer eBlocBroker.sol in solidity-mode:
There are no syntax checkers for this buffer!
Flycheck Mode is enabled. Use C-u C-c ! x to enable disabled
checkers.
--------------------
Flycheck version: 31
Emacs version: 26.3
System: x86_64-apple-darwin19.0.0
Window system: nil
Metadata
Metadata
Assignees
Labels
No labels