Coi syntax definitions for Sublime Text based on its HTML and CSS syntax.
The easiest way to install is using Package Control. It's listed as Coi.
- Open
Command Paletteusing ctrl+shift+P or menu itemTools → Command Palette... - Choose
Package Control: Install Package - Find
Coiand hit Enter
- Download appropriate Coi.sublime-package for your Sublime Text build.
- Copy it into Installed Packages directory
Note
To find Installed Packages...
- call Menu > Preferences > Browse Packages..
- Navigate to parent folder
Coi extends Sublime Text's HTML syntax definition.
If Coi syntax highlighting doesn't work and console displays syntax errors in Coi.sublime-syntax, please make sure to remove any out-dated syntax override.
Steps:
- call Menu > Preferences > Browse Packages..
- Look for HTML folder
- Remove it or at least delete any syntax definition in it.
Coi relies on CSS (source.css)
to scope style blocks and inline style tag attributes.
Make sure to remove related out-dated syntax packages, which don't meet least compatibility requirements.
They can be identified by calling
e.g. sublime.find_syntax_by_scope("source.css") in ST's console.
