- drop forcing background, vim detects this since 7.4.757, rhbz#1159920

This commit is contained in:
Lubomir Rintel 2015-07-10 19:53:39 +02:00
parent 6d189defce
commit 6b2d30ae01
2 changed files with 4 additions and 8 deletions

View File

@ -21,7 +21,7 @@ Summary: The VIM editor
URL: http://www.vim.org/ URL: http://www.vim.org/
Name: vim Name: vim
Version: %{baseversion}.%{patchlevel} Version: %{baseversion}.%{patchlevel}
Release: 2%{?dist} Release: 3%{?dist}
License: Vim License: Vim
Group: Applications/Editors Group: Applications/Editors
Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{baseversion}.tar.bz2 Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{baseversion}.tar.bz2
@ -2292,6 +2292,9 @@ rm -rf %{buildroot}
%{_datadir}/icons/hicolor/*/apps/* %{_datadir}/icons/hicolor/*/apps/*
%changelog %changelog
* Fri Jul 10 2015 Lubomir Rintel <lkundrak@v3.sk> 7.4.769-3
- drop forcing background, vim detects this since 7.4.757, rhbz#1159920
* Sat Jul 04 2015 Karsten Hopp <karsten@redhat.com> 7.4.769-1 * Sat Jul 04 2015 Karsten Hopp <karsten@redhat.com> 7.4.769-1
- patchlevel 769 - patchlevel 769

7
vimrc
View File

@ -59,13 +59,6 @@ if &term=="xterm"
set t_Sf=[3%dm set t_Sf=[3%dm
endif endif
" rhbz 1159920
if $COLORTERM=="gnome-terminal"
set background=light
else
set background=dark
endif
" Don't wake up system with blinking cursor: " Don't wake up system with blinking cursor:
" http://www.linuxpowertop.org/known.php " http://www.linuxpowertop.org/known.php
let &guicursor = &guicursor . ",a:blinkon0" let &guicursor = &guicursor . ",a:blinkon0"