mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 13:10:04 +08:00
Split some layers
This commit is contained in:
parent
127dc0dc9a
commit
c3e25b7ea0
12
autoload/SpaceVim/layers/autocomplete.vim
Normal file
12
autoload/SpaceVim/layers/autocomplete.vim
Normal file
@ -0,0 +1,12 @@
|
||||
function! SpaceVim#layers#autocomplete#plugins() abort
|
||||
return [
|
||||
\ ['honza/vim-snippets', {'on_i' : 1, 'loadconf_before' : 1}],
|
||||
\ ['Shougo/neco-syntax', { 'on_i' : 1}],
|
||||
\ ['ujihisa/neco-look', { 'on_i' : 1}],
|
||||
\ ['Shougo/neco-vim', { 'on_i' : 1, 'loadconf_before' : 1}],
|
||||
\ ['Shougo/context_filetype.vim', { 'on_i' : 1}],
|
||||
\ ['Shougo/neoinclude.vim', { 'on_i' : 1}],
|
||||
\ ['Shougo/neosnippet-snippets', { 'merged' : 0}],
|
||||
\ ['Shougo/neopairs.vim', { 'on_i' : 1}],
|
||||
\ ]
|
||||
endfunction
|
0
autoload/SpaceVim/layers/checkers.vim
Normal file
0
autoload/SpaceVim/layers/checkers.vim
Normal file
9
autoload/SpaceVim/layers/chinese.vim
Normal file
9
autoload/SpaceVim/layers/chinese.vim
Normal file
@ -0,0 +1,9 @@
|
||||
function! SpaceVim#layers#chinese#plugins() abort
|
||||
return [
|
||||
\ ['vimcn/vimcdoc'],
|
||||
\ ]
|
||||
endfunction
|
||||
|
||||
function! SpaceVim#layers#chinese#config() abort
|
||||
|
||||
endfunction
|
32
autoload/SpaceVim/layers/colorscheme.vim
Normal file
32
autoload/SpaceVim/layers/colorscheme.vim
Normal file
@ -0,0 +1,32 @@
|
||||
function! SpaceVim#layers#colorscheme#plugins() abort
|
||||
return [
|
||||
\ ['morhetz/gruvbox', {'loadconf' : 1}],
|
||||
\ ['kristijanhusak/vim-hybrid-material'],
|
||||
\ ['altercation/vim-colors-solarized'],
|
||||
\ ['nanotech/jellybeans.vim'],
|
||||
\ ['mhartington/oceanic-next'],
|
||||
\ ['mhinz/vim-janah'],
|
||||
\ ['tomasr/molokai'],
|
||||
\ ['kabbamine/yowish.vim'],
|
||||
\ ['vim-scripts/wombat256.vim'],
|
||||
\ ['vim-scripts/twilight256.vim'],
|
||||
\ ['junegunn/seoul256.vim'],
|
||||
\ ['vim-scripts/rdark-terminal2.vim'],
|
||||
\ ['vim-scripts/pyte'],
|
||||
\ ['joshdick/onedark.vim'],
|
||||
\ ['fmoralesc/molokayo'],
|
||||
\ ['jonathanfilip/vim-lucius'],
|
||||
\ ['wimstefan/Lightning'],
|
||||
\ ['w0ng/vim-hybrid'],
|
||||
\ ['scheakur/vim-scheakur'],
|
||||
\ ['keith/parsec.vim'],
|
||||
\ ['NLKNguyen/papercolor-theme'],
|
||||
\ ['romainl/flattened'],
|
||||
\ ['MaxSt/FlatColor'],
|
||||
\ ['chase/focuspoint-vim'],
|
||||
\ ['chriskempson/base16-vim'],
|
||||
\ ['gregsexton/Atom'],
|
||||
\ ['gilgigilgil/anderson.vim'],
|
||||
\ ['romainl/Apprentice'],
|
||||
\ ]
|
||||
endfunction
|
5
autoload/SpaceVim/layers/format.vim
Normal file
5
autoload/SpaceVim/layers/format.vim
Normal file
@ -0,0 +1,5 @@
|
||||
function! SpaceVim#layers#format#plugins() abort
|
||||
return [
|
||||
\ ['sbdchd/neoformat', {'merged' : 0, 'loadconf' : 1 , 'loadconf_before' : 1}],
|
||||
\ ]
|
||||
endfunction
|
13
autoload/SpaceVim/layers/git.vim
Normal file
13
autoload/SpaceVim/layers/git.vim
Normal file
@ -0,0 +1,13 @@
|
||||
function! SpaceVim#layers#git#plugins() abort
|
||||
return [
|
||||
\ ['cohama/agit.vim', { 'on_cmd':['Agit','AgitFile']}],
|
||||
\ ['gregsexton/gitv', { 'on_cmd':['Gitv']}],
|
||||
\ ['junegunn/gv.vim', { 'on_cmd' : 'GV'}],
|
||||
\ ['lambdalisue/vim-gita', {'on_cmd': 'Gita'}],
|
||||
\ ]
|
||||
endfunction
|
||||
|
||||
|
||||
function! SpaceVim#layers#git#config() abort
|
||||
|
||||
endfunction
|
9
autoload/SpaceVim/layers/github.vim
Normal file
9
autoload/SpaceVim/layers/github.vim
Normal file
@ -0,0 +1,9 @@
|
||||
function! SpaceVim#layers#github#plugins() abort
|
||||
return [
|
||||
\ ['junegunn/vim-github-dashboard', { 'on_cmd':['GHD','GHA','GHActivity','GHDashboard']}],
|
||||
\ ]
|
||||
endfunction
|
||||
|
||||
function! SpaceVim#layers#github#config() abort
|
||||
|
||||
endfunction
|
72
autoload/SpaceVim/layers/unite.vim
Normal file
72
autoload/SpaceVim/layers/unite.vim
Normal file
@ -0,0 +1,72 @@
|
||||
function! SpaceVim#layers#unite#plugins() abort
|
||||
return [
|
||||
\ ['Shougo/unite.vim',{ 'merged' : 0 , 'loadconf' : 1}],
|
||||
\ ['Shougo/neoyank.vim'],
|
||||
\ ['soh335/unite-qflist'],
|
||||
\ ['ujihisa/unite-equery'],
|
||||
\ ['m2mdas/unite-file-vcs'],
|
||||
\ ['Shougo/neomru.vim'],
|
||||
\ ['kmnk/vim-unite-svn'],
|
||||
\ ['basyura/unite-rails'],
|
||||
\ ['nobeans/unite-grails'],
|
||||
\ ['choplin/unite-vim_hacks'],
|
||||
\ ['mattn/webapi-vim'],
|
||||
\ ['mattn/gist-vim', {'loadconf' : 1}],
|
||||
\ ['henices/unite-stock'],
|
||||
\ ['mattn/wwwrenderer-vim'],
|
||||
\ ['thinca/vim-openbuf'],
|
||||
\ ['ujihisa/unite-haskellimport'],
|
||||
\ ['oppara/vim-unite-cake'],
|
||||
\ ['thinca/vim-ref', {'loadconf' : 1}],
|
||||
\ ['heavenshell/unite-zf'],
|
||||
\ ['heavenshell/unite-sf2'],
|
||||
\ ['osyo-manga/unite-vimpatches'],
|
||||
\ ['Shougo/unite-outline'],
|
||||
\ ['hewes/unite-gtags' ,{'loadconf' : 1}],
|
||||
\ ['rafi/vim-unite-issue'],
|
||||
\ ['joker1007/unite-pull-request'],
|
||||
\ ['tsukkee/unite-tag'],
|
||||
\ ['ujihisa/unite-launch'],
|
||||
\ ['ujihisa/unite-gem'],
|
||||
\ ['osyo-manga/unite-filetype'],
|
||||
\ ['thinca/vim-unite-history'],
|
||||
\ ['Shougo/neobundle-vim-recipes'],
|
||||
\ ['Shougo/unite-help'],
|
||||
\ ['ujihisa/unite-locate'],
|
||||
\ ['kmnk/vim-unite-giti'],
|
||||
\ ['ujihisa/unite-font'],
|
||||
\ ['t9md/vim-unite-ack'],
|
||||
\ ['mileszs/ack.vim',{'on_cmd' : 'Ack'}],
|
||||
\ ['albfan/ag.vim',{'on_cmd' : 'Ag' , 'loadconf' : 1}],
|
||||
\ ['dyng/ctrlsf.vim',{'on_cmd' : 'CtrlSF', 'on_map' : '<Plug>CtrlSF', 'loadconf' : 1 , 'loadconf_before' : 1}],
|
||||
\ ['daisuzu/unite-adb'],
|
||||
\ ['osyo-manga/unite-airline_themes'],
|
||||
\ ['mattn/unite-vim_advent-calendar'],
|
||||
\ ['mattn/unite-remotefile'],
|
||||
\ ['sgur/unite-everything'],
|
||||
\ ['kannokanno/unite-dwm'],
|
||||
\ ['raw1z/unite-projects'],
|
||||
\ ['voi/unite-ctags'],
|
||||
\ ['Shougo/unite-session'],
|
||||
\ ['osyo-manga/unite-quickfix'],
|
||||
\ ['Shougo/vimfiler.vim',{'merged' : 0, 'loadconf' : 1 , 'loadconf_before' : 1}],
|
||||
\ ['ujihisa/unite-colorscheme'],
|
||||
\ ['mattn/unite-gist'],
|
||||
\ ['tacroe/unite-mark'],
|
||||
\ ['tacroe/unite-alias'],
|
||||
\ ['tex/vim-unite-id'],
|
||||
\ ['sgur/unite-qf'],
|
||||
\ ['lambdalisue/vim-gista-unite'],
|
||||
\ ['wsdjeg/unite-radio.vim', {'loadconf' : 1}],
|
||||
\ ['lambdalisue/unite-grep-vcs', {
|
||||
\ 'autoload': {
|
||||
\ 'unite_sources': ['grep/git', 'grep/hg'],
|
||||
\ }}],
|
||||
\ ['lambdalisue/vim-gista', {
|
||||
\ 'on_cmd': 'Gista'
|
||||
\ }],
|
||||
\ ]
|
||||
endfunction
|
||||
|
||||
function! SpaceVim#layers#unite#config() abort
|
||||
endfunction
|
@ -439,7 +439,6 @@ function! s:getLayerPlugins(layer) abort
|
||||
catch /^Vim\%((\a\+)\)\=:E117/
|
||||
return []
|
||||
endtry
|
||||
|
||||
endfunction
|
||||
|
||||
function! s:disable_plugins(plugin_list) abort
|
||||
|
Loading…
Reference in New Issue
Block a user