summaryrefslogtreecommitdiff
path: root/config/nvim/after/queries/fennel/highlights.scm
blob: c172336e8583f62374f218c01b5271c80c109dfb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
;; vim: ft=query
;; extends

; (fn
;   name: (symbol) @AlabasterDefinition)
;   ; TODO: add this when https://github.com/nvim-treesitter/nvim-treesitter/issues/1788 is fixed
;   ; docstring: (string)? @AlabasterComment
; (fn
;   name: (multi_symbol (symbol) @AlabasterDefinition))

; (global
;   (binding
;     (symbol) @AlabasterDefinition))

(list
  (symbol) @function.macro
  (#match? @function.macro "^macro$")
  (symbol) @AlabasterDefinition)


; ((program . (hashfn) @AlabasterHashbang)
;  (#match? @AlabasterHashbang "^#!/")
;  (#set! "priority" 101))