aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2020-10-02 16:41:07 +0200
committerThomas Vigouroux <tomvig38@gmail.com>2020-10-05 06:37:31 +0200
commit93f9708a3c21c79dd0186444af9599758432d6ab (patch)
tree7ab61e589bc0fc5b4289c9f77d99926e62705830
parentfix: readme link to nvim-treesitter-textobjects (diff)
downloadnvim-treesitter-93f9708a3c21c79dd0186444af9599758432d6ab.tar
nvim-treesitter-93f9708a3c21c79dd0186444af9599758432d6ab.tar.gz
nvim-treesitter-93f9708a3c21c79dd0186444af9599758432d6ab.tar.bz2
nvim-treesitter-93f9708a3c21c79dd0186444af9599758432d6ab.tar.lz
nvim-treesitter-93f9708a3c21c79dd0186444af9599758432d6ab.tar.xz
nvim-treesitter-93f9708a3c21c79dd0186444af9599758432d6ab.tar.zst
nvim-treesitter-93f9708a3c21c79dd0186444af9599758432d6ab.zip
Dart highlights: Reset highlight in interpolation
-rw-r--r--plugin/nvim-treesitter.vim2
-rw-r--r--queries/dart/highlights.scm2
-rw-r--r--queries/python/highlights.scm2
3 files changed, 3 insertions, 3 deletions
diff --git a/plugin/nvim-treesitter.vim b/plugin/nvim-treesitter.vim
index 59954f21c..4ac0ca9d1 100644
--- a/plugin/nvim-treesitter.vim
+++ b/plugin/nvim-treesitter.vim
@@ -11,7 +11,7 @@ let g:loaded_nvim_treesitter = 1
lua require'nvim-treesitter'.setup()
-highlight default TSNone term=none cterm=none gui=none guifg=none guibg=none
+highlight default TSNone term=NONE cterm=NONE gui=NONE
highlight default link TSError TSNone
diff --git a/queries/dart/highlights.scm b/queries/dart/highlights.scm
index 12ef27d1a..1c5591ac9 100644
--- a/queries/dart/highlights.scm
+++ b/queries/dart/highlights.scm
@@ -19,7 +19,7 @@
"$" @punctuation.special
"{" @punctuation.special
"}" @punctuation.special
-) @embedded
+) @none
[
"@"
diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm
index b571c951d..b0cae4cfc 100644
--- a/queries/python/highlights.scm
+++ b/queries/python/highlights.scm
@@ -5,7 +5,7 @@
(identifier) @variable
; Reset highlighing in f-string interpolations
-(interpolation) @Normal
+(interpolation) @none
;; Identifier naming conventions
((identifier) @type