1
0
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:
Arith Xu 2017-12-19 19:33:06 +08:00
parent 1b871721cf
commit 235e4b59b9

View File

@ -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