summaryrefslogblamecommitdiffstats
path: root/.config/nvim/queries/python/highlights.scm
blob: a2179ec56bef29dd545e3b32efdaabce0bf2ff7e (plain) (tree)
1
2
3
4
5
6
7

         



                                        
 






                                 
            
; extends

; function and class docstring detection
(block
  (expression_statement
    (string)) @docstring)

; shpinx detection in docstring
; (block
;   (expression_statement
;     (string
;       (string_content))) @type)

; type hint detection
(type) @type
remember that computers suck.