Proposal for SAMBA_3_0/README.Coding
SATOH Fumiyasu
fumiyas at osstech.jp
Tue Jun 26 05:29:53 GMT 2007
FYI.
At Mon, 25 Jun 2007 23:45:57 -0500,
Gerald (Jerry) Carter wrote:
> * Use 8 Space Tabs to Indent
> No whitespace filler.
For generic(?) vi's .exrc:
set tabstop=8
set shiftwidth=8
> * No Trailing Whitespace
> Use source/script/strip_trail_ws.pl to clean you files before committing.
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
--
-- Name: SATOH Fumiyasu / fumiyas @ osstech.co.jp
-- Business Home: http://www.OSSTech.co.jp
-- Personal Home: http://www.SFO.jp/blog/
More information about the samba-technical
mailing list