An open API service indexing awesome lists of open source software.

https://github.com/hackerpilot/textadept-tla-

TLA+ and PlusCal syntax highlighting for Textadept
https://github.com/hackerpilot/textadept-tla-

Last synced: 10 months ago
JSON representation

TLA+ and PlusCal syntax highlighting for Textadept

Awesome Lists containing this project

README

          

# textadept-TLA+
TLA+ and PlusCal syntax highlighting for Textadept

## Installation
* Place the tlaplus.lua and pluscal.lua files in your ~/.textadept/lexers folder
* Associate the ".tla" extension with TLA+ files by placing the following in your init.lua:
```textadept.file_types.extensions["tla"] = "tlaplus"```

## Known issues
The PlusCal lexer will only actiavte if the comment containing the algorithm ONLY contains the algorithm. For example:
```
(*Good *)
(*
--algorithm SomeAlgorithm {
...
};
*)
```
```
(* Bad *)
(* Clutter in the comments
--algorithm SomeAlgorithm {
...
};
More stuff
*)
```