aboutsummaryrefslogtreecommitdiffstats
path: root/queries/bash
diff options
context:
space:
mode:
authorOmar Valdez <omarantoniovaldezf2@gmail.com>2024-11-20 17:40:25 -0800
committerChristian Clason <ch.clason+github@icloud.com>2024-11-21 16:47:55 +0100
commitfb12c7f8a385b1b695bdb17dcd5832ccb416d4c3 (patch)
treebbc068572b7c1d9051d40c619b87b5426aeefb3b /queries/bash
parentfeat(vim): highlight prepend operator (diff)
downloadnvim-treesitter-fb12c7f8a385b1b695bdb17dcd5832ccb416d4c3.tar
nvim-treesitter-fb12c7f8a385b1b695bdb17dcd5832ccb416d4c3.tar.gz
nvim-treesitter-fb12c7f8a385b1b695bdb17dcd5832ccb416d4c3.tar.bz2
nvim-treesitter-fb12c7f8a385b1b695bdb17dcd5832ccb416d4c3.tar.lz
nvim-treesitter-fb12c7f8a385b1b695bdb17dcd5832ccb416d4c3.tar.xz
nvim-treesitter-fb12c7f8a385b1b695bdb17dcd5832ccb416d4c3.tar.zst
nvim-treesitter-fb12c7f8a385b1b695bdb17dcd5832ccb416d4c3.zip
feat(bash): highlight redirections
Diffstat (limited to 'queries/bash')
-rw-r--r--queries/bash/highlights.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/queries/bash/highlights.scm b/queries/bash/highlights.scm
index 5f6b00825..58d57d9e5 100644
--- a/queries/bash/highlights.scm
+++ b/queries/bash/highlights.scm
@@ -194,7 +194,10 @@
(#lua-match? @number "^[0-9]+$"))
(file_redirect
- destination: (word) @variable.parameter)
+ (word) @string.special.path)
+
+(herestring_redirect
+ (word) @string)
(file_descriptor) @operator