tree_sitter_css

Constant HIGHLIGHTS_QUERY

Source
pub const HIGHLIGHTS_QUERY: &str = "(comment) @comment\n\n(tag_name) @tag\n(nesting_selector) @tag\n(universal_selector) @tag\n\n\"~\" @operator\n\">\" @operator\n\"+\" @operator\n\"-\" @operator\n\"*\" @operator\n\"/\" @operator\n\"=\" @operator\n\"^=\" @operator\n\"|=\" @operator\n\"~=\" @operator\n\"$=\" @operator\n\"*=\" @operator\n\n\"and\" @operator\n\"or\" @operator\n\"not\" @operator\n\"only\" @operator\n\n(attribute_selector (plain_value) @string)\n(pseudo_element_selector (tag_name) @attribute)\n(pseudo_class_selector (class_name) @attribute)\n\n(class_name) @property\n(id_name) @property\n(namespace_name) @property\n(property_name) @property\n(feature_name) @property\n\n(attribute_name) @attribute\n\n(function_name) @function\n\n((property_name) @variable\n (#match? @variable \"^--\"))\n((plain_value) @variable\n (#match? @variable \"^--\"))\n\n\"@media\" @keyword\n\"@import\" @keyword\n\"@charset\" @keyword\n\"@namespace\" @keyword\n\"@supports\" @keyword\n\"@keyframes\" @keyword\n(at_keyword) @keyword\n(to) @keyword\n(from) @keyword\n(important) @keyword\n\n(string_value) @string\n(color_value) @string.special\n\n(integer_value) @number\n(float_value) @number\n(unit) @type\n\n\"#\" @punctuation.delimiter\n\",\" @punctuation.delimiter\n\":\" @punctuation.delimiter\n";