1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 07:08:01 +00:00
Files
til/vim/toggling-syntax-highlighting.md
2016-04-09 11:20:59 -05:00

368 B

Toggling Syntax Highlighting

Syntax highlighting in Vim is generally a good thing, but sometimes you need to turn it off. This can be achieved with the syntax command.

:syntax off

When you need that syntax highlighting back again, you can turn it right back on like so:

:syntax on

See :h syntax-on for more details.

h/t Steve Klabnik