Vim sets the width of a line of code

  question, vim

I don’t want to write too long code in one line. I want to automatically fold lines after writing a certain width. How should this be configured?

Textwidth=90 has been set.

However, it is not effective in the editor (vim has been restarted).

Word wrap doesn’t feel good, does it? I used a vertical line to set the line width, which is equivalent to reminding.