Add LuaCompile command that lists lua bytecode
This commit is contained in:
parent
60cd1be59c
commit
0c262e8aa1
1 changed files with 2 additions and 0 deletions
2
vimrc
2
vimrc
|
@ -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 -
|
||||
|
||||
" ┌─────────────────┐
|
||||
" └─┬─┬───┬─┬───┬─┬─┘
|
||||
" │ │ │ │ │ │
|
||||
|
|
Loading…
Reference in a new issue