tjdevries / vim9jit

a vim9script -> lua transpiler (written in Rust)
MIT License
510 stars 21 forks source link

completely parse `:augroup` and `:autocmd` #9

Open tjdevries opened 1 year ago

tjdevries commented 1 year ago

There are some options that we are not yet parsing for both :augroup and :autocmd that we need to do. Once we do that, we should correspondingly pass those options into the gen and generate correctly.

For example, I think ++once is not getting parsed right now. So then you could add an integration test that parses those and then executes the command checks the length of the current autocmds associated with an event (and make sure it's one less than it was before, for example)