erlang: fix '#match?' for specs/callbacks

pull/2938/head
Michael Davis 2 years ago committed by Blaž Hrastnik
parent e4e8a39bf7
commit 4a0dab8bc2

@ -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…
Cancel
Save