summaryrefslogtreecommitdiff
path: root/lua/onedarker/diff.lua
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2021-10-09 22:17:30 +0200
committerkylo252 <[email protected]>2021-10-09 22:17:30 +0200
commitcaf62bcfed4fc6cfed26164e39d22a568d21f9d0 (patch)
tree47f7ddcbe7ef10b6cffd8398dbfc215d94fc2fae /lua/onedarker/diff.lua
parent4126e5765d69840660fab2a05bbc664ad0117b95 (diff)
parent82b7a35858479223c1e34bea2f64451ecf1e5f66 (diff)
Merge remote-tracking branch 'origin/rolling'
Diffstat (limited to 'lua/onedarker/diff.lua')
-rw-r--r--lua/onedarker/diff.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/lua/onedarker/diff.lua b/lua/onedarker/diff.lua
new file mode 100644
index 00000000..49463daa
--- /dev/null
+++ b/lua/onedarker/diff.lua
@@ -0,0 +1,12 @@
+local diff = {
+ DiffAdd = { fg = C.none, bg = C.diff_add },
+ DiffDelete = { fg = C.none, bg = C.diff_delete },
+ DiffChange = { fg = C.none, bg = C.diff_change, style = "bold" },
+ DiffText = { fg = C.none, bg = C.diff_text },
+ DiffAdded = { fg = C.green },
+ DiffRemoved = { fg = C.red },
+ DiffFile = { fg = C.cyan },
+ DiffIndexLine = { fg = C.gray },
+}
+
+return diff