Skip to content

Instantly share code, notes, and snippets.

@cyansprite
Last active September 8, 2017 17:17
Show Gist options
  • Save cyansprite/f44da738f44225bdaaa6ac0de8f6580a to your computer and use it in GitHub Desktop.
Save cyansprite/f44da738f44225bdaaa6ac0de8f6580a to your computer and use it in GitHub Desktop.
Vim synmaxcol + textwidth = nice faster syntax and textwidth concerns
" Warning this will alter the highlighting of the columns
" beforehand sometimes as well.
set textwidth=80 " text width
exe 'set synmaxcol=' . &tw | " If it goes past tw, don't highlight it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment