moonscript/extra/scintillua/README.md

37 lines
1.0 KiB
Markdown
Raw Normal View History

2011-12-10 21:53:22 +00:00
# MoonScript for [scintillua][1]
MoonScript syntax file for [SciTE][2] written in Lua for [scintillua][1].
## Windows Binary
Windows users can get a all-included package ready for MoonScript Development:
<http://moonscript.org/scite/>
If you already have a ScITE installation, or are on another platform, follow
the directions below.
## Installation
Install SciTE, then [install scintillua][3].
Put `moonscript.properties` in in your ScITE installation folder or user
properties folder.
Copy the entire contents of the `lexers` folder in this repository into your
scintillua `lexers` folder.
In your `lexers` folder edit `lpeg.properties`, add to the end:
file.patterns.moonscript=*.moon
lexer.$(file.patterns.moonscript)=lpeg_moonscript
Optionally, enable the Moon theme, find `lexer.peg.color.theme` in the same
file and change it to:
lexer.lpeg.color.theme=moon
[1]: http://code.google.com/p/scintillua/ "scintillua"
[2]: http://www.scintilla.org/SciTE.html "SciTE"
[3]: http://code.google.com/p/scintillua/#Using_with_SciTE