mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 20:10:05 +08:00
Add neoformat
This commit is contained in:
parent
ffc5e7537a
commit
102dacc744
@ -104,6 +104,7 @@ function! SpaceVim#default#SetPlugins() abort
|
|||||||
call add(g:spacevim_plugin_groups, 'web')
|
call add(g:spacevim_plugin_groups, 'web')
|
||||||
call add(g:spacevim_plugin_groups, 'lang')
|
call add(g:spacevim_plugin_groups, 'lang')
|
||||||
call add(g:spacevim_plugin_groups, 'checkers')
|
call add(g:spacevim_plugin_groups, 'checkers')
|
||||||
|
call add(g:spacevim_plugin_groups, 'format')
|
||||||
call add(g:spacevim_plugin_groups, 'chat')
|
call add(g:spacevim_plugin_groups, 'chat')
|
||||||
call add(g:spacevim_plugin_groups, 'javascript')
|
call add(g:spacevim_plugin_groups, 'javascript')
|
||||||
call add(g:spacevim_plugin_groups, 'ruby')
|
call add(g:spacevim_plugin_groups, 'ruby')
|
||||||
|
@ -42,11 +42,15 @@ let s:plugins.colorscheme = [
|
|||||||
|
|
||||||
let s:plugins.checkers = []
|
let s:plugins.checkers = []
|
||||||
if g:spacevim_enable_neomake
|
if g:spacevim_enable_neomake
|
||||||
call add(s:plugins.checkers, ['neomake/neomake',{'merged' : 0, 'loadconf' : 1 , 'loadconf_before' : 1}])
|
call add(s:plugins.checkers, ['neomake/neomake', {'merged' : 0, 'loadconf' : 1 , 'loadconf_before' : 1}])
|
||||||
else
|
else
|
||||||
call add(s:plugins.checkers, ['wsdjeg/syntastic', {'on_event': 'WinEnter', 'loadconf' : 1, 'merged' : 0}])
|
call add(s:plugins.checkers, ['wsdjeg/syntastic', {'on_event': 'WinEnter', 'loadconf' : 1, 'merged' : 0}])
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
let s:plugins.format = [
|
||||||
|
\ ['sbdchd/neoformat', {'merged' : 0, 'loadconf' : 1 , 'loadconf_before' : 1}],
|
||||||
|
\ ]
|
||||||
|
|
||||||
|
|
||||||
let s:plugins.unite = [
|
let s:plugins.unite = [
|
||||||
\ ['Shougo/unite.vim',{ 'merged' : 0 , 'loadconf' : 1}],
|
\ ['Shougo/unite.vim',{ 'merged' : 0 , 'loadconf' : 1}],
|
||||||
|
Loading…
Reference in New Issue
Block a user