Vim adds a new line when I am writing something inside quotes and the line hits the window width of the Vim.
For example:
export_data(...['official stmt url, issue',])
When writing something inside the quotes, this becomes:
export_data(...['official stmt url, issue
, new line aligned',])
I want to disable this feature. I guess this is caused by some settings in my vimrc file but I don’t know which one.
The simplest fix to this is to disable textwidth:
to find the cause, do
which will show something like the following: