mirror of
https://github.com/neovim/neovim.git
synced 2026-01-04 18:37:02 +10:00
feat(api): nvim_win_set_config accepts unchanged "noautocmd" #36463
Problem: Cannot reuse same config with noautocmd for both window creation and updates, even when value is unchanged. Solution: Only reject noautocmd changes for existing windows.
This commit is contained in:
@@ -3892,7 +3892,9 @@ nvim_open_win({buffer}, {enter}, {config}) *nvim_open_win()*
|
||||
option. Value can be one of "left", "center", or "right".
|
||||
Default is `"left"`.
|
||||
• noautocmd: If true then all autocommands are blocked for
|
||||
the duration of the call.
|
||||
the duration of the call. Once set at window creation,
|
||||
this option cannot be modified later through
|
||||
|nvim_win_set_config()|.
|
||||
• fixed: If true when anchor is NW or SW, the float window
|
||||
would be kept fixed even if the window would be truncated.
|
||||
• hide: If true the floating window will be hidden and the
|
||||
|
||||
Reference in New Issue
Block a user