Syntax file format
#1224
-
What format does CoTEditor use for its syntax files? I wanted to add a new one and was looking for some docs or samples. Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
1024jp
Nov 12, 2021
Replies: 1 comment 5 replies
-
CotEditor currently uses an original format for syntax definition. You can edit (or add) them from CotEditor's Preferences > Format > Available Syntax Styles list. |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
lolbat
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
CotEditor currently uses an original format for syntax definition. You can edit (or add) them from CotEditor's Preferences > Format > Available Syntax Styles list.
For documentation, see CotEditor's help.
In addition, since the syntax definition file is YAML format, you can make your definition using plain text editor by following the structure of the existing syntax definition files.