diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2019-03-13 22:13:25 +0100 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2019-03-14 01:30:11 +0100 |
| commit | 3259e45f926bcde4052e8b989e039f6047c2b205 (patch) | |
| tree | 7ff274da56059a0312f03338a5dd0bcbb7864997 /src/nvim/tui | |
| parent | cbe4377fde315123fea9928371bd2a62f32d90e4 (diff) | |
| download | rneovim-3259e45f926bcde4052e8b989e039f6047c2b205.tar.gz rneovim-3259e45f926bcde4052e8b989e039f6047c2b205.tar.bz2 rneovim-3259e45f926bcde4052e8b989e039f6047c2b205.zip | |
autocmd: rename: "++nested", "++once"
Based on feedback from upstream:
https://github.com/vim/vim/pull/4100
Diffstat (limited to 'src/nvim/tui')
| -rw-r--r-- | src/nvim/tui/input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/tui/input.c b/src/nvim/tui/input.c index 703feac305..0bdda17299 100644 --- a/src/nvim/tui/input.c +++ b/src/nvim/tui/input.c @@ -363,8 +363,8 @@ static void set_bg_deferred(void **argv) if (starting) { // Wait until after startup, so OptionSet is triggered. do_cmdline_cmd((bgvalue[0] == 'l') - ? "autocmd VimEnter * once nested set background=light" - : "autocmd VimEnter * once nested set background=dark"); + ? "autocmd VimEnter * ++once ++nested set bg=light" + : "autocmd VimEnter * ++once ++nested set bg=dark"); } else { set_option_value("bg", 0L, bgvalue, 0); reset_option_was_set("bg"); |