Skip to content

Commit cd13dce

Browse files
committed
Add info on configuring solium and solc to README
1 parent 34c1306 commit cd13dce

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

README.org

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,28 @@ emacs can already find it in your environment's ~PATH~. Even if you can call it
6767
from the command line it does not mean that EMACS can see it as emacs may be started
6868
by systemd at which point ~PATH~ is not fully populated.
6969

70+
*** Configuring solc checker
71+
72+
You can configure flycheck's solc invocation with the following arguments
73+
74+
**** std contracts
75+
By default this is false. If you want to include the standard contracts just add the following to your emacs init file
76+
77+
#+BEGIN_SRC emacs-lisp
78+
(setq flycheck-solidity-solc-addstd-contracts t)
79+
#+END_SRC
80+
81+
*** Configuring solium checker
82+
You can configure flycheck's solium incocation with the following arguments
83+
84+
**** solium RC file
85+
By default solium looks at the current directory of the file you are editing in order to find ~.soliumrc.json~. Having this
86+
file is required. But you can point to an external configuration file by putting the following anywhere in your emacs init file.
87+
88+
#+BEGIN_SRC emacs-lisp
89+
(setq flycheck-solidity-solium-soliumrcfile "/home/path/to/common/.soliumrc.json")
90+
#+END_SRC
91+
7092
* Features
7193
+ Syntax highlighting
7294
+ Indentation

0 commit comments

Comments
 (0)