-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add option to run on markdown filetype #8
Comments
In vim-pandoc/vim-pandoc-syntax#333 I created a flavor of the |
Good, that's probably a good path forward until I figure out how to compile |
👍 For now the issue will be in making the lua method performant. In my limited testing it made editing slow to a crawl. |
At the moment this is setup strictly as a syntax highlighter, it doesn't require the filetype being set to match. My current use case is keeping my usual selection of I'm not quite sure how to codify this workflow or another appropriate one for others. |
Have you used my |
No, I haven't. I did see it, but I was mucking around with using My only question is .... vim-pandoc-syntax is easy since we can set it up to load this however we like, but how does this play with people who want to use it stand-alone (and may even have other plugins watching the |
Setting up an autocommand should work, although it won't be as clean as having it integrated with the filetype plugin. In case people are using some other markdown plugin, they should probably also ask upstream to add support. That is not our problem. I don't mean to say that we shouldn't make it easy (for example, we could optionally generate some generic autocommands to latch on specific filetypes, a bit like modules are implemented in |
Currently we're assuming people
:set ft=commonmark
to use this, but given the rest of the ecosystem it's more likely they will want to usemarkdown
or even another filetype, but use this as the syntax. We need a way to enable this use case.The text was updated successfully, but these errors were encountered: