aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorObserverOfTime <chronobserver@disroot.org>2022-10-24 12:29:10 +0300
committerObserverOfTime <chronobserver@disroot.org>2022-11-26 13:17:51 +0200
commit00ee32aca990af855c862ed4986197f6530b2da6 (patch)
treea7530ba6593e0ce33b87f5a6a79d51ae03eaae1b
parentinjections(yang): add comment & regex (diff)
downloadnvim-treesitter-00ee32aca990af855c862ed4986197f6530b2da6.tar
nvim-treesitter-00ee32aca990af855c862ed4986197f6530b2da6.tar.gz
nvim-treesitter-00ee32aca990af855c862ed4986197f6530b2da6.tar.bz2
nvim-treesitter-00ee32aca990af855c862ed4986197f6530b2da6.tar.lz
nvim-treesitter-00ee32aca990af855c862ed4986197f6530b2da6.tar.xz
nvim-treesitter-00ee32aca990af855c862ed4986197f6530b2da6.tar.zst
nvim-treesitter-00ee32aca990af855c862ed4986197f6530b2da6.zip
highlights(toml): fix captures
-rw-r--r--queries/toml/highlights.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/queries/toml/highlights.scm b/queries/toml/highlights.scm
index 87e670b40..5255a20ab 100644
--- a/queries/toml/highlights.scm
+++ b/queries/toml/highlights.scm
@@ -1,8 +1,9 @@
; Properties
;-----------
-(bare_key) @property
+(bare_key) @type
(quoted_key) @string
+(pair (bare_key)) @property
; Literals
;---------