mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 05:20:04 +08:00
add lua run key mapping
This commit is contained in:
parent
1b871721cf
commit
235e4b59b9
@ -31,8 +31,7 @@ endfunction
|
||||
|
||||
" Add language specific mappings
|
||||
function! s:language_specified_mappings() abort
|
||||
|
||||
call SpaceVim#mapping#space#langSPC('nmap', ['l','r'],
|
||||
\ '<Plug>(Lua)',
|
||||
\ 'lua run', 0)
|
||||
call SpaceVim#mapping#space#langSPC('nmap', ['l','r'], 'Lua', 'lua run', 1)
|
||||
endfunction
|
||||
|
||||
au BufEnter *.lua :LuaOutputMethod buffer
|
||||
|
Loading…
Reference in New Issue
Block a user