Skip to content

Syntax file in unexpected location #127

@pwntester

Description

@pwntester

Hi,

I have a custom syntax that embeds markdown blocks, so my syntax file looks something like:

syntax include @markdown syntax/markdown.vim
...
syntax region comment matchgroup=CommentDelimiters start=/^---$/ keepend end=/^---$/  contains=@markdown

However, these blocks are highlighted using the built-in markdown syntax rather than MKDX one, since MKDX has its syntax defined in syntax/markdown/mkdx.vim. Moving this file to syntax/markdown.vim fixes my problem.

Is there any reason why the syntax file is defined in syntax/markdown/mkdx.vim rather than syntax/markdown.vim. If not, can we move this file?

Thanks,
A

Metadata

Metadata

Assignees

Labels

bug:reportSomething does not work as intended / expected.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions