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

Add neoformat

This commit is contained in:
wsdjeg 2017-01-07 12:38:53 +08:00
parent ffc5e7537a
commit 102dacc744
2 changed files with 6 additions and 1 deletions

View File

@ -104,6 +104,7 @@ function! SpaceVim#default#SetPlugins() abort
call add(g:spacevim_plugin_groups, 'web')
call add(g:spacevim_plugin_groups, 'lang')
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, 'javascript')
call add(g:spacevim_plugin_groups, 'ruby')

View File

@ -42,11 +42,15 @@ let s:plugins.colorscheme = [
let s:plugins.checkers = []
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
call add(s:plugins.checkers, ['wsdjeg/syntastic', {'on_event': 'WinEnter', 'loadconf' : 1, 'merged' : 0}])
endif
let s:plugins.format = [
\ ['sbdchd/neoformat', {'merged' : 0, 'loadconf' : 1 , 'loadconf_before' : 1}],
\ ]
let s:plugins.unite = [
\ ['Shougo/unite.vim',{ 'merged' : 0 , 'loadconf' : 1}],