diff options
| author | Santos Gallegos <stsewd@protonmail.com> | 2022-06-19 14:36:37 -0500 |
|---|---|---|
| committer | Christian Clason <christian.clason@uni-due.de> | 2022-06-19 22:11:42 +0200 |
| commit | 96ee5b5382846aacaefda991147aae5301dea5f4 (patch) | |
| tree | c459bb856bcbe1ba7a25d5098c39a3a2d3d02321 | |
| parent | e68ea36745eaf56706cf7f1afbedc6ad8b674ff5 (diff) | |
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?
| -rw-r--r-- | queries/help/highlights.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/queries/help/highlights.scm b/queries/help/highlights.scm index e2fb6553..500d08b8 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 |
