aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/latex
diff options
context:
space:
mode:
authorGokul Soumya2021-12-18 18:35:43 +0000
committerBlaž Hrastnik2021-12-19 06:23:39 +0000
commit7c01d926536bcaacc92bbf4a2b1a06e96e6268a0 (patch)
tree0f8abcf91564a1c7823fbfd285326bdf4cf87024 /runtime/queries/latex
parent8208d22601dfbecbdaa14be273e998eccfd63220 (diff)
Add link and quote queries for markdown
- Rename markup.underline.link to markup.link.url - Add markup.link.label - Add markup.quote (The constructor theme scope was missing from the docs, so unrelated to this commit).
Diffstat (limited to 'runtime/queries/latex')
-rw-r--r--runtime/queries/latex/highlights.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/queries/latex/highlights.scm b/runtime/queries/latex/highlights.scm
index 2e308f77..0a030b31 100644
--- a/runtime/queries/latex/highlights.scm
+++ b/runtime/queries/latex/highlights.scm
@@ -371,7 +371,7 @@
((generic_command
name:(generic_command_name) @_name
.
- arg: (_) @markup.underline.link)
+ arg: (_) @markup.link.url)
(#match? @_name "^(\\\\url|\\\\href)$"))
(ERROR) @error