From 5f6f866c86fdef9fbcdb72a7dbe1d082a664a9c7 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Wed, 28 Sep 2022 14:49:51 +0200 Subject: update vimdoc parser and queries --- queries/help/highlights.scm | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'queries/help') diff --git a/queries/help/highlights.scm b/queries/help/highlights.scm index 500d08b8..6be4e49c 100644 --- a/queries/help/highlights.scm +++ b/queries/help/highlights.scm @@ -1,15 +1,16 @@ -(headline) @text.title +(h1) @text.title +(h2) @text.title +(h3) @text.title (column_heading) @text.title (tag "*" @conceal (#set! conceal "") - name: (_) @label) -(option - "'" @conceal (#set! conceal "") - name: (_) @text.literal) -(hotlink + text: (_) @label) +(taglink "|" @conceal (#set! conceal "") - destination: (_) @text.reference) -(backtick + text: (_) @text.reference) +(optionlink + text: (_) @text.literal) +(codespan "`" @conceal (#set! conceal "") - content: (_) @string) + text: (_) @string) (argument) @parameter -- cgit v1.2.3