mirror of
https://github.com/leafo/moonscript.git
synced 2024-12-08 01:54:24 +00:00
37 lines
1.0 KiB
Markdown
37 lines
1.0 KiB
Markdown
|
|
||
|
# 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
|