Search code examples
vimvim-pluginspf13vim

Remove warning from vim editor for line length exceeding 80 chars


I am using spf13-vim plugin for my vim editor.

Whenever I write python code, and if the line length exceeds 80 chars, then it shows me warning in a new horizontal split.

Something like this (see bottom part):

enter image description here

I want to remove the warning or at-least increase the column char limit (so that I don't get warning very often), but I don't know how to?

I have seen my .vimrc file located at home/username dir. But the file doesn't contain anything relevant to column size or column limit.

here is my .vimrc file.


Solution

  • This is caused by Syntastic, or rather pycodestyle, which Syntastic uses.

    You can configure pycodestyle to no longer report this error. Simply add E501 to the ignored list in your .pycodestyle.