From e7d7babbde9a696e57f8bce36861db4a881325ac Mon Sep 17 00:00:00 2001 From: Curtis 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(-) (limited to '.config/nvim/init.vim') 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