Disabled mason plugin, added Nightfox colorscheme

This commit is contained in:
2025-07-07 09:08:04 +02:00
parent 5b41b4d781
commit 19cfaeab49
3 changed files with 12 additions and 8 deletions

View File

@@ -28,12 +28,12 @@ vim.keymap.set('n', '<space>o', ":silent !chromium '%'<cr>", { desc = "Open in b
-- toggle colorscheme between dark and light
vim.keymap.set('n', '<leader>m', function()
if vim.opt.background:get() == "dark" then
vim.o.background = "light"
if vim.g.colors_name == "nightfox" then
vim.cmd('colorscheme dayfox')
else
vim.o.background = "dark"
vim.cmd('colorscheme nightfox')
end
end, { desc = "Toggle dark/light mode" })
end, { desc = "Toggle Nightfox/Dayfox" })
--
-- configure workspaces