From 96ee5b5382846aacaefda991147aae5301dea5f4 Mon Sep 17 00:00:00 2001 From: Santos Gallegos Date: Sun, 19 Jun 2022 14:36:37 -0500 Subject: [PATCH] Help: update highlights - A hotlink on vimdoc is `|foo|`. Which is a reference to part of a document, not a URI. - (argument) wasn't being highlighted, wasn't sure about the best hl group for this, but `@parameter` seems the obvious one? --- queries/help/highlights.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/queries/help/highlights.scm b/queries/help/highlights.scm index e2fb65533..500d08b84 100644 --- a/queries/help/highlights.scm +++ b/queries/help/highlights.scm @@ -8,7 +8,8 @@ name: (_) @text.literal) (hotlink "|" @conceal (#set! conceal "") - destination: (_) @text.uri) + destination: (_) @text.reference) (backtick "`" @conceal (#set! conceal "") content: (_) @string) +(argument) @parameter