erlang: highlight nullary macros as constants

imgbot
Michael Davis 2 years ago committed by Blaž Hrastnik
parent 26501afe13
commit d523280e85

@ -38,8 +38,8 @@
(arguments
.
[
(atom) @keyword.directive
(variable) @keyword.directive
(atom) @constant
(variable) @constant
(call
function:
[(variable) (atom)] @keyword.directive)
@ -99,6 +99,11 @@
(comment) @comment
; Macros
(macro
"?"+ @constant
name: (_) @constant
!arguments)
(macro
"?"+ @keyword.directive
name: (_) @keyword.directive)

Loading…
Cancel
Save