akinsho / akinsho/toggleterm.nvim
[BUG] toggleterm changing terminal width strangely with `signcolumn = "yes"`
- 主要言語
- Lua
- スター
- 5.6k
- フォーク
- 206
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Current Behavior
When setting `hide_numbers = true` and have `vim.opt.signcolumn = "yes"`, open some full screen app, it renders beyond the screen, e.g. lazygit

and if I press tab to switch to next lazygit window, It will looks like:

this happened after I upgrade to nvim 0.10, now I'm setting hide_numbers to false, and add a on_open hook to achieve the same behavior and it work well:
```
on_open = function()
local ol = vim.opt_local
ol.number = false
ol.signcolumn = "no"
ol.relativenumber = false
end,
```
### Expected Behavior
Work like normal terminal
### Steps To Reproduce
1. Toggleterm with direction horizontal, not sure if other direction have the same issue
2. Have `vim.opt.signcolumn = "yes"`
3. Open toggleterm and run lazygit in terminal
### Environment
```Markdown
- OS: NixOS 23.11
- neovim version: 0.10
- Shell: zsh
```
### Anything else?
_No response_
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。