Skip to content

Latest commit

 

History

History
47 lines (29 loc) · 1.54 KB

README.md

File metadata and controls

47 lines (29 loc) · 1.54 KB

Cuelang syntax

Sublime Text 4 syntax hightling package for CUE.
File extension: .cue

Usage

Once installed, the CUE syntax will be available in the list of file.

Installation

Using Package Control

If you have Package Control installed: Command PaletteInstall PackagePIO

Manually

Clone this repository in your local packages folder.
If you are unsure as to where your local packages directory is, please consult the docs.

Example (on MacOS):

cd ~/Library/Application\ Support/Sublime\ Text/Packages
git clone [email protected]:patopest/sublime-text-cuelang-syntax.git "Cuelang Syntax"

Development

  • Clone the repository in your local packages.
  • Make edits to the .sublime-syntax files, the syntax reloads on save.

Tests

  • Any file with the names starting with syntax_test_ can be used as a test.
  • Open the file and run Tools > Build (or CMD+B on macOS).

Sublime's docs about test files: here

Useful documentation: