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
- Host: GitHub
- URL: https://github.com/hackerpilot/textadept-tla-
- Owner: Hackerpilot
- License: mit
- Created: 2015-06-26T10:19:26.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2018-05-20T09:40:17.000Z (about 8 years ago)
- Last Synced: 2025-01-23T18:52:48.369Z (over 1 year ago)
- Language: Lua
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
*)
```