From b368df57855c77be5f3ae6601f5a83b586feb7c3 Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Sun, 8 Jan 2023 12:12:04 -0500 Subject: Use tree-sitter-ruby for crystal (#5205) --- runtime/queries/crystal/highlights.scm | 67 +--------------------------------- 1 file changed, 1 insertion(+), 66 deletions(-) (limited to 'runtime/queries/crystal/highlights.scm') diff --git a/runtime/queries/crystal/highlights.scm b/runtime/queries/crystal/highlights.scm index 33a53e7f..57154286 100644 --- a/runtime/queries/crystal/highlights.scm +++ b/runtime/queries/crystal/highlights.scm @@ -1,66 +1 @@ -[ - "class" - "struct" - "module" - - "def" - "alias" - "do" - "end" - - "require" - "include" - "extend" -] @keyword - -[ - "[" "]" - "(" ")" - "{" "}" -] @punctuation.bracket - -(operator) @operator - -(comment) @comment - -; literals - -(nil) @constant.builtin -(bool) @constant.builtin.boolean - -(integer) @constant.numeric.integer -(float) @constant.numeric.float - -[ - (string) - (char) - (commandLiteral) -] @string - -(symbol) @string.special.symbol - -(regex) @string.special.regex - -; variables - -(local_variable) @variable - -[ - (instance_variable) - (class_variable) -] @variable.other.member - -(constant) @constant - -; type defintitions - -(type_identifier) @constructor - -; method definition/call -(identifier) @function.method - -; types -(generic_type) @type -(union_type) @type -(type_identifier) @type - +; inherits: ruby -- cgit v1.2.3-70-g09d2