preservim / vim-markdown

Markdown Vim Mode
4.67k stars 521 forks source link

Fenced code blocks not highlighting syntax for some reason #446

Closed lfilho closed 5 years ago

lfilho commented 5 years ago

Hi there! Thanks for your great plugin!

I need some help to debug why the fenced blocks are not highlighting correctly. See:

image

changing to sh, or shell doesn't make a difference. And:

image

Plugin Details:

NVIM Details:

NVIM v0.3.8
Build type: Release
LuaJIT 2.0.5
Compilation: /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/tmp/neovim-20190704-11886-1ukicoc/neovim-0.3.8/build/config -I/tmp/neovim-20190704-11886-1ukicoc/neovim-0.3.8/src -I/usr/local/include -I/usr/local/opt/gettext/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/tmp/neovim-20190704-11886-1ukicoc/neovim-0.3.8/build/src/nvim/auto -I/tmp/neovim-20190704-11886-1ukicoc/neovim-0.3.8/build/include
Compiled by brew@Mojave.local

Features: +acl +iconv +jemalloc +tui
lfilho commented 5 years ago

I have also removed the augrop wrappers just for testing. No luck. Also, as you can see on the screenshot above, should concealing be auto enabled? If so, seems like the entire plugin is not loading/working?

lfilho commented 5 years ago

Just found https://github.com/plasticboy/vim-markdown/issues/268 and https://github.com/sheerun/vim-polyglot/issues/152#issuecomment-497419925

trying the suggestion in the last link...

lfilho commented 5 years ago

Yeah, confirmed the above worked, although not ideal. Closing this issue since we already have #268