vim-pandoc / vim-pandoc-syntax

pandoc markdown syntax, to be installed alongside vim-pandoc
MIT License
425 stars 61 forks source link

Fix things that look like tables in code blocks #361

Closed jez closed 2 years ago

jez commented 3 years ago

When I have a markdown document that looks like this:

```yaml
---
foo: bar
---
```

the pandocDelimitedCodeBlockStart region was tricking the ALLBUT, making Vim think that it should treat the --- as the start of a simple table, even though it was inside a code block.

Before

Screen Shot 2021-06-26 at 1 58 04 PM Screen Shot 2021-06-26 at 1 58 22 PM Screen Shot 2021-06-26 at 1 58 49 PM

After

Screen Shot 2021-06-26 at 1 55 13 PM
jez commented 2 years ago

Bump on this! It's approved but not merged. Is there anything left you need from me? Happy to help, and thanks in advance.

fmoralesc commented 2 years ago

Thanks for the reminder! LGTM.