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

code fenced block for lua not working well #634

Open
laoshaw opened this issue Jul 8, 2023 · 2 comments
Open

code fenced block for lua not working well #634

laoshaw opened this issue Jul 8, 2023 · 2 comments

Comments

@laoshaw
Copy link

laoshaw commented Jul 8, 2023

image

which code syntax highlighter is used by vim-markdown?

@alerque
Copy link
Member

alerque commented Sep 20, 2023

The code blocks should just be passed back to VIM for whatever highlighting it would do for a given filetype. Are you setting the language of your code blocks, e.g.:

```lua
local foo = true
```

@laoshaw
Copy link
Author

laoshaw commented Sep 20, 2023

yes, I made sure my .vimrc has only one Plug, that is vim-markdown, all lua files are syntax highlighted fine, but not within a markdown lua block:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants