mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 10:40:03 +08:00
fix(xmake): fix xmake function name
This commit is contained in:
parent
d6dd0a1111
commit
73cf51975b
@ -23,9 +23,15 @@ function! SpaceVim#layers#xmake#plugins() abort
|
||||
return plugins
|
||||
endfunction
|
||||
|
||||
function! SpaceVim#layers#cscope#config() abort
|
||||
function! SpaceVim#layers#xmake#config() abort
|
||||
call add(g:spacevim_project_rooter_patterns, 'xmake.lua')
|
||||
let g:_spacevim_mappings_space.m.x = {'name' : '+xmake'}
|
||||
call SpaceVim#mapping#space#def('nnoremap', ['m', 'x', 'b'], 'call xmake#buildrun()', 'xmake-build-without-running', 1)
|
||||
call SpaceVim#mapping#space#def('nnoremap', ['m', 'x', 'r'], 'call xmake#buildrun(1)', 'xmake-build-amd-running', 1)
|
||||
endfunction
|
||||
|
||||
function! SpaceVim#layers#xmake#health() abort
|
||||
call SpaceVim#layers#xmake#plugins()
|
||||
call SpaceVim#layers#xmake#config()
|
||||
return 1
|
||||
endfunction
|
||||
|
Loading…
Reference in New Issue
Block a user