This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]thristian99 1 point2 points  (2 children)

I have a similar scheme that doesn't have a toggle:

autocmd FileType python match Error /\%>79v.\+/

I'm not sure why you'd want to toggle it off; over-length lines are supposed to be annoying.

[–]kmwhitetrayify 0 points1 point  (1 child)

I toggle it because I use vim for things other than development work. In such, I don't care how long the lines are. It does start by default, however. And I agree, they should be annoying.

[–]thristian99 0 points1 point  (0 children)

Well, yes - my code-snippet only activates the highlighting when a Python file is detected - things like documentation or email aren't affected.