From 39904fd016120d87010a93ccb9845c821ba2f1dd Mon Sep 17 00:00:00 2001 From: Omar Valdez Date: Mon, 14 Oct 2024 00:19:10 -0700 Subject: don't capture tables as headings --- queries/toml/highlights.scm | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/queries/toml/highlights.scm b/queries/toml/highlights.scm index f0a5177a7..f4eaf3f77 100644 --- a/queries/toml/highlights.scm +++ b/queries/toml/highlights.scm @@ -1,23 +1,4 @@ -(table - [ - (bare_key) @markup.heading - (dotted_key - (bare_key) @markup.heading) - ]) - -(table_array_element - [ - (bare_key) @markup.heading - (dotted_key - (bare_key) @markup.heading) - ]) - -(pair - [ - (bare_key) @property - (dotted_key - (bare_key) @property) - ]) +(bare_key) @property [ (string) -- cgit v1.2.3-70-g09d2