From 2c9d4448eb024e921a18182a2182c1823526f8af Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Mon, 16 May 2016 23:20:53 -0400 Subject: Set background in nvim from iTerm profile Is this overkill? --- .config/nvim/init.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 map -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 -- cgit 1.4.1