Commit 2baeabb
authored
Correctly highlight links without suffix (#380)
This is a revert of ad853fe. The original changes in ad853fe claimed
to be in service of this snippet:
Here is some mono space linked text: [`project`](https://github.com/vim-pandoc/vim-pandoc-syntax).
If I put here more `mono spaced` text, afterwards, the rest of the document is highlited wrong, try it yourself.
This snippet highlights completely fine, even without the changes made
in ad853fe.
On the other hand, this change prevents this snippet from highlighting
the `[anchor]` inside the sentence:
This is an [anchor] tag that should be auto-linked.
[anchor]: https://example.com
I would love to revert the original change. Reverting it seems purely
additive to me (does not break old behaviors, adds new behaviors).1 parent 1b77f00 commit 2baeabb
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | | - | |
| 321 | + | |
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
| |||
0 commit comments