aboutsummaryrefslogblamecommitdiff
path: root/runtime/queries/odin/highlights.scm
blob: d474bf3a221f9b9edc1720ee8a06678a2bb2ec48 (plain) (tree)
1
2
3
4
5
6
7
8
9
                    
 



                                         
 

                               
 
                                    
                                            
                            
 
 
                                           
 
                                      
(keyword) @keyword
(operator) @operator

(int_literal)   @constant.numeric.integer
(float_literal) @constant.numeric.float
(rune_literal)  @constant.character
(bool_literal) @constant.builtin.boolean
(nil) @constant.builtin

(type_identifier)    @type
(package_identifier) @namespace
(label_identifier)   @label

(interpreted_string_literal) @string
(raw_string_literal) @string
(escape_sequence) @constant.character.escape

(comment) @comment
(const_identifier) @constant


(compiler_directive) @keyword.directive
(calling_convention) @string.special.symbol

(identifier) @variable
(pragma_identifier) @keyword.directive