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

fix: E5108 error in command line buffer #146

Merged
merged 1 commit into from
Jan 11, 2024
Merged

Conversation

towry
Copy link
Contributor

@towry towry commented Jan 11, 2024

error detail:

E5108: Error executing lua ...are/nvim/lazy/smart-splits.nvim/lua/smart-splits/api.lua:472: E11: Invalid in command-line window; <CR> executes, CTRL-C quits
stack traceback:
        [C]: in function 'nvim_set_current_win'
        ...are/nvim/lazy/smart-splits.nvim/lua/smart-splits/api.lua:472: in function 'resize_up'
        [string ":lua"]:1: in main chunk

Steps to repro:

  1. q: to open cmd win.
  2. try to resize the cmd win.

Copy link
Owner

@mrjones2014 mrjones2014 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simple and safe enough change, thanks! I didn't consider that use case since I don't really use that feature of Neovim often.

@mrjones2014 mrjones2014 merged commit 36bfe63 into mrjones2014:master Jan 11, 2024
3 checks 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.

None yet

2 participants