mzlogin / vim-markdown-toc

A vim 7.4+ plugin to generate table of contents for Markdown files.
http://www.vim.org/scripts/script.php?script_id=5460
MIT License
609 stars 59 forks source link

Error with Vimwiki: Range too large in character class #71

Open yohannes opened 4 years ago

yohannes commented 4 years ago

Does anyone use Vimwiki with VMT? I just upgraded my instance of Vimwiki to 2.5 and now, any generated TOC link caused the following error when jumping to the item it points to:

Error Detected while processing function vimwiki#base#follow_link[69] .. vimwiki#base#open_link[34] .. vimwiki#base#edit_file[32] .. <SNR>46_jump_to_anchor[12] .. <SNR>46_jump_to_segment: 
line 23:
E945: Range to large in character class

However, I have no problem jumping from links generated by Vimwiki. Any pointer on how to investigate this error further?

Best, Yohannes