diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2025-09-15 18:00:47 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2025-09-15 18:00:47 +0200 |
| commit | 480348edc96ca3d3bc26d8623a4c962d201e97dd (patch) | |
| tree | b8d926d4ff6d97088691e7e4bb518a80501ad296 /config/nvim/lua/plugins/theme.lua | |
| parent | 10dbc7044b269b687313ea7a70fb8cd5c59d0b60 (diff) | |
feat(nvim): support go and auto update plugins following system colorscheme
Diffstat (limited to 'config/nvim/lua/plugins/theme.lua')
| -rw-r--r-- | config/nvim/lua/plugins/theme.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/config/nvim/lua/plugins/theme.lua b/config/nvim/lua/plugins/theme.lua new file mode 100644 index 0000000..8902d48 --- /dev/null +++ b/config/nvim/lua/plugins/theme.lua @@ -0,0 +1,15 @@ +return { + { "catppuccin/nvim", name = "catppuccin" }, + { + "f-person/auto-dark-mode.nvim", + opts = { + set_dark_mode = function() + pcall(vim.cmd, "colorscheme " .. "catppuccin-macchiato") + -- darkest one: pcall(vim.cmd, "colorscheme " .. "catppuccin-mocha") + end, + set_light_mode = function() + pcall(vim.cmd, "colorscheme " .. "catppuccin-latte") + end, + } + } +} |
