How to remove black left line in neovim

Viewed 42

When I open a python file, in the left hand side, there is an extra space as shown in the images, and this is only with python and the init.vim files.

With a python file

With other language

1 Answers

For Python filetype, a configuration file should probably define Vim option signcolumn with value = 1.

Load a Python file and check what is the value for signcolumn option with :set signcolumn? command.

You could disable this option in your configuration file (see :help signcolumn) :

  • With Vimscript init.vim : set signcolumn=no
  • With Lua init.lua : vim.opt.signcolumn = 'no'
Related