-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No syntax checker detected by Flycheck #41
Comments
Hello @asymmetric. I don't really know how spacemacs works. Have you properly loaded |
Hi @asymmetric. |
Nope, I ended up switching back to (neo)vim ;) |
Getting the same error in 'doom-emacs'. I dont know how this is related, but when I select the solidity and solium checkers from
|
Hey @LefterisJP I'm getting the same issue, but I'm not using spacemacs. I'm using about as vanilla of an emacs set up as it gets (I just installed it this week). As such I'm very new to emacs, so it's very possible I am making an obvious mistake, but I can provide more information here to see if it is the same problem these guys were having. I installed all the necessary packages using M-x package-install. Here is my entire .emacs config file:
And this is what I see when I run flycheck-verify-setup in a solidity file:
|
Hey @MaxWMcKinley Thanks for using solidity mode. I reproduced your problem and it's a misconfiguration that's easily fixable. In order for settings to a package like So if you change your init file after magit status set to the following it should work: (setq solidity-comment-style 'slash)
(add-hook 'after-init-hook #'global-flycheck-mode)
(setq solidity-solc-path "/usr/bin/solc")
(setq solidity-flycheck-solc-checker-active t)
(require 'solidity-flycheck)
|
@LefterisJP That fixed it, thanks! I expected it would be something simple like that. Follow up question, and feel free to tell me to open a new issue if that is more appropriate, but after having added these packages, on start up emacs says there is an issue in my .emacs file and lists this following error:
It doesn't seem to actually stop anything from working, so it's not a huge deal, but would prefer to not have any errors in my init file. Also I don't have "solidity-keywords" anywhere in the .emacs file so I am assuming it is coming from one of these packages that I am importing. Do you know what is happening here? |
Hi, I have set all the required configuration properties in my
~/.spacemacs
, but when I runflycheck-verify-setup
on a Solidity file, the output is:This seems to be a different problem than
solc
not being found - it's rather the checker itself that's not found by flycheck.I'm using Spacemacs develop [email protected] and have recently updated all packages.
The text was updated successfully, but these errors were encountered: