Closed sbromberger closed 5 years ago
Do you even have the syntax plugin installed? I see it listed in your plugin list but did you actually install it (:PlugInstall
if that is vim-plug
).
Is your filetype set to pandoc
?
Your example works fine for me in testing. I would only note that in order to style headers you need no spaces in the separator line, like this:
# pipe tables
| foo | bar | baz |
|-----|-----|-----|
| 1 | 2 | 3 |
@alerque -
Do you even have the syntax plugin installed?
Yes.
Is your filetype set to
pandoc
?
Yes (see status line in lower right).
Closing this out since I've switched to a different package. Thanks.
@sbromberger It would be nice to know if the problem really was caused by vim-pandoc-syntax, so I think closing the issue is premature. But of course, it's okay if you don't want to bother with it anymore. Or was the problem that the syntax file was not properly loaded?
On Mon, May 6, 2019, 4:27 PM Seth Bromberger notifications@github.com wrote:
Closed #271 https://github.com/vim-pandoc/vim-pandoc-syntax/issues/271.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/vim-pandoc/vim-pandoc-syntax/issues/271#event-2321148167, or mute the thread https://github.com/notifications/unsubscribe-auth/AABWCGPBD7HQLFLDJFEFQMTPUA54TANCNFSM4HK26WXA .
Also hearing what syntax package you switched to that handles tables better would be nice to know! We might learn a thing on two.
It would be nice to know if the problem really was caused by vim-pandoc-syntax, so I think closing the issue is premature.
Sorry about that - feel free to reopen, but the project that required markdown project finished last month (I opened this issue about 3 months ago) and I don't really have the time to troubleshoot any further.
As far as replacement packages go, I never did find one that handled tables automatically. I wound up using plasticboy/vim-markdown
for my project - it wasn't as full-featured, perhaps, but it didn't require any external plugins beyond tabular
, which also gave me table formatting using :TableFormat
.
I've tried replicating the pipe table example in my installation of vim-pandoc (with vim-pandoc-syntax) and I can't get the tables to render. An example:
Yields simply
Italics, bold, and headings work properly. What am I doing wrong with tables?
on vim 8.1.950
Thanks for any advice.