On Fri, Dec 20, 2013 at 07:44:47PM +0530, Vineet Gupta wrote:
> Signed-off-by: Vineet Gupta <[email protected]>

You somehow always end up with a From: addr different from your SOB one.

Applied with small additional tweaks ontop, thanks!

PS: I'm using
$ grep uClibc ~/.vimrc.local
source ~/.vim/uClibc_style.vim

as attached, FWIW.

cheers,
if exists("g:loaded_uclibc_style") || &cp
  finish
endif
let g:loaded_uclibc_style = 1
augroup uclibc_style
  autocmd BufReadPost,FileReadPost * call s:maybe_uclibc_style()
augroup END
if exists("*s:maybe_uclibc_style")
  finish
endif
let s:cpo_save = &cpo
set cpo&vim

function! s:maybe_uclibc_style()
  let l:fname = fnameescape(expand('%:p:h'))
  if fname != "" && match(fname, "uClibc") != -1
    set tw=72
    set sw=4
    set ts=4
    let c_space_errors=1
    set cindent
    set smartindent
    set autoindent
    set noautochdir
  endif
endfunction

"command! NoUCLIBCstyle unlet! g:loaded_uclibc_style | au! uclibc_style
"command! DoUCLIBCstyle runtime uclibc_style.vim

let &cpo = s:cpo_save

_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to