Syntax highlighting for CoNLL-U (.conllu, .conll) files on Sublime Text.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CoNLL-U.YAML-tmLanguage
CoNLL-U.tmLanguage
LICENSE
README.md
demo.png

README.md

CoNLL-U Syntax Highlighting for Sublime Text

The CoNLL-U format is defined on the Universal Dependencies website. Scope naming has been changed from what was originally proposed in order to create better syntax highlighting for Sublime Text. The regular expression has also been changed to match for whitespaces (\s) instead of tabs (\t). An Atom extension exists for CoNLL-U highlighting by @Evpok.

Highlighting demo on Sublime Text

Installation

Adapted from @alexlouden's README on Terraform.tmLanguage

Using Package Control

  1. Having Package Control installed
  2. Open the palette by pressing Ctrl+Shift+P (Win, Linux) or Cmd+Shift+P (OS X).
  3. Select "Package Control: Install package"
  4. Select "CoNLL-U"

Manually

  1. Open the Sublime Text Packages folder
    • OS X: ~/Library/Application Support/Sublime Text 3/Packages/
    • Windows: %APPDATA%/Sublime Text 3/Packages/
    • Linux (Ubuntu/Debian): ~/.config/sublime-text-3/Packages/
  2. Clone this repo

Acknowledgements

Thanks to Bruno Cuconato for the grammar.