File tree Expand file tree Collapse file tree 2 files changed +48
-0
lines changed
Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+
2+ # MoonScript for [ scintillua] [ 1 ]
3+
4+ MoonScript syntax file for [ SciTE] [ 2 ] written in Lua for [ scintillua] [ 1 ] .
5+
6+ ## Windows Binary
7+
8+ Windows users can get a all-included package ready for MoonScript Development:
9+
10+ < http://moonscript.org/scite/ >
11+
12+ If you already have a ScITE installation, or are on another platform, follow
13+ the directions below.
14+
15+ ## Installation
16+
17+ Install SciTE, then [ install scintillua] [ 3 ] .
18+
19+ Put ` moonscript.properties ` in in your ScITE installation folder or user
20+ properties folder.
21+
22+ Copy the entire contents of the ` lexers ` folder in this repository into your
23+ scintillua ` lexers ` folder.
24+
25+ In your ` lexers ` folder edit ` lpeg.properties ` , add to the end:
26+
27+ file.patterns.moonscript=*.moon
28+ lexer.$(file.patterns.moonscript)=lpeg_moonscript
29+
30+ Optionally, enable the Moon theme, find ` lexer.peg.color.theme ` in the same
31+ file and change it to:
32+
33+ lexer.lpeg.color.theme=moon
34+
35+ [ 1 ] : http://code.google.com/p/scintillua/ " scintillua "
36+ [ 2 ] : http://www.scintilla.org/SciTE.html " SciTE "
37+ [ 3 ] : http://code.google.com/p/scintillua/#Using_with_SciTE
Original file line number Diff line number Diff line change 1+
2+ file.patterns.moon =*.moon
3+ shbang.moon =moon
4+ filter.moon =MoonScript (moon)|$(file.patterns.moon)|
5+
6+ command.compile.*.moon =moonc " $(FileNameExt)"
7+ command.go.*.moon =moon " $(FileNameExt)"
8+
9+ tabsize =2
10+ indent.size =2
11+ use.tabs =0
You can’t perform that action at this time.
0 commit comments