From dc5a6ffae611f13044b274dc1f0aa0110b844ff6 Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 26 Aug 2023 22:33:32 +0200 Subject: Fix(hm/conf/neovim/plugins/colorscheme): Mk todo,fix,&c comments visible --- .../soispha/config/neovim/nixvim/plugins/colorscheme/default.nix | 1 + .../neovim/nixvim/plugins/colorscheme/lua/mk_todos_readable.lua | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 home-manager/soispha/config/neovim/nixvim/plugins/colorscheme/lua/mk_todos_readable.lua 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) -- cgit 1.4.1