Quellcode durchsuchen

nixpkgs/neovim: use histogram for diff

Thomas Dy vor 1 Woche
Ursprung
Commit
cf4bb8de7b
1 geänderte Dateien mit 3 neuen und 0 gelöschten Zeilen
  1. 3 0
      .config/nixpkgs/neovim/config/lua/user/settings.lua

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

@@ -53,6 +53,9 @@ vim.o.mouse = 'v'
 -- use POSIX-y shell for !
 vim.o.shell = '/bin/sh'
 
+-- diff options, increase linematch to 60 and use histogram algorithm
+vim.o.diffopt = 'internal,filler,closeoff,linematch:60,algorithm:histogram'
+
 -- basic keymaps
 
 -- j/k with wraps