Proposal for SAMBA_3_0/README.Coding

Kai Blin kai at
Thu Jun 28 09:25:33 GMT 2007

On Tuesday 26 June 2007 07:29:53 SATOH Fumiyasu wrote:
> For VIM's .vimrc:
> if has("syntax") && (&t_Co > 2 || has("gui_running"))
> 	syntax on
> 	function! ActivateInvisibleCharIndicator()
> 		syntax match TrailingSpace "[ \t]\+$" display containedin=ALL
> 		highlight TrailingSpace ctermbg=Red
> 	endf
> 	autocmd BufNewFile,BufRead * call ActivateInvisibleCharIndicator()
> endif

If you make that "highlight TrailingSpace ctermbg=Red guibg=Red", this will 
also work in gvim.

Also, for Wine I have a highlight on C++ style comments, like

autocmd BufNewFile,BufRead *.c highlight cCommentL ctermbg=Red guibg=Red


Kai Blin
WorldForge developer
Wine developer
Samba team member
Will code for cotton.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the samba-technical mailing list