When I edit a python file in vim, formatoptions is set to tcq for some reason making it automatically break long lines in code which sometimes may break the code as well. This is in contrary to other code filetypes such as c or java where automatic line breaks only occur in comments. I can disable this by removing t from formatoptions but I was wondering why the default behavior is set to this for python files?
Also where are formatoptions are set for different filetypes?
twandwmset. it sounds like a bug to me or I just don't see the point..