summaryrefslogtreecommitdiffstats
path: root/.config/nvim/queries/python/highlights.scm
blob: a2179ec56bef29dd545e3b32efdaabce0bf2ff7e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
; 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.