-
Notifications
You must be signed in to change notification settings - Fork 13
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
Syntax file in unexpected location #127
Comments
I'm not sure if this would cause any issues either actually, I'm not sure what my exact reasoning was when I first introduced the syntax file, perhaps just convention. I'll check this out soon (also another issue that needs some attention so already had plans), If both vim and neovim function normally after the rename it shouldn't be a problem. Cheers for the feedback 👍 |
Thanks for considering it. Just to make it more clear, I could change the path of the include on my plugin, but I expect it to work with any markdown plugins. For example plasticboy one places the syntax file in the expected location. Thanks! |
@pwntester you can test it out by updating mkdx, I checked vim and neovim and everything seemed fine. The syntax file should now be in the proper location. Let me know if it works! |
worked thanks! |
Oops, seems there is one more change needed in
|
Good catch! Fixed it and checked for other occurrences of |
Hi,
I have a custom syntax that embeds markdown blocks, so my syntax file looks something like:
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 tosyntax/markdown.vim
fixes my problem.Is there any reason why the syntax file is defined in
syntax/markdown/mkdx.vim
rather thansyntax/markdown.vim
. If not, can we move this file?Thanks,
A
The text was updated successfully, but these errors were encountered: