소스 검색

nixpkgs/neovim: disable hlsearch

It's too noisy and we can still selectively turn it on if we actually
need it.
Thomas Dy 2 년 전
부모
커밋
84a500e0b9
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
 
+-- disable search highlight
+vim.o.hlsearch = false
+
 -- always show sign column to avoid layout shift when staging
 vim.o.signcolumn = 'yes'