aboutsummaryrefslogtreecommitdiffstats
path: root/queries/linkerscript
diff options
context:
space:
mode:
Diffstat (limited to 'queries/linkerscript')
-rw-r--r--queries/linkerscript/highlights.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/queries/linkerscript/highlights.scm b/queries/linkerscript/highlights.scm
index f933f31ca..0453ded85 100644
--- a/queries/linkerscript/highlights.scm
+++ b/queries/linkerscript/highlights.scm
@@ -13,13 +13,13 @@
; Conditionals
-(conditional_expression [ "?" ":" ] @conditional.ternary)
+(conditional_expression [ "?" ":" ] @keyword.conditional.ternary)
; Variables
(symbol) @variable
-(filename) @string.special @text.underline
+(filename) @string.special.path
; Functions
@@ -27,8 +27,8 @@
function: (symbol) @function.call)
((call_expression
- function: (symbol) @preproc)
- (#eq? @preproc "DEFINED"))
+ function: (symbol) @keyword.directive)
+ (#eq? @keyword.directive "DEFINED"))
((call_expression
function: (symbol) @function.builtin)
@@ -52,7 +52,7 @@
[
"ORIGIN" "org" "o"
"LENGTH" "len" "l"
-] @field.builtin
+] @variable.member.builtin
; Constants
@@ -80,7 +80,7 @@
; Exceptions
-"ASSERT" @exception
+"ASSERT" @keyword.exception
[
"/DISCARD/"