From bb5b962c3dbcf0dc8258e50844602f1f5080f00c Mon Sep 17 00:00:00 2001 From: Nick Kocharhook Date: Mon, 2 Jan 2023 09:44:06 +0000 Subject: [PATCH] Update Sublime syntax instructions (#1455) --- README.md | 2 +- extras/just.sublime-syntax | 79 -------------------------------------- tests/lib.rs | 2 - tests/sublime_syntax.rs | 7 ---- 4 files changed, 1 insertion(+), 89 deletions(-) delete mode 100644 extras/just.sublime-syntax delete mode 100644 tests/sublime_syntax.rs diff --git a/README.md b/README.md index 2aeaaae..6b13d70 100644 --- a/README.md +++ b/README.md @@ -406,7 +406,7 @@ Kakoune supports `justfile` syntax highlighting out of the box, thanks to TeddyD ### Sublime Text -A syntax file for Sublime Text written by TonioGela is available in [extras/just.sublime-syntax](https://github.com/casey/just/blob/master/extras/just.sublime-syntax). +The [Just package](https://github.com/nk9/just_sublime) by [nk9](https://github.com/nk9) with `just` syntax and some other tools is available on [PackageControl](https://packagecontrol.io/packages/Just). ### Other Editors diff --git a/extras/just.sublime-syntax b/extras/just.sublime-syntax deleted file mode 100644 index cd2c551..0000000 --- a/extras/just.sublime-syntax +++ /dev/null @@ -1,79 +0,0 @@ -%YAML 1.2 ---- -# http://www.sublimetext.com/docs/syntax.html -name: Just -file_extensions: [.justfile, just, justfile] -scope: source.just -contexts: - main: - - include: interpolate - - include: comments - - include: scripts - - include: strings - - include: assignments - - include: recipeDefinition - - include: recipeContent - - include: functions - - include: keywords - - include: attributes - assignments: - - match: '^(export\s+)?([a-zA-Z_][a-zA-Z0-9_-]*)\s*(:=)' - captures: - 1: storage.modifier.just - 2: variable.other.just - 3: keyword.operator.assignment.just - comments: - - match: '#[^!].*' - scope: comment.line.just - interpolate: - - match: '(?