mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-04-14 15:19:12 +08:00
Update md plugins
This commit is contained in:
parent
b81101ccac
commit
9e99f79967
@ -77,7 +77,7 @@ SpaceVim load custom configuration from `~/.SpaceVim.d/init.vim`,
|
||||
|
||||
here is an example:
|
||||
|
||||
```viml
|
||||
```vim
|
||||
" Here are some basic customizations, please refer to the ~/.SpaceVim.d/init.vim
|
||||
" file for all possible options:
|
||||
let g:spacevim_default_indent = 3
|
||||
|
@ -1,6 +1,7 @@
|
||||
function! SpaceVim#layers#lang#markdown#plugins() abort
|
||||
let plugins = []
|
||||
call add(plugins, ['plasticboy/vim-markdown',{ 'on_ft' : 'markdown'}])
|
||||
call add(plugins, ['gabrielelana/vim-markdown',{ 'on_ft' : 'markdown'}])
|
||||
call add(plugins, ['joker1007/vim-markdown-quote-syntax',{ 'on_ft' : 'markdown'}])
|
||||
call add(plugins, ['mzlogin/vim-markdown-toc',{ 'on_ft' : 'markdown'}])
|
||||
call add(plugins, ['iamcco/mathjax-support-for-mkdp',{ 'on_ft' : 'markdown'}])
|
||||
call add(plugins, ['iamcco/markdown-preview.vim',{ 'on_ft' : 'markdown'}])
|
||||
@ -13,6 +14,11 @@ function! SpaceVim#layers#lang#markdown#config() abort
|
||||
let g:vim_markdown_folding_disabled = 1
|
||||
let g:vim_markdown_frontmatter = 1
|
||||
let g:vim_markdown_toml_frontmatter = 1
|
||||
let g:markdown_quote_syntax_filetypes = {
|
||||
\ "vim" : {
|
||||
\ "start" : "\\%(vim\\|viml\\)",
|
||||
\},
|
||||
\}
|
||||
augroup SpaceVim_lang_markdown
|
||||
au!
|
||||
autocmd BufEnter *.md call s:mappings()
|
||||
|
Loading…
x
Reference in New Issue
Block a user