When I edit a haskell file in Vim, my editor automatically wraps comments that go past 80 characters to the next line. I'd like Vim to use the same behavior for python files (and text files), but I can't find the setting that does this anywhere, in my ~/.vim/syntax
folder or vimrc
.
Here are relevant lines of my .vimrc:
set wrap
set textwidth=80