fix(highlights): improve consistency

This commit is contained in:
ObserverOfTime 2024-01-09 11:50:31 +02:00 committed by Christian Clason
parent 4cd951d703
commit 2f38c36294
22 changed files with 62 additions and 76 deletions

View file

@ -125,7 +125,7 @@
] @label
((identifier) @constant.builtin
(#match? @constant.builtin "^__(callee|dir|id|method|send|ENCODING|FILE|LINE)__$"))
(#any-of? @constant.builtin "__callee__" "__dir__" "__id__" "__method__" "__send__" "__ENCODING__" "__FILE__" "__LINE__"))
((constant) @type
(#not-lua-match? @type "^[A-Z0-9_]+$"))