aboutsummaryrefslogtreecommitdiffstats
path: root/queries/linkerscript/highlights.scm
diff options
context:
space:
mode:
author再生花 <hoangtun0810@gmail.com>2024-02-23 17:42:01 +0900
committerGitHub <noreply@github.com>2024-02-23 10:42:01 +0200
commit31641d72a4c33536e9d5fc8f829d2ba84211af8a (patch)
tree65d4edd50b87eacb993dab1fd27347d6686d3c0e /queries/linkerscript/highlights.scm
parentfeat(faust): better highlighting of function calls, built-in variables, and m... (diff)
downloadnvim-treesitter-31641d72a4c33536e9d5fc8f829d2ba84211af8a.tar
nvim-treesitter-31641d72a4c33536e9d5fc8f829d2ba84211af8a.tar.gz
nvim-treesitter-31641d72a4c33536e9d5fc8f829d2ba84211af8a.tar.bz2
nvim-treesitter-31641d72a4c33536e9d5fc8f829d2ba84211af8a.tar.lz
nvim-treesitter-31641d72a4c33536e9d5fc8f829d2ba84211af8a.tar.xz
nvim-treesitter-31641d72a4c33536e9d5fc8f829d2ba84211af8a.tar.zst
nvim-treesitter-31641d72a4c33536e9d5fc8f829d2ba84211af8a.zip
feat(format-scripts): linewrap predicates
"format-ignore".kick()
Diffstat (limited to 'queries/linkerscript/highlights.scm')
-rw-r--r--queries/linkerscript/highlights.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/queries/linkerscript/highlights.scm b/queries/linkerscript/highlights.scm
index accaad5ca..23a483745 100644
--- a/queries/linkerscript/highlights.scm
+++ b/queries/linkerscript/highlights.scm
@@ -32,7 +32,10 @@
((call_expression
function: (symbol) @function.builtin)
- (#any-of? @function.builtin "ABSOLUTE" "ALIAS" "ADDR" "ALIGN" "ALIGNOF" "BASE" "BLOCK" "CHIP" "DATA_SEGMENT_ALIGN" "DATA_SEGMENT_END" "DATA_SEGMENT_RELRO_END" "END" "LENGTH" "LOADADDR" "LOG2CEIL" "MAX" "MIN" "NEXT" "ORIGIN" "SEGMENT_START" "SIZEOF" "BYTE" "FILL" "LONG" "SHORT" "QUAD" "SQUAD" "WORD"))
+ (#any-of? @function.builtin
+ "ABSOLUTE" "ALIAS" "ADDR" "ALIGN" "ALIGNOF" "BASE" "BLOCK" "CHIP" "DATA_SEGMENT_ALIGN"
+ "DATA_SEGMENT_END" "DATA_SEGMENT_RELRO_END" "END" "LENGTH" "LOADADDR" "LOG2CEIL" "MAX" "MIN"
+ "NEXT" "ORIGIN" "SEGMENT_START" "SIZEOF" "BYTE" "FILL" "LONG" "SHORT" "QUAD" "SQUAD" "WORD"))
[
"KEEP"