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]
|
||||
endif
|
||||
endfunction
|
||||
|
||||
""
|
||||
" @public
|
||||
" Load the {layer} you want, with the {opt}.
|
||||
function! SpaceVim#Layer(layer, opt) abort
|
||||
|
||||
" Load the {layer} you want
|
||||
function! SpaceVim#Layer(layer) abort
|
||||
if index(g:spacevim_plugin_groups, a:layer) == -1
|
||||
call add(g:spacevim_plugin_groups, a:layer)
|
||||
endif
|
||||
endfunction
|
||||
|
||||
function! SpaceVim#end() abort
|
||||
|
@ -81,7 +81,7 @@ endif
|
||||
"call add(s:plugins.unite, ['ujihisa/quicklearn'])
|
||||
let s:plugins.lang = [
|
||||
\ ['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'}],
|
||||
\ ['m2mdas/phpcomplete-extended', { 'on_ft' : 'php'}],
|
||||
\ ['groenewege/vim-less', { 'on_ft' : ['less']}],
|
||||
|
@ -64,8 +64,8 @@ twitter.
|
||||
==============================================================================
|
||||
FUNCTIONS *SpaceVim-functions*
|
||||
|
||||
SpaceVim#Layer({layer}, {opt}) *SpaceVim#Layer()*
|
||||
Load the {layer} you want, with the {opt}.
|
||||
SpaceVim#Layer({layer}) *SpaceVim#Layer()*
|
||||
Load the {layer} you want
|
||||
|
||||
|
||||
vim:tw=78:ts=8:ft=help:norl:
|
||||
|
Loading…
x
Reference in New Issue
Block a user