#compdef neovide

_arguments \
  '--fork[Spawn a child process and leak it \[NEOVIDE_FORK=\]]' \
  '--frame[Window decorations to use]:FRAME:' \
  '--grid[The initial grid size of the window \[<columns>x<lines>\]]:GRID:' \
  '--log[If to enable logging to a file in the current directory]' \
  '--maximized[Maximize the window on startup \[NEOVIDE_MAXIMIZED=\]]' \
  '--mouse-cursor-icon[Mouse cursor icon to use \[possible: arrow, i-beam\]]:MOUSE_CURSOR_ICON:' \
  '--neovim-bin[NeoVim binary to invoke headlessly \[NEOVIM_BIN=\]]:NEOVIM_BIN:' \
  '--no-fork[Be "blocking", let the shell persist as parent process \[DEFAULT\]]' \
  '--no-idle[Render every frame, more power, CPU time \[NEOVIDE_IDLE=true\]]' \
  '--no-multigrid[Disable Multigrid: smooth scroll,animations \[NEOVIDE_NO_MULTIGRID=\]]' \
  '--no-srgb[Do not request sRGB. Default on Linux and macOS]' \
  '--no-tabs[Disable opening multiple files supplied in tabs]' \
  '--no-vsync[Do not try to request VSync on the window]' \
  '--opengl[Force opengl on Windows or macOS \[NEOVIDE_OPENGL=\]]' \
  '--server[Connect to the named pipe or socket at ADDRESS]:ADDRESS:' \
  '--size[The size of the window in pixels]:SIZE:' \
  '--srgb[Request sRGB. Default on Windows]' \
  '--title-hidden[Sets title hidden for the window \[NEOVIDE_TITLE_HIDDEN=true\]]' \
  '--tabs[Enable opening multiple files in tabs \[NEOVIDE_TABS=true\]]' \
  '--vsync[Request VSync on the window \[DEFAULT\] \[NEOVIDE_VSYNC=true\]]' \
  '--wayland_app_id[The app ID to show to the compositor]:WAYLAND_APP_ID:' \
  '--wsl[Run NeoVim in WSL rather than on the host \[NEOVIDE_WSL=\]]' \
  '--x11-wm-class[Class part of the X11 WM_CLASS property]:X11_WM_CLASS:' \
  '--x11-wm-class-instance[Instance part of the X11 WM_CLASS property]:X11_WM_CLASS_INSTANCE:' \
  '-h[Print help]' \
  '--help[Print help]' \
  '-V[Print version]' \
  '--version[Print version]'
