diff options
author | June McEnroe <programble@gmail.com> | 2016-05-16 23:20:53 -0400 |
---|---|---|
committer | June McEnroe <programble@gmail.com> | 2016-05-16 23:20:53 -0400 |
commit | e7d7babbde9a696e57f8bce36861db4a881325ac (patch) | |
tree | aca19e98fa84eee716613e0be43df2dc65042b8e /.config/nvim | |
parent | Add light iTerm profile (diff) | |
download | src-e7d7babbde9a696e57f8bce36861db4a881325ac.tar.gz src-e7d7babbde9a696e57f8bce36861db4a881325ac.zip |
Set background in nvim from iTerm profile
Is this overkill?
Diffstat (limited to '.config/nvim')
-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 |