about summary refs log tree commit diff stats
path: root/home-manager
diff options
context:
space:
mode:
Diffstat (limited to 'home-manager')
-rw-r--r--home-manager/soispha/config/neovim/nixvim/plugins/colorscheme/default.nix1
-rw-r--r--home-manager/soispha/config/neovim/nixvim/plugins/colorscheme/lua/mk_todos_readable.lua5
2 files changed, 6 insertions, 0 deletions
diff --git a/home-manager/soispha/config/neovim/nixvim/plugins/colorscheme/default.nix b/home-manager/soispha/config/neovim/nixvim/plugins/colorscheme/default.nix
index bb1e128c..21069752 100644
--- a/home-manager/soispha/config/neovim/nixvim/plugins/colorscheme/default.nix
+++ b/home-manager/soispha/config/neovim/nixvim/plugins/colorscheme/default.nix
@@ -7,6 +7,7 @@
     # TODO: package nightfox though a module
     extraConfigLuaPost = ''
       ${lib.strings.fileContents ./lua/nightfox.lua}
+      ${lib.strings.fileContents ./lua/mk_todos_readable.lua}
     '';
     colorscheme = "duskfox";
     extraPlugins = [
diff --git a/home-manager/soispha/config/neovim/nixvim/plugins/colorscheme/lua/mk_todos_readable.lua b/home-manager/soispha/config/neovim/nixvim/plugins/colorscheme/lua/mk_todos_readable.lua
new file mode 100644
index 00000000..29f3004c
--- /dev/null
+++ b/home-manager/soispha/config/neovim/nixvim/plugins/colorscheme/lua/mk_todos_readable.lua
@@ -0,0 +1,5 @@
+local opts = { bg = 'NONE'; fg = 'fg' }
+vim.api.nvim_set_hl(0, '@text.danger', opts)
+vim.api.nvim_set_hl(0, '@text.note', opts)
+vim.api.nvim_set_hl(0, '@text.todo', opts)
+vim.api.nvim_set_hl(0, '@text.warning', opts)