mirror of
https://github.com/morhetz/gruvbox.git
synced 2025-11-15 14:53:46 -05:00
gruvbox#bg_toggle() is redundant
This commit is contained in:
@@ -3,19 +3,9 @@
|
|||||||
" Description: Retro groove color scheme for Vim
|
" Description: Retro groove color scheme for Vim
|
||||||
" Author: morhetz <morhetz@gmail.com>
|
" Author: morhetz <morhetz@gmail.com>
|
||||||
" Source: https://github.com/morhetz/gruvbox
|
" Source: https://github.com/morhetz/gruvbox
|
||||||
" Last Modified: 11 Mar 2014
|
" Last Modified: 09 Apr 2014
|
||||||
" -----------------------------------------------------------------------------
|
" -----------------------------------------------------------------------------
|
||||||
|
|
||||||
function! gruvbox#bg_toggle()
|
|
||||||
if &background == 'dark'
|
|
||||||
set background=light
|
|
||||||
else
|
|
||||||
set background=dark
|
|
||||||
endif
|
|
||||||
|
|
||||||
colorcheme gruvbox
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
function! gruvbox#invert_signs_toggle()
|
function! gruvbox#invert_signs_toggle()
|
||||||
if g:gruvbox_invert_signs == 0
|
if g:gruvbox_invert_signs == 0
|
||||||
let g:gruvbox_invert_signs=1
|
let g:gruvbox_invert_signs=1
|
||||||
|
|||||||
Reference in New Issue
Block a user