Hi tot-to,

2016/1/2 Sat 13:19:05 UTC+9 tot-to wrote:
> https://bugs.gentoo.org/show_bug.cgi?id=559800
> 
> Previously, I haven't set textwidth in .vimrc and it was no
> autowrapping by default in all files.
> 
> At some point (probably after an upgrade) it stared to do autowrap, but
> only for *.txt files, i.e. if I open such file and enter the
> command :set tw I get
> textwidth=78
> Of course, I can set it manually to 0, but it'll be forgotten on the
> next run. So, I've added this string to my ~/.vimrc: set textwidth=0
> But it turned out, that this doesn't change the behaviour at all.
> I've tested with latest versions for amd64 and ~amd64, i.e. 7.4.769 and
> 7.4.827.
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1. echo 'set textwidth=0' >> ~/.vimrc
> 2. vim textfile.txt
> 3. type ":set textwidth"
> Actual Results:  
> textwidth=78
> 
> Expected Results:  
> textwidth=0

Try using :verbose to find where it is set.
E.g.

  :verbose set textwidth?


Regards,
Ken Takata

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui