summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--queries/c/highlights.scm14
1 files changed, 13 insertions, 1 deletions
diff --git a/queries/c/highlights.scm b/queries/c/highlights.scm
index eda46bb5..3b33f303 100644
--- a/queries/c/highlights.scm
+++ b/queries/c/highlights.scm
@@ -170,5 +170,17 @@
(preproc_params
(identifier)) @parameter
-"__attribute__" @attribute
+[
+ "__attribute__"
+ "__cdecl"
+ "__clrcall"
+ "__stdcall"
+ "__fastcall"
+ "__thiscall"
+ "__vectorcall"
+ "_unaligned"
+ "__unaligned"
+ "__declspec"
+] @attribute
+
(ERROR) @error