mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-13 02:05:40 +08:00
Fix lint
This commit is contained in:
parent
c2ef65fea0
commit
27718e7f19
@ -87,11 +87,14 @@ function! SpaceVim#loadCustomConfig() abort
|
|||||||
exe 'source ' . custom_confs[0]
|
exe 'source ' . custom_confs[0]
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
""
|
""
|
||||||
" @public
|
" @public
|
||||||
" Load the {layer} you want, with the {opt}.
|
" Load the {layer} you want
|
||||||
function! SpaceVim#Layer(layer, opt) abort
|
function! SpaceVim#Layer(layer) abort
|
||||||
|
if index(g:spacevim_plugin_groups, a:layer) == -1
|
||||||
|
call add(g:spacevim_plugin_groups, a:layer)
|
||||||
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! SpaceVim#end() abort
|
function! SpaceVim#end() abort
|
||||||
|
@ -81,7 +81,7 @@ endif
|
|||||||
"call add(s:plugins.unite, ['ujihisa/quicklearn'])
|
"call add(s:plugins.unite, ['ujihisa/quicklearn'])
|
||||||
let s:plugins.lang = [
|
let s:plugins.lang = [
|
||||||
\ ['zchee/deoplete-jedi', { 'on_ft' : 'python'}],
|
\ ['zchee/deoplete-jedi', { 'on_ft' : 'python'}],
|
||||||
\ ['Shougo/neosnippet.vim', { 'on_i' : 1 , 'on_ft' : 'neosnippet'}],
|
\ ['Shougo/neosnippet.vim', { 'on_i' : 1 , 'on_ft' : 'neosnippet', 'loadconf' : 1}],
|
||||||
\ ['davidhalter/jedi-vim', { 'on_ft' : 'python'}],
|
\ ['davidhalter/jedi-vim', { 'on_ft' : 'python'}],
|
||||||
\ ['m2mdas/phpcomplete-extended', { 'on_ft' : 'php'}],
|
\ ['m2mdas/phpcomplete-extended', { 'on_ft' : 'php'}],
|
||||||
\ ['groenewege/vim-less', { 'on_ft' : ['less']}],
|
\ ['groenewege/vim-less', { 'on_ft' : ['less']}],
|
||||||
|
@ -64,8 +64,8 @@ twitter.
|
|||||||
==============================================================================
|
==============================================================================
|
||||||
FUNCTIONS *SpaceVim-functions*
|
FUNCTIONS *SpaceVim-functions*
|
||||||
|
|
||||||
SpaceVim#Layer({layer}, {opt}) *SpaceVim#Layer()*
|
SpaceVim#Layer({layer}) *SpaceVim#Layer()*
|
||||||
Load the {layer} you want, with the {opt}.
|
Load the {layer} you want
|
||||||
|
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:ft=help:norl:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user