on master help sign in
erlang: highlight modules in behaviour attributes
c8dba2fMichael Davis
runtime/queries/erlang/highlights.scm+1−1
@@ -3,7 +3,7 @@
3(attribute
3(attribute
4 name: (atom) @keyword
4 name: (atom) @keyword
5 (arguments (atom) @namespace)
5 (arguments (atom) @namespace)
6− (#eq? @keyword "module"))
6+ (#match? @keyword "(module|behaviou?r)"))
7
7
8(attribute
8(attribute
9 name: (atom) @keyword
9 name: (atom) @keyword