When I edit a haskell file in Vim, my editor automatically wraps comments that pass over 80 characters to the next line. I would like Vim to use the same behavior for python files (and text files), but can't find a parameter that does this anywhere in my ~/.vim/syntax or vimrc folder.
Here are the relevant lines of my .vimrc:
set wrap set textwidth=80
vim textwrapping
Kevin Burke Apr 09 2018-11-11T00: 00Z
source share