highlights(llvm): use more specific groups

This commit is contained in:
ObserverOfTime 2022-11-16 18:32:01 +02:00
parent e3f376ed67
commit ae51bc0638

View file

@ -1,3 +1,8 @@
[
(local_var)
(global_var)
] @variable
(type) @type
(type_keyword) @type.builtin
@ -6,6 +11,9 @@
(global_var)
] @type)
(global_type
(local_var) @type.definition)
(argument) @parameter
(_ inst_name: _ @keyword.operator)
@ -68,10 +76,6 @@
"ifunc"
"section"
"comdat"
"thread_local"
"localdynamic"
"initialexec"
"localexec"
"any"
"exactmatch"
"largest"
@ -80,15 +84,26 @@
"distinct"
"attributes"
"vscale"
"no_cfi"
] @keyword
(linkage_aux) @keyword
(dso_local) @keyword
(visibility) @keyword
(dll_storage_class) @keyword
(unnamed_addr) @keyword
(attribute_name) @keyword
[
"no_cfi"
(dso_local)
(linkage_aux)
(visibility)
] @type.qualifier
[
"thread_local"
"localdynamic"
"initialexec"
"localexec"
(unnamed_addr)
(dll_storage_class)
] @storageclass
(attribute_name) @attribute
(function_header [
(linkage)
@ -104,11 +119,6 @@
(_ inst_name: "ret" @keyword.return)
(float) @float
[
(local_var)
(global_var)
] @variable
[
(struct_value)
(array_value)