Skip to content

Figure out how to handle being embedded #25

Open
@alerque

Description

@alerque

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Figure out how to handle being embedded · Issue #25 · alerque/vim-commonmark