diff --git a/queries/highlights.scm b/queries/highlights.scm new file mode 100644 index 0000000..afee1f3 --- /dev/null +++ b/queries/highlights.scm @@ -0,0 +1,15 @@ +(code_comment) @comment +(html_comment) @comment +(attr_name) @attribute +(ruby_block_control "-" @keyword) +(ruby_block_output "=" @keyword) +(ruby_block_output_noescape "==" @keyword) +(doctype) @keyword +":" @punctuation.delimiter +(embedded_engine_name) @function.builtin +(tag_name) @type +(attr_shortcut_class) @function +(attr_shortcut_id) @constant +(attrs ["(" ")" "[" "]" "{" "}"] @punctuation.bracket) +(attr_assignment) @punctuation.delimiter +(attr_assignment_noescape) @punctuation.delimiter