https://github.com/leafo/moonscript-textadept
Textadept support for MoonScript
https://github.com/leafo/moonscript-textadept
Last synced: about 1 month ago
JSON representation
Textadept support for MoonScript
- Host: GitHub
- URL: https://github.com/leafo/moonscript-textadept
- Owner: leafo
- Created: 2015-12-28T08:25:16.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-11-13T04:19:13.000Z (about 9 years ago)
- Last Synced: 2025-01-04T17:28:52.404Z (12 months ago)
- Language: MoonScript
- Size: 56.6 KB
- Stars: 9
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MoonScript Textadept support
This package comes with both a theme and a syntax lexer.

## 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`:
```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,
})
```