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

This commit is contained in:
Michael Davis 2022-06-28 13:08:59 -05:00 committed by Blaž Hrastnik
parent e4e8a39bf7
commit 4a0dab8bc2

View file

@ -54,8 +54,8 @@
(attribute
name: (atom) @keyword
(#eq? @keyword "(spec|callback)"))
module: (atom) @namespace
(#match? @keyword "(spec|callback)"))
; Functions
(function_clause name: (atom) @function)