Skip to content

leafo/moonscript-textadept

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MoonScript Textadept support

This package comes with both a theme and a syntax lexer.

screenshot

Install

To install, copy lexers/moonscript.lua to a lexers directory in your local textadept directory (usually .textadept).

To install the theme copy themes/moon.lua to a themes directory in your local textadept directory.

Update your init.lua:

-- enable the lexer
local file_types = require "textadept.file_types"
file_types.extensions.moon = "moonscript"

-- enable the theme, with a custom font (optional)
ui.set_theme(CURSES and "term" or "moon", {
	font = "Source Code Pro",
	fontsize = 14,
})

About

Textadept support for MoonScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published