The defaults that Neovim has are specified in src/nvim/options.lua
. I'm trying to understand this source,
Let's take for example, something like backup
{
full_name='backup', abbreviation='bk',
short_desc=N_("keep backup file after overwriting a file"),
type='bool', scope={'global'},
varname='p_bk',
defaults={if_true=false}
},
If I look at the defaults
line, I can see basically ignore if_true=
and always reason about the default,
defaults={if_true=false}
I can verify with nvim -u NONE -i NONE --clean
that these are
defaults={false}
Why does if_true=
exist, what does it do?