aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Hotham <david.hotham@metaswitch.com>2020-12-19 20:59:02 +0000
committerThomas Vigouroux <tomvig38@gmail.com>2020-12-25 15:56:06 +0100
commit0c1904902370f63c12f7658bd1e16046dc9e4a09 (patch)
tree8678356e72945b740678b069c59e322f39c06ef8
parentfixes to bash highlighting (diff)
downloadnvim-treesitter-0c1904902370f63c12f7658bd1e16046dc9e4a09.tar
nvim-treesitter-0c1904902370f63c12f7658bd1e16046dc9e4a09.tar.gz
nvim-treesitter-0c1904902370f63c12f7658bd1e16046dc9e4a09.tar.bz2
nvim-treesitter-0c1904902370f63c12f7658bd1e16046dc9e4a09.tar.lz
nvim-treesitter-0c1904902370f63c12f7658bd1e16046dc9e4a09.tar.xz
nvim-treesitter-0c1904902370f63c12f7658bd1e16046dc9e4a09.tar.zst
nvim-treesitter-0c1904902370f63c12f7658bd1e16046dc9e4a09.zip
match test for regex
-rw-r--r--queries/bash/highlights.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/queries/bash/highlights.scm b/queries/bash/highlights.scm
index 943c23dfb..709ccd6ac 100644
--- a/queries/bash/highlights.scm
+++ b/queries/bash/highlights.scm
@@ -29,6 +29,7 @@
"|"
"||"
"="
+ "=~"
"=="
"!="
] @operator
@@ -117,3 +118,5 @@
(case_item
value: (word) @parameter)
+
+(regex) @string.regex