hyperlist.vim
hyperlist.vim copied to clipboard
Folding not working inside markdown fenced codeblocks
Folding doesn't work inside markdown fenced codeblocks formatted like this (backspaces only here for github formatting):
\```hl
test task
another test task
\```
While (neo)vim does select the correct plugin to handle the language, it doesn't detect the folds. Links however do work.
I would tackle this problem myself, but as the codebase is a bit intimidating and I'm not that familiar with vimscript I would need some pointers first.
I'm not that familiar with neovim, so we could make a dig at this together if you want. What pointers would you like? We could scheduale a chat to play ball on this.
I will try if I can reproduce the bug in vim when I get to it.
If this doesn't work I may have to dig into the handling of markdown in neovim specifically.
Ok, I managed to reproduce the issue in vim with following vimrc (using vim plug):
call plug#begin('~/.config/vim/plugged')
Plug 'isene/hyperlist.vim'
call plug#end()
let g:markdown_fenced_languages = ['hyperlist', 'hl=hyperlist']