[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Patch removing spaces
From: |
Stuart Brady |
Subject: |
Re: [Qemu-devel] Patch removing spaces |
Date: |
Mon, 19 May 2008 21:23:25 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Mon, May 19, 2008 at 09:14:00PM +0300, Blue Swirl wrote:
> Thanks, it's ugly!
Ugly, but neat! :)
BTW, for those using VIM, place this in your .vimrc:
highlight WhiteSpaceEOL ctermbg=darkgreen guibg=lightgreen
match WhiteSpaceEOL /\s\+$/
autocmd WinEnter * match WhiteSpaceEOL /\s\+$/
Taken from http://www.vim.org/tips/tip.php?tip_id=1040, and modified
not to highlight leading spaces -- perhaps highlighting groups of eight
or more leading spaces would be useful, though?
HTH,
--
Stuart Brady