A MoonScript module for the Textadept editor - written in MoonScript
MoonScript Lua
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
init.lua
init.moon

README.md

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