Maybe you need to set up tab shift in .vimrc, something like
set shiftwidth=4
set tabstop=4
set smarttab



On Mon, Mar 31, 2014 at 3:25 PM, Jiaolong <notifications@github.com> wrote:

> In src/shogun/io/LibSVMFile.cpp:
>
> > @@ -48,10 +48,12 @@
> >
> >  void CLibSVMFile::init()
> >  {
> > -	m_delimiter=0;
> > -
> > +	m_delimiter_feat=0;
> > +        m_delimiter_label=0;
>
> @tklein23 <https://github.com/tklein23> @tklein23<https://github.com/tklein23>I found the original code used tab for indent and for my newly added code,
> I used space. They were aligned well in my vim but why it displays
> differently in Github? What should I do to avoid this problem during coding?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/shogun-toolbox/shogun/pull/2073/files#r11140242>
> .
>



-- 
/**
* ============HuShell============
*/