[Bug 595605] New: Vim doesn't honor noautoindent setting
http://bugzilla.novell.com/show_bug.cgi?id=595605 http://bugzilla.novell.com/show_bug.cgi?id=595605#c0 Summary: Vim doesn't honor noautoindent setting Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86-64 OS/Version: openSUSE 11.2 Status: NEW Severity: Minor Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: ge@gse.nl QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7 vim-7.2-16.7.x86_64 Vim keeps auto-indenting, even when I include "set noautoindent" in my .vimrc or use ":set noautoindent" in vi. This worked correctly in openSUSE 11.1. Reproducible: Always Steps to Reproduce: 1. Create new file "vi test.c" 2. Switch off auto-indent ":set noautoindent" 3. Type first line "int main()" 4. Press Enter at end of first line Actual Results: Vi automatically inserts a tab at the beginning of the second line Expected Results: Since auto-indenting is switched off, should not insert tabs Work-around is to "set paste". -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=595605 http://bugzilla.novell.com/show_bug.cgi?id=595605#c1 Ge van Geldorp <ge@gse.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #1 from Ge van Geldorp <ge@gse.nl> 2010-04-11 17:06:12 UTC --- Hmm, turns out the indenting is caused by the inclusion of filetype indent on in the default .vimrc file. Looks like this is working as designed. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com