diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-02-17 11:32:18 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-02-22 21:15:16 +0100 |
commit | d3dc94615523a71606edcbe6bf528f8b49a78c7d (patch) | |
tree | d7a530ea641fc0959154ca508085f40d7d82349c /src/nvim/os/pty_process_unix.c | |
parent | 6bd6927656500c50787b16de1fadf1bc46b7aefa (diff) | |
download | rneovim-d3dc94615523a71606edcbe6bf528f8b49a78c7d.tar.gz rneovim-d3dc94615523a71606edcbe6bf528f8b49a78c7d.tar.bz2 rneovim-d3dc94615523a71606edcbe6bf528f8b49a78c7d.zip |
TUI: rework background-color detection
- Like Vim, use set_option_value() followed by reset_option_was_set().
- Do not use set_string_default(), so the default is predictable.
This affects `:set bg&`.
- Wait until end-of-startup (VimEnter) to handle the response. The
response is racey anyways, so timing is irrelevant. This allows
OptionSet to be triggered, unlike during startup.
Diffstat (limited to 'src/nvim/os/pty_process_unix.c')
0 files changed, 0 insertions, 0 deletions