Procházet zdrojové kódy

nixpkgs/neovim: use histogram for diff

Thomas Dy před 1 týdnem
rodič
revize
cf4bb8de7b

+ 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