Add LuaCompile command that lists lua bytecode

This commit is contained in:
Talia 2018-08-02 16:11:54 +02:00
parent 60cd1be59c
commit 0c262e8aa1

2
vimrc
View file

@ -362,6 +362,8 @@ function! s:hex(...)
endfunction
command! -nargs=* Hex call <sid>hex(<q-args>)
command! -range=% LuaCompile <line1>,<line2>w !luac -l -p -
" ┌─────────────────┐
" └─┬─┬───┬─┬───┬─┬─┘
" │ │ │ │ │ │