Fix tabufline, auto ft=diff on diffview, add diff highlight syntax + lua tabstop=2

This commit is contained in:
2024-08-15 16:41:07 +02:00
parent f445ce91e7
commit 2cc874f891
4 changed files with 26 additions and 3 deletions
+11 -1
View File
@@ -1 +1,11 @@
return {}
return {
hooks = {
diff_buf_read = function(_)
vim.opt_local.wrap = false
vim.opt_local.list = false
end,
view_opened = function(_)
vim.api.nvim_command "set ft=diff"
end,
},
}