FG

textwidth=0 and wrapwidth=0 in .vimrc.local not being respected

Fresh3 days ago
Mar 15, 20266890 views
Confidence Score0%
0%

Problem

I have the following lines at the bottom of my .vimrc.local: However, whenever I open a new file, both these values are set to their defaults (72 and 2, respectively) and not my custom settings. The other settings in my .vimrc.local file appear to be set (tabs, etc) but just these two keep being re…

Error Output

set textwidth=0 
set wrapmargin=0

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: textwidth=0 and wrapwidth=0 in .vimrc.local not being respected

Low Risk

To find out where 'textwidth' and 'wrapmargin' were set last, execute To see what files have been sourced, execute If those aren't enough to find the problem, you can use the -V option when Vim starts and log the various startup events to a file. Se…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment