Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Underline the linkend attribute, not the whole tag.

  • Loading branch information...
commit b31389dea1eae81651c9807c1b7b6088105d1174 1 parent 8e40eae
@nelstrom authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 syntax/pml.vim
View
5 syntax/pml.vim
@@ -2,5 +2,6 @@ runtime! syntax/xml.vim
syntax spell toplevel
-syntax match pmlCrossReference "<p\=ref\>\_[^>]*>"
-hi def link pmlCrossReference Underlined
+syntax match pmlLinkend @linkend=\('\zs[^']\+\ze'\|\"\zs[^"]\+\ze"\)@ contained
+syntax match pmlCrossReference "<p\=ref\>\_[^>]*>" contains=pmlLinkend
+hi def link pmlLinkend Underlined
Please sign in to comment.
Something went wrong with that request. Please try again.