Markdown Toc raise Error
cstsunfu opened this issue · comments
Describe the bug
When I use the buildin :Vista toc for markdown file, will raise an error
Error detected while processing function vista#[18]..vista#sidebar#Toggle[4]..vista#sidebar#Open[6]..vista#toc#Run[11]..<SNR>158_TryRunExtension[9]..vista#extension#markdown#Execute[4]..vista#renderer#markdown_like#MD[2]..<SNR>163_MD[1]..<SNR>163_BuildRo
w:
line 2:
E684: list index out of range: 0
E116: Invalid arguments for function s:Join
Use :Vista ctags works but ugly.
Environment:
- OS: macOS && Ubuntu 20.04
- Vim/Neovim version: neovim 0.6 && neovim 0.7
- This plugin version: origin/master
- I'm using universal-ctags:
- Ctags version: newest
- I'm using some LSP client:
- Related Vim LSP client: coc
- Have you tried updated to the latest version of this LSP client: Yes
Vista info
Error detected while processing function vista#[18]..vista#sidebar#Toggle[4]..vista#sidebar#Open[6]..vista#toc#Run[11]..<SNR>158_TryRunExtension[9]..vista#extension#markdown#Execute[4]..vista#renderer#markdown_like#MD[2]..<SNR>163_MD[1]..<SNR>163_BuildRo
w:
line 2:
E684: list index out of range: 0
E116: Invalid arguments for function s:Join