Nice Chang
Nice Chang

Reputation: 137

How to set the left space(left of line numbers) wilder in vim/neovim?

How do I make this space wider?
When my code is not all right, informations will show up here. Then the width changes all the time.

enter image description here

enter image description here

Upvotes: 5

Views: 2380

Answers (2)

johnnybegood
johnnybegood

Reputation: 501

You have a few options:

vim.o.signcolumn = 'auto' -- this is what you seem to be using.
vim.o.signcolumn = 3 -- will use 3 columns. 
vim.o.signcolumn = 'number' -- will display signs in the number column.

Read the documentation. :h signcolumn

Upvotes: 0

Nice Chang
Nice Chang

Reputation: 137

add this in init.lua seems help

vim.wo.signcolumn = "yes"

Upvotes: 7

Related Questions