issues
search
tjdevries
/
vim9jit
a vim9script -> lua transpiler (written in Rust)
MIT License
510
stars
21
forks
source link
Make vim9script file executable for neovim
#2
Closed
tjdevries
closed
1 year ago
tjdevries
commented
3 years ago
[ ] Take in a
.vim
file
[ ] Handle
vim9script
files:
[ ] Transform the
entire
file into a big
lua << END
heredoc block that can be executed in vim
[ ] Make sure all of the functions and side effects happen
[ ] handle
def
within a
vimscript
file:
[ ] Have to find all the
def
functions
[ ] Transpile those individiually into lua blocks.
[ ] Make sure that we have access to the same script state and other items
[ ] Make sure to still be able to export other stuff as well
.vim
filevim9script
files:lua << END
heredoc block that can be executed in vimdef
within avimscript
file:def
functions