Skip to content
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

Fixed :UgatermOpen crashing on stable neovim when passing args #2

Merged
merged 1 commit into from
Feb 8, 2024

Conversation

Aasim-A
Copy link
Contributor

@Aasim-A Aasim-A commented Feb 7, 2024

When running :UgatermOpen -toggle or passing any other arg, the plugin crashes on stable neovim.

Stable neovim doesn't have vim.list_contains, but has vim.tbl_contains.
By looking at the source code of tbl_contains and list_contains, if we use tbl_contains without passing additional opts, it acts exactly like list_contains.

Tested on NVIM v0.9.5.

@uga-rosa
Copy link
Owner

uga-rosa commented Feb 8, 2024

Ty!

@uga-rosa uga-rosa merged commit a08280a into uga-rosa:main Feb 8, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants