Skip to content

Commit 4c10144

Browse files
committed
Add 'require to readme.org
1 parent fb61125 commit 4c10144

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.org

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ By default solidity-mode associates itself with any files ending in =.sol=.
2222
If using =el-get= then you should have a specific package initializing lisp file. If not then you can put these
2323
anywhere in your =init.el=.
2424

25+
** Generic configuration
26+
Regardless of where you installed solidity mode from, you need to require the package:
27+
#+BEGIN_SRC lisp
28+
(require 'solidity-mode)
29+
#+END_SRC
2530
** Provide path to solc binary
2631
The ~solc~ binary is assumed to be located at ~/usr/bin/solc~. Wherever that is not the case you would have to manually
2732
set the location of the binary like below:
@@ -36,7 +41,6 @@ Solidity mode can also interface with [[https://github.com/flycheck/flycheck][fl
3641
download and install the flycheck package. Then configure it to either work on
3742
all modes or enable it only for solidity mode.
3843

39-
4044
* Features
4145
+ Syntax highlighting
4246
+ Indentation

0 commit comments

Comments
 (0)