on master help sign in
erlang: fix '#match?' for specs/callbacks
4a0dab8Michael Davis
runtime/queries/erlang/highlights.scm+1−1
@@ -54,8 +54,8 @@
54
54
55(attribute
55(attribute
56 name: (atom) @keyword
56 name: (atom) @keyword
57− (#eq? @keyword "(spec|callback)"))
58 module: (atom) @namespace
57 module: (atom) @namespace
58+ (#match? @keyword "(spec|callback)"))
59
59
60; Functions
60; Functions
61(function_clause name: (atom) @function)
61(function_clause name: (atom) @function)