erlang: fix '#match?' for specs/callbacks
This commit is contained in:
parent
e4e8a39bf7
commit
4a0dab8bc2
1 changed files with 1 additions and 1 deletions
|
@ -54,8 +54,8 @@
|
||||||
|
|
||||||
(attribute
|
(attribute
|
||||||
name: (atom) @keyword
|
name: (atom) @keyword
|
||||||
(#eq? @keyword "(spec|callback)"))
|
|
||||||
module: (atom) @namespace
|
module: (atom) @namespace
|
||||||
|
(#match? @keyword "(spec|callback)"))
|
||||||
|
|
||||||
; Functions
|
; Functions
|
||||||
(function_clause name: (atom) @function)
|
(function_clause name: (atom) @function)
|
||||||
|
|
Loading…
Reference in a new issue