rgieseke / ta-moonscript

A MoonScript module for the Textadept editor - written in MoonScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A MoonScript module for the Textadept editor - written in MoonScript


Languages

Language:MoonScript 56.6%Language:Lua 43.4%