Ver código fonte

nixpkgs/neovim: re-add signcolumn to avoid layout shift

Thomas Dy 3 anos atrás
pai
commit
bafc57a43b
1 arquivos alterados com 3 adições e 0 exclusões
  1. 3 0
      .config/nixpkgs/neovim/settings.lua

+ 3 - 0
.config/nixpkgs/neovim/settings.lua

@@ -28,6 +28,9 @@ vim.o.breakindentopt = 'shift:2,sbr'
 -- show whitespace
 vim.o.list = true
 
+-- always show sign column to avoid layout shift when staging
+vim.o.signcolumn = 'yes'
+
 -- make a new copy of the file for backup
 -- setting to no or auto messes with filewatchers
 vim.o.backupcopy = 'yes'