Greetings,
I may have found a bug in indenting behavior depending on whether or not
'list' is set. Can someone try to reproduce and/or explain what is
happening if it's not a bug?
test.vim:
set noet ts=8 sts=4 sw=4 list
vim -u test.vim: (type exactly the following)
idef foo():<Enter>
<Tab>bar = 'baz'<Enter>
<Esc>:set nolist<Enter>
idef foo():<Enter>
<Tab>bar = 'baz'<Enter>
<ESC>:set list<Enter>
The output should be similar to:
def foo():
^I^Ibar = 'baz'
def foo():
bar = 'baz'
More simply, just press <Tab><Enter> with list on and with list off, you
get completely different results. With list on two tab characters are
inserted into the file, with list off four spaces are inserted instead.
Any ideas?
--
You received this message from the "vim_use" 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