https://github.com/kasteph/conll-u.tmlanguage
Syntax highlighting for CoNLL-U (.conllu, .conll) files on Sublime Text.
https://github.com/kasteph/conll-u.tmlanguage
sublime-text-3 universal-dependencies
Last synced: about 2 months ago
JSON representation
Syntax highlighting for CoNLL-U (.conllu, .conll) files on Sublime Text.
- Host: GitHub
- URL: https://github.com/kasteph/conll-u.tmlanguage
- Owner: kasteph
- License: apache-2.0
- Created: 2018-02-13T11:11:50.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-13T13:35:04.000Z (over 7 years ago)
- Last Synced: 2025-03-29T02:03:19.468Z (about 2 months ago)
- Topics: sublime-text-3, universal-dependencies
- Size: 757 KB
- Stars: 9
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CoNLL-U Syntax Highlighting for Sublime Text
The CoNLL-U format is defined on the [Universal Dependencies](http://universaldependencies.org/format.html) website. Scope naming has been changed from what was [originally proposed](https://github.com/odanoburu/conllu-linguist-grammar/blob/master/text.conllu.json) 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](https://atom.io/packages/language-conllu) exists for CoNLL-U highlighting by [@Evpok](https://github.com/Evpok).

## Installation
Adapted from [@alexlouden](https://github.com/alexlouden/)'s [README on Terraform.tmLanguage](https://github.com/alexlouden/Terraform.tmLanguage/blob/master/README.md)### Using Package Control
1. Having [Package Control](https://packagecontrol.io/installation) 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](https://github.com/odanoburu) for the [grammar](https://github.com/odanoburu/conllu-linguist-grammar).