ari
ari

Reputation: 4523

Hide gutter from Syntastic

Using the syntax checker Syntastic calls up a gutter which points to all lines with errors in it. Once I am done checking I would like to hide this gutter. The only way I have found is to reopen the same file. I must be missing something, how do I hide the gutter? I have tried :set foldcolumn=0 to no avail.

Upvotes: 4

Views: 2723

Answers (3)

gcb
gcb

Reputation: 14558

You have 3 (that i know of :) side-columns in VIM. Fold, number and sign.

Gutter uses the sign one.

:set signcolumn=auto which should be the default and it will only show when gutter has content there. Set to on|off to show|hide.

Upvotes: 4

komidore64
komidore64

Reputation: 55

If you only want Syntastic's gutter to go away, use :SyntasticReset.

Upvotes: 4

Conner
Conner

Reputation: 31080

These are called signs (:h sign). Try

:sign unplace *

Upvotes: 7

Related Questions