aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/options.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r--src/nvim/options.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua
index 99ac9d61ad..36799e9a24 100644
--- a/src/nvim/options.lua
+++ b/src/nvim/options.lua
@@ -2628,6 +2628,23 @@ local options = {
varname = 'p_ei',
},
{
+ abbreviation = 'eiw',
+ cb = 'did_set_eventignore',
+ defaults = '',
+ deny_duplicates = true,
+ desc = [=[
+ Similar to 'eventignore' but applies to a particular window and its
+ buffers, for which window and buffer related autocommands can be
+ ignored indefinitely without affecting the global 'eventignore'.
+ ]=],
+ expand_cb = 'expand_set_eventignore',
+ full_name = 'eventignorewin',
+ list = 'onecomma',
+ scope = { 'win' },
+ short_desc = N_('autocommand events that are ignored in a window'),
+ type = 'string',
+ },
+ {
abbreviation = 'et',
defaults = false,
desc = [=[