Skip to content

girvo/hack-textadept

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hack/HHVM Syntax Highlighting for Textadept

This is a work-in-progress, but it is working thus far. It has most of the built-in types, classes and interfaces, although it needs tweaking. It's based around php.lua from Textadept's core lexer set, tweaked to handle Hack better.

Screenshot

Installation

To install, copy lexers/hack.lua into your ~/.textadept/lexers/ folder (create it if required). Then, open up ~/.textadept/properties.lua (again, create it if need be) and copy the contents of the properties.lua in this repository into it.

Usage

You'll need to change into Hack mode (Ctrl+Shift+L), as it defaults to PHP for files that have the .php extension (.hh is fine though!).

License

See LICENSE.md.

About

Hack/HHVM syntax highlighting for Textadept

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages