Compare commits

..

3 commits

Author SHA1 Message Date
0f5f848c7e home: firefox: migrate deprecated option
All checks were successful
ci/woodpecker/push/check Pipeline was successful
2023-10-26 13:49:00 +00:00
eebc8c8d84 home: vim: migrate to 'none-ls-nvim'
This is the community-maintained fork of the plug-in.
2023-10-26 13:44:54 +00:00
b6102124a1 overlays: add 'gruvbox-nvim-old-diff'
I dislike the new style of diff [1].

Thankfully somebody wrote a patch to configure it [2] (though not
completely to my liking, so the local patch here is a bit different).
I used it as a basis, but made it always revert, rather than
configurable.

[1]: https://github.com/ellisonleao/gruvbox.nvim/issues/290
[2]: https://github.com/ellisonleao/gruvbox.nvim/pull/291
2023-10-26 13:44:54 +00:00
3 changed files with 6 additions and 6 deletions

View file

@ -14,7 +14,7 @@ _final: _prev: {
patches = [
# Inspired by https://github.com/ellisonleao/gruvbox.nvim/pull/291
./colours.patch
./old-colours.patch
];
meta = {

View file

@ -1,7 +1,7 @@
From 416b3c9c5e783d173ac0fd5310a76c1b144b92c1 Mon Sep 17 00:00:00 2001
From: eeeXun <sdes96303@gmail.com>
Date: Thu, 19 Oct 2023 02:34:12 +0800
Subject: Use better diff colours
Subject: feat: make invert_diff configurable
---
README.md | 3 ++-
@ -20,9 +20,9 @@ index ceba0735..a319fc6a 100644
- DiffAdd = { bg = colors.dark_green },
- DiffChange = { bg = colors.dark_aqua },
- DiffText = { bg = colors.yellow, fg = colors.bg0 },
+ DiffDelete = { fg = colors.red },
+ DiffAdd = { fg = colors.green },
+ DiffChange = { fg = colors.aqua },
+ DiffText = { fg = colors.yellow, bg = colors.bg0 },
+ DiffDelete = { fg = colors.bg0, bg = colors.red, reverse = config.inverse },
+ DiffAdd = { fg = colors.bg0, bg = colors.green, reverse = config.inverse },
+ DiffChange = { fg = colors.bg0, bg = colors.aqua, reverse = config.inverse },
+ DiffText = { bg = colors.yellow, fg = colors.bg0, reverse = config.inverse },
SpellCap = { link = "GruvboxBlueUnderline" },
SpellBad = { link = "GruvboxRedUnderline" },