1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 10:30:05 +08:00

fix(markdown): lazy load toc plugin on_ft

This commit is contained in:
Eric Wong 2024-06-27 18:21:41 +08:00
parent de0760cef7
commit 059d407b7d

View File

@ -73,6 +73,7 @@ function! SpaceVim#layers#lang#markdown#plugins() abort
call add(plugins, ['joker1007/vim-markdown-quote-syntax',{ 'on_ft' : 'markdown'}])
call add(plugins, [g:_spacevim_root_dir . 'bundle/vim-markdown-toc', {
\ 'merged' : 0,
\ 'on_ft' : 'markdown',
\ 'on_cmd' :
\ ['GenTocGFM', 'GenTocGitLab', 'GenTocMarked', 'GenTocModeline', 'GenTocRedcarpet']}])
call add(plugins, ['iamcco/mathjax-support-for-mkdp',{ 'on_ft' : 'markdown'}])