aboutsummaryrefslogtreecommitdiffstats
path: root/queries/ruby
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2020-10-10 14:54:04 +0200
committerStephan Seitz <stephan.lauf@yahoo.de>2020-10-12 13:26:51 +0200
commit7c96582ef187d607a677b1553bfa2dd327729ad6 (patch)
treee9ea6d8ae4988caa4ec53ea4e1307419e124b06e /queries/ruby
parentExplicitly check for cterm and gui values for fg (diff)
downloadnvim-treesitter-7c96582ef187d607a677b1553bfa2dd327729ad6.tar
nvim-treesitter-7c96582ef187d607a677b1553bfa2dd327729ad6.tar.gz
nvim-treesitter-7c96582ef187d607a677b1553bfa2dd327729ad6.tar.bz2
nvim-treesitter-7c96582ef187d607a677b1553bfa2dd327729ad6.tar.lz
nvim-treesitter-7c96582ef187d607a677b1553bfa2dd327729ad6.tar.xz
nvim-treesitter-7c96582ef187d607a677b1553bfa2dd327729ad6.tar.zst
nvim-treesitter-7c96582ef187d607a677b1553bfa2dd327729ad6.zip
Ruby highlights: reset highlight on interpolation
@TravonteD
Diffstat (limited to 'queries/ruby')
-rw-r--r--queries/ruby/highlights.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/queries/ruby/highlights.scm b/queries/ruby/highlights.scm
index 0dea8e8bb..cb8455710 100644
--- a/queries/ruby/highlights.scm
+++ b/queries/ruby/highlights.scm
@@ -1,5 +1,8 @@
; Variables
(identifier) @variable
+(interpolation
+ "#{" @punctuation.special
+ "}" @punctuation.special) @none
; Keywords