diff options
| author | Soispha <soispha@vhack.eu> | 2023-08-26 22:33:32 +0200 |
|---|---|---|
| committer | Soispha <soispha@vhack.eu> | 2023-08-26 22:56:08 +0200 |
| commit | dc5a6ffae611f13044b274dc1f0aa0110b844ff6 (patch) | |
| tree | e5e38949ac57be6dee57ab10536b75239df45021 /home-manager/soispha | |
| parent | Feat(hm/conf/neovim/plugins/todo-comments): Init (diff) | |
| download | nixos-config-dc5a6ffae611f13044b274dc1f0aa0110b844ff6.zip | |
Fix(hm/conf/neovim/plugins/colorscheme): Mk todo,fix,&c comments visible
Diffstat (limited to '')
| -rw-r--r-- | home-manager/soispha/config/neovim/nixvim/plugins/colorscheme/default.nix | 1 | ||||
| -rw-r--r-- | home-manager/soispha/config/neovim/nixvim/plugins/colorscheme/lua/mk_todos_readable.lua | 5 |
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) |
