Commit 9be8158
committed
Fix pandocPipeTable highlighting
For some of my Markdown projects, I use kramdown which has support
for block inline attribute lists. The code to check for piped tables
doesn't quite play nicely when I try to add a class to it. For example,
in the following snippit the table never ends according to the current
code:
```markdown
| Heading 1 | Heading 2 |
| --------- | --------- |
| vim-pandoc-syntax | is |
| so | great |
{:sparkling}
## Not Styled as Heading!
Oh noes :'(
```
This fixes the problem by just checking to see if there's a `{`
character there.
# Please enter the commit message for your changes. Lines starting
# with '#' will be kept; you may remove them yourself if you want to.
# An empty message aborts the commit.
#
# Date: Fri Sep 25 02:38:19 2015 -0400
#
# On branch fix/pandoc-pipe-tables
# Changes to be committed:
# modified: syntax/pandoc.vim
#1 parent ea15560 commit 9be8158
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
360 | | - | |
| 360 | + | |
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
| |||
0 commit comments