From a69432bb77a9be2b08c234866ae2f92adfa02dc0 Mon Sep 17 00:00:00 2001 From: FichteFoll Date: Sat, 30 Dec 2023 14:44:28 +0100 Subject: [PATCH] [C#] Drop `NAnt Build File` syntax definition It is basically a very rudimentary XML syntax that does not bring anything to the table, does not have tests and does not have any other integration within ST either. Because of the generic file extension, and 100% overlap with the `first_line_match`, it cannot even be reasonably used as a syntax definition by default and compared to the standard XML syntax definition, which would automatically be selected in 99% of all ST environments, it's just worse in every way. See also #3569 for a previous discussion. --- C#/Build.sublime-syntax | 55 ----------------------------------------- 1 file changed, 55 deletions(-) delete mode 100644 C#/Build.sublime-syntax diff --git a/C#/Build.sublime-syntax b/C#/Build.sublime-syntax deleted file mode 100644 index 9d44abb57b..0000000000 --- a/C#/Build.sublime-syntax +++ /dev/null @@ -1,55 +0,0 @@ -%YAML 1.2 ---- -# http://www.sublimetext.com/docs/syntax.html -name: NAnt Build File -scope: source.nant-build - -contexts: - main: - - match: " - captures: - 0: punctuation.definition.comment.nant - pop: true - - match: "() - captures: - 1: punctuation.definition.tag.nant - 2: entity.name.tag.nant - pop: true - - match: " ([a-zA-Z-]+)" - scope: entity.other.attribute-name.nant - - match: '"' - captures: - 0: punctuation.definition.string.begin.nant - push: - - meta_scope: string.quoted.double.nant - - match: '"' - captures: - 0: punctuation.definition.string.end.nant - pop: true - - match: "'" - captures: - 0: punctuation.definition.string.begin.nant - push: - - meta_scope: string.quoted.single.nant - - match: "'" - captures: - 0: punctuation.definition.string.end.nant - pop: true - - match: "(&)([a-zA-Z]+|#[0-9]+|#x[0-9a-fA-F]+)(;)" - scope: constant.character.entity.nant - captures: - 1: punctuation.definition.constant.nant - 3: punctuation.definition.constant.nant - - match: "&" - scope: invalid.illegal.bad-ampersand.nant