diff options
author | June McEnroe <june@causal.agency> | 2016-05-16 23:20:53 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2016-05-16 23:20:53 -0400 |
commit | 2c9d4448eb024e921a18182a2182c1823526f8af (patch) | |
tree | 10168114559b6a43c009c48fca6cd5da50125532 /.config/nvim | |
parent | Add light iTerm profile (diff) | |
download | src-2c9d4448eb024e921a18182a2182c1823526f8af.tar.gz src-2c9d4448eb024e921a18182a2182c1823526f8af.zip |
Set background in nvim from iTerm profile
Is this overkill?
Diffstat (limited to '')
-rw-r--r-- | .config/nvim/init.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index ac738428..45f99c2c 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -17,7 +17,7 @@ set splitbelow splitright map <ScrollWheelUp> <C-Y> map <ScrollWheelDown> <C-E> -set background=dark +execute 'set background=' . ($ITERM_PROFILE != '' ? $ITERM_PROFILE : 'dark') let $NVIM_TUI_ENABLE_TRUE_COLOR = 1 let g:gruvbox_italic = 0 let g:gruvbox_invert_selection = 0 |