scintillua directions

This commit is contained in:
leaf corcoran 2011-12-10 13:53:22 -08:00
parent 53f587021d
commit d50ff29396
2 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,37 @@
# 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

View File

@ -0,0 +1,11 @@
file.patterns.moon=*.moon
shbang.moon=moon
filter.moon=MoonScript (moon)|$(file.patterns.moon)|
command.compile.*.moon=moonc "$(FileNameExt)"
command.go.*.moon=moon "$(FileNameExt)"
tabsize=2
indent.size=2
use.tabs=0