Reputation: 2762
I am seeing a vertical highlighted line. It is independent of any syntax used. How can I remove it?
My ~/.vimrc is simple:
syntax on
set tabstop=4
set shiftwidth=4
set softtabstop=4
set expandtab
This in a macOS-Mojave (10.14.6)
Upvotes: 4
Views: 1255
Reputation: 11445
This is the colorcolumn
. Some people like it because it helps them keep their line length under some number of characters.
You can remove it by setting it to nothing, like set colorcolumn=
or just set cc=
.
If it turns out you do want that functionality, you can add more lines (set colorcolumn=80,120,140
) or change the color of the lines (highlight ColorColumn ctermbg=7 guibg=lightgrey
), where the number specified in ctermbg
corresponds to the colors listed here.
Upvotes: 7