-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Neovide (or other UI?) run from WezTerm leads to error in integration logic #131
Comments
Yeah, a more appropriate solution would probably be to just disable terminal mux integrations entirely if it's detected that you're using a GUI instead of nvim's TUI. We may be able to check that via |
Please verify that #132 resolves your issue @mdietrich16 🙏 |
Did a review, small changes required. If those are fixed, it seems to work with Neovide at least. Nice work! |
I'll close when the PR is merged. |
Thanks for the review + testing! It will auto-close the issue when I merge the PR. I'll tag a patch release after merging. |
Alright, thanks for the quick and elegant fix! |
The latest commit 26085a6 causes the error to appear on start up again. |
#142 worked for me. Thanks. |
Similar Issues
Neovim Version
NVIM v0.9.4
Build type: Release
LuaJIT 2.1.1696795921
Multiplexer Integration
Wezterm
Multiplexer Version
wezterm 20230712-072601-f4abf8fd
Steps to Reproduce
neovide<CR>
Expected Behavior
Neovide opens and smart-splits works without WezTerm integration
Actual Behavior
Neovide opens and smart-splits works without WezTerm integration but echoes error message:
Minimal Configuration to Reproduce
Additional Details and/or Screenshots
This could be mitigated by checking for
vim.g.neovide
which isnil
when not in Neovide andtrue
when in Neovide, which I tried. However, this is a fairly specific addition, since other UI's exist with probably the same problem.I would just be glad to get a pointer to where I can manually do this.
I tried through the
lazy.nvim
opts and init function like:But the error then just originates from that init function, which seems to mean that
plugin/smart-splits.vim
gets loaded when doing anyrequire("smart-splits")
. This of course makes it impossible for me to override this behaviour.The text was updated successfully, but these errors were encountered: