diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-01-24 11:29:37 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-24 11:29:37 +0800 |
commit | 7126d9b8c70edb02bd17360fed4d959c87574b34 (patch) | |
tree | 5bf7ce42a681eee341dc0bea1c7589c41d535ff2 /runtime/lua/vim/lsp/buf.lua | |
parent | fa12b9ca2b1dd5515910875e04fe36564fbaadcc (diff) | |
download | rneovim-7126d9b8c70edb02bd17360fed4d959c87574b34.tar.gz rneovim-7126d9b8c70edb02bd17360fed4d959c87574b34.tar.bz2 rneovim-7126d9b8c70edb02bd17360fed4d959c87574b34.zip |
refactor(window): remove aucmd_win check from one_window() (#21972)
In most places where one_window() or last_window() is called, aucmd_win
has already been checked, so there is no need to check for it again.
The only place where this isn't checked is when using `:wincmd T`.
Before this PR using `:wincmd T` in an aucmd_win will give a warning
when there is only one non-floating window, but E813 error if there are
multiple. Now it consistently gives E813 error.
Diffstat (limited to 'runtime/lua/vim/lsp/buf.lua')
0 files changed, 0 insertions, 0 deletions