At 2012-04-25 00:03:00 +0200, Jonathan Neuschäfer wrote: > On Mon, Apr 23, 2012 at 07:16:49PM +0200, Jurgen Kramer wrote: > > Please show me how I can check myself. It is getting a bit tiresome to > > hear about wrong tabs/indents. > > > > Jurgen > > If you use Vim, this little snippet will highlight all trailing white > space: > > > au Syntax * > > \ syn match ExtraSpace "\s\+$" containedin=ALL > > \ | hi def link ExtraSpace Error > > > > syn match ExtraSpace "\s\+$" > > hi def link ExtraSpace Error
Alternatively, switch on list mode, since this is the sort of thing it's meant for: :se list Also see the docs for the listchars option if you want to customize what is displayed. :he 'listchars' I have this in my vimrc: set list if &encoding =~ "utf-8" set listchars=tab:›\ ,trail:·,extends:…,precedes:…,nbsp:‸ else set listchars=tab:>\ ,trail:.,extends:>,precedes:<,nbsp:. endif This also makes it very obvious when there are mixtures of spaces and tabs and things like that. --bart ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Musicpd-dev-team mailing list Musicpd-dev-team@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team