Skip to content

Commit d50ff29

Browse files
committed
scintillua directions
1 parent 53f5870 commit d50ff29

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed

extra/scintillua/README.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
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

0 commit comments

Comments
 (0)