vim-patch:631a50c: runtime(doc): mention cannot ignored events in eventignorewin (#34522)

closes: vim/vim#17545

631a50ceb9

Co-authored-by: glepnir <glephunter@gmail.com>
This commit is contained in:
zeertzjq
2025-06-16 10:14:20 +08:00
committed by GitHub
parent 4b2c2eb120
commit b92e3889fe
5 changed files with 170 additions and 1 deletions

View File

@ -2096,6 +2096,79 @@ vim.go.ei = vim.go.eventignore
--- buffers, for which window and buffer related autocommands can be
--- ignored indefinitely without affecting the global 'eventignore'.
---
--- Note: The following events are considered to happen outside of a
--- window context and thus cannot be ignored by 'eventignorewin':
---
--- `ChanInfo`,
--- `ChanOpen`,
--- `CmdUndefined`,
--- `CmdlineChanged`,
--- `CmdlineEnter`,
--- `CmdlineLeave`,
--- `CmdlineLeavePre`,
--- `CmdwinEnter`,
--- `CmdwinLeave`,
--- `ColorScheme`,
--- `ColorSchemePre`,
--- `CompleteChanged`,
--- `CompleteDone`,
--- `CompleteDonePre`,
--- `DiagnosticChanged`,
--- `DiffUpdated`,
--- `DirChanged`,
--- `DirChangedPre`,
--- `ExitPre`,
--- `FocusGained`,
--- `FocusLost`,
--- `FuncUndefined`,
--- `LspAttach`,
--- `LspDetach`,
--- `LspNotify`,
--- `LspProgress`,
--- `LspRequest`,
--- `LspTokenUpdate`,
--- `MenuPopup`,
--- `ModeChanged`,
--- `OptionSet`,
--- `QuickFixCmdPost`,
--- `QuickFixCmdPre`,
--- `QuitPre`,
--- `RemoteReply`,
--- `SafeState`,
--- `SessionLoadPost`,
--- `SessionWritePost`,
--- `ShellCmdPost`,
--- `Signal`,
--- `SourceCmd`,
--- `SourcePost`,
--- `SourcePre`,
--- `SpellFileMissing`,
--- `StdinReadPost`,
--- `StdinReadPre`,
--- `SwapExists`,
--- `Syntax`,
--- `TabClosed`,
--- `TabEnter`,
--- `TabLeave`,
--- `TabNew`,
--- `TabNewEntered`,
--- `TermClose`,
--- `TermEnter`,
--- `TermLeave`,
--- `TermOpen`,
--- `TermRequest`,
--- `TermResponse`,
--- `UIEnter`,
--- `UILeave`,
--- `User`,
--- `VimEnter`,
--- `VimLeave`,
--- `VimLeavePre`,
--- `VimResized`,
--- `VimResume`,
--- `VimSuspend`,
--- `WinNew`
---
--- @type string
vim.o.eventignorewin = ""
vim.o.eiw = vim.o.eventignorewin