Christian Brabandt wrote:
> On So, 28 Aug 2011, Yukihiro Nakadaira wrote:
>
> > expandtab doesn't work properly when smartindent and copyindent are set.
> > When indent is inserted by smartindent, Vim always uses <Tab> for it.
> >
> > $ vim -u NONE
> > :set expandtab smartindent copyindent
> > :execute "normal! i{\<CR>x"
> >
> > Then, second line is "<Tab>x".
>
> Here is a patch, including a test.
Thanks!
--
Kiss me twice. I'm schizophrenic.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php