Skip to content

How can I add my own syntax support to CotEditor? #1639

Closed Answered by 1024jp
xycabcd asked this question in Q&A
Discussion options

You must be logged in to vote

You can add and edit your own syntaxes in the Format settings pane.

See the CotEditor User Guides for the details. You can launch it from the help button in the syntax editor.

Also I see there's a SyntaxMap.json, what's this for?

The file is used to speed up the detection of the proper syntax when opening a document.
It is just for bundled syntaxes. Custom user syntaxes don't require this file.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by 1024jp
Comment options

You must be logged in to vote
1 reply
@1024jp
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants