erlang: highlight modules in behaviour attributes

This commit is contained in:
Michael Davis 2022-06-29 12:44:01 -05:00 committed by Blaž Hrastnik
parent 19acbfe02d
commit c8dba2f4c6

View File

@ -3,7 +3,7 @@
(attribute (attribute
name: (atom) @keyword name: (atom) @keyword
(arguments (atom) @namespace) (arguments (atom) @namespace)
(#eq? @keyword "module")) (#match? @keyword "(module|behaviou?r)"))
(attribute (attribute
name: (atom) @keyword name: (atom) @keyword