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

Merge branch 'lang/markdown' into dev

This commit is contained in:
wsdjeg 2017-02-19 23:22:10 +08:00
commit 738e724f07
4 changed files with 14 additions and 5 deletions

View File

@ -94,7 +94,6 @@ function! SpaceVim#default#SetOptions() abort
set laststatus=2 set laststatus=2
set completeopt=longest,menu set completeopt=longest,menu
set wildignorecase set wildignorecase
let g:markdown_fenced_languages = ['vim', 'java', 'bash=sh', 'sh', 'html', 'python']
set mouse= set mouse=
set hidden set hidden
set ttimeout set ttimeout
@ -118,6 +117,7 @@ function! SpaceVim#default#SetPlugins() abort
call add(g:spacevim_plugin_groups, 'python') call add(g:spacevim_plugin_groups, 'python')
call add(g:spacevim_plugin_groups, 'scala') call add(g:spacevim_plugin_groups, 'scala')
call add(g:spacevim_plugin_groups, 'lang#go') call add(g:spacevim_plugin_groups, 'lang#go')
call add(g:spacevim_plugin_groups, 'lang#markdown')
call add(g:spacevim_plugin_groups, 'scm') call add(g:spacevim_plugin_groups, 'scm')
call add(g:spacevim_plugin_groups, 'editing') call add(g:spacevim_plugin_groups, 'editing')
call add(g:spacevim_plugin_groups, 'indents') call add(g:spacevim_plugin_groups, 'indents')

View File

@ -16,7 +16,6 @@ function! SpaceVim#layers#lang#plugins() abort
\ ['syngan/vim-vimlint', { 'on_ft' : 'vim'}], \ ['syngan/vim-vimlint', { 'on_ft' : 'vim'}],
\ ['ynkdir/vim-vimlparser', { 'on_ft' : 'vim'}], \ ['ynkdir/vim-vimlparser', { 'on_ft' : 'vim'}],
\ ['todesking/vint-syntastic', { 'on_ft' : 'vim'}], \ ['todesking/vint-syntastic', { 'on_ft' : 'vim'}],
\ ['plasticboy/vim-markdown', { 'on_ft' : 'markdown'}],
\ ['elixir-lang/vim-elixir', { 'on_ft' : 'elixir'}], \ ['elixir-lang/vim-elixir', { 'on_ft' : 'elixir'}],
\ ['PotatoesMaster/i3-vim-syntax', { 'on_ft' : 'i3'}], \ ['PotatoesMaster/i3-vim-syntax', { 'on_ft' : 'i3'}],
\ ['isundil/vim-irssi-syntax', { 'on_ft' : 'irssi'}], \ ['isundil/vim-irssi-syntax', { 'on_ft' : 'irssi'}],
@ -28,6 +27,4 @@ function! SpaceVim#layers#lang#plugins() abort
endfunction endfunction
function! SpaceVim#layers#lang#config() abort function! SpaceVim#layers#lang#config() abort
let g:vim_markdown_conceal = 0
let g:vim_markdown_folding_disabled = 1
endfunction endfunction

View File

@ -0,0 +1,13 @@
function! SpaceVim#layers#lang#markdown#plugins() abort
let plugins = []
call add(plugins, ['plasticboy/vim-markdown',{ 'on_ft' : 'markdown'}])
call add(plugins, ['iamcco/mathjax-support-for-mkdp',{ 'on_ft' : 'markdown'}])
call add(plugins, ['iamcco/markdown-preview.vim',{ 'on_ft' : 'markdown'}])
return plugins
endfunction
function! SpaceVim#layers#lang#markdown#config() abort
let g:vim_markdown_conceal = 0
let g:vim_markdown_folding_disabled = 1
let g:markdown_fenced_languages = ['vim', 'java', 'bash=sh', 'sh', 'html', 'python']
endfunction

View File

@ -9,7 +9,6 @@ function! SpaceVim#layers#tools#plugins() abort
\ ['MattesGroeger/vim-bookmarks', { 'on_map' : '<Plug>Bookmark', 'loadconf_before' : 1}], \ ['MattesGroeger/vim-bookmarks', { 'on_map' : '<Plug>Bookmark', 'loadconf_before' : 1}],
\ ['google/vim-searchindex'], \ ['google/vim-searchindex'],
\ ['simnalamburt/vim-mundo', { 'on_cmd' : 'MundoToggle'}], \ ['simnalamburt/vim-mundo', { 'on_cmd' : 'MundoToggle'}],
\ ['wsdjeg/MarkDown.pl', { 'on_cmd' : 'MarkDownPreview'}],
\ ['mhinz/vim-grepper' , { 'on_cmd' : 'Grepper', 'loadconf' : 1} ], \ ['mhinz/vim-grepper' , { 'on_cmd' : 'Grepper', 'loadconf' : 1} ],
\ ['tpope/vim-projectionist',{'on_cmd':['A','AS','AV','AT','AD','Cd','Lcd','ProjectDo']}], \ ['tpope/vim-projectionist',{'on_cmd':['A','AS','AV','AT','AD','Cd','Lcd','ProjectDo']}],
\ ['ntpeters/vim-better-whitespace',{'on_cmd' : 'StripWhitespace'}], \ ['ntpeters/vim-better-whitespace',{'on_cmd' : 'StripWhitespace'}],