willothy / wezterm.nvim

Utilities for interacting with Wezterm from within Neovim
189 stars 10 forks source link

Split pane does not work #12

Closed andreicorpo closed 8 months ago

andreicorpo commented 9 months ago

The following error occurs:

E5108: Error executing lua: ...korr/.local/share/nvim/lazy/wezterm.nvim/lua/wezterm.lua:86: attempt to call field 'system' (a nil value)
stack traceback:
    ...korr/.local/share/nvim/lazy/wezterm.nvim/lua/wezterm.lua:86: in function 'exec'
    ...korr/.local/share/nvim/lazy/wezterm.nvim/lua/wezterm.lua:249: in function 'horizontal'
    /Users/andokorr/.config/nvim/lua/plugins/misc.lua:260: in function </Users/andokorr/.config/nvim/lua/plugins/misc.lua:259>
willothy commented 9 months ago

Seems like you're on a version of neovim before 'vim.system' was added. What version are you using?

andreicorpo commented 9 months ago
$ nvim --version
NVIM v0.9.4
Build type: Release
LuaJIT 2.1.1700008891

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/opt/homebrew/Cellar/neovim/0.9.4/share/nvim"

Run :checkhealth for more info
willothy commented 9 months ago

ah yes, vim.system was added in 0.10, so you'll need to use nightly. I should note that in the readme or maybe use uv.spawn for backwards compatability.

willothy commented 8 months ago

I have vendored vim.system for now, so this should work on 0.9 :)