소스 검색

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

Thomas Dy 3 년 전
부모
커밋
bafc57a43b
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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'