aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/c
diff options
context:
space:
mode:
authorAnton Romanov2022-06-14 17:35:36 +0000
committerGitHub2022-06-14 17:35:36 +0000
commit7983c71752e2443266ecc65581f3a980696cc294 (patch)
tree04f145b2f0c2e2ccb0d5213f169110e2937c075b /runtime/queries/c
parentcdeab337cdba5265dcc72070f2b2e4fd11724670 (diff)
Introduce storage_class highlight scope (#2731)
Diffstat (limited to 'runtime/queries/c')
-rw-r--r--runtime/queries/c/highlights.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/queries/c/highlights.scm b/runtime/queries/c/highlights.scm
index 918f3f66..1263cff6 100644
--- a/runtime/queries/c/highlights.scm
+++ b/runtime/queries/c/highlights.scm
@@ -1,8 +1,9 @@
+(storage_class_specifier) @keyword.storage
+
"goto" @keyword
"register" @keyword
"break" @keyword
"case" @keyword
-"const" @keyword
"continue" @keyword
"default" @keyword
"do" @keyword
@@ -14,7 +15,6 @@
"inline" @keyword
"return" @keyword
"sizeof" @keyword
-"static" @keyword
"struct" @keyword
"switch" @keyword
"typedef" @keyword