vimlrs 0.2.1

Faithful Rust port of the Vimscript (VimL) interpreter, from the Neovim C eval engine
Documentation
#compdef viml

# Zsh completion for the viml binary (vimlrs) — VimL (Vimscript) on the fusevm bytecode VM.

_viml() {
  _arguments -s \
    '(- *)'{-V,--version}'[print version and exit]' \
    '(- *)'{-h,--help}'[show usage and exit]' \
    '(- *)--lsp[run the language server over stdio]' \
    '(- *)--dap[run the debug adapter over stdio]' \
    '(- *)--clear-cache[delete the rkyv bytecode script cache and exit]' \
    {-e,--expr}'[evaluate a single expression and print its value]:expression' \
    {-c,--cmd}'[execute a single ex command line]:ex command' \
    {-b,--build}'[AOT build: bake the script files into a standalone executable]:output file:_files' \
    {-n,--native}'[with --build: compile to native machine code (Cranelift object)]' \
    '--disasm[print the fusevm bytecode listing before running]' \
    '*:VimL script file:_files -g "*.vim"'
}

_viml "$@"