mirror of
https://github.com/neovim/neovim.git
synced 2026-07-09 10:59:38 +00:00
fix(cmdwin): set 'noscrollbind' #40556
Problem: Opening cmdwin from a 'scrollbind' window makes cmdwin scrollbinded. Legacy cmdwin set 'noscrollbind'. Solution: Set 'noscrollbind'.
This commit is contained in:
@@ -77,6 +77,7 @@ function M.open(type, init_line, init_col)
|
||||
vim.bo[buf].buflisted = true -- #40431
|
||||
vim.wo[win][0].winfixbuf = true
|
||||
vim.wo[win][0].foldenable = false
|
||||
vim.wo[win][0].scrollbind = false
|
||||
-- Show cmdwin-char via 'statuscolumn'.
|
||||
vim.wo[win][0].statuscolumn = '%#NonText#' .. type
|
||||
|
||||
|
||||
Reference in New Issue
Block a user