Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 1016 Bytes

README.md

File metadata and controls

36 lines (22 loc) · 1016 Bytes

MoonScript module for the Textadept editor

Installation

Clone this repository into your .textadept/modules directory:

cd ~/.textadept/modules
git clone https://github.com/rgieseke/ta-moonscript.git moonscript

Optionally, download a copy of the MoonScript lexer from https://github.com/leafo/moonscript/blob/master/extra/scintillua/lexers/moonscript.lua into your lexers directory, e.g.

cd ~/.textadept/lexers
wget https://raw.github.com/leafo/moonscript/master/extra/scintillua/lexers/moonscript.lua

Add

% MoonScript
textadept.file_types.extensions.moon = 'moonscript'

to your ~/.textadept/init.lua file.

Notes

This was my first attempt at writing MoonScript, pull requests welcome!

To edit and compile the module with the watch option run moonc -w init.moon in your terminal.

License

MIT

2012-13, Robert Gieseke, robert.gieseke@gmail.com