Skip to content
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

Figure out how to handle being embedded #25

Open
alerque opened this issue May 25, 2020 · 0 comments
Open

Figure out how to handle being embedded #25

alerque opened this issue May 25, 2020 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@alerque
Copy link
Owner

alerque commented May 25, 2020

One cool feature of vim's syntax highlighting is the way it can embed an entire set of syntax rules in a group for another language. This is most often employed for Markdown the other way: fenced code blocks can contain other languages. But it's possible to use the other way around and many languages (Rust and Python documentation strings, etc.) can embed markdown.

The way we're handling passing the full buffer contents makes this system blow up. Either we need to figure out a way to handle it or document that it doesn't work like that.

@alerque alerque added the documentation Improvements or additions to documentation label May 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant