set diffview options
This commit is contained in:
@@ -114,6 +114,12 @@ opt.foldmethod = 'expr'
|
||||
opt.foldexpr = 'nvim_treesitter#foldexpr()'
|
||||
opt.foldexpr = 'nvim_treesitter#foldexpr()'
|
||||
|
||||
if vim.fn.has('nvim-0.12') == 1 then
|
||||
vim.o.diffopt = 'internal,filler,closeoff,inline:simple,linematch:40'
|
||||
elseif vim.fn.has('nvim-0.11') == 1 then
|
||||
vim.o.diffopt = 'internal,filler,closeoff,linematch:40'
|
||||
end
|
||||
|
||||
vim.diagnostic.config({
|
||||
signs = {
|
||||
text = {
|
||||
|
||||
Reference in New Issue
Block a user