Reverted back to lunaperche, better compatibility with raw terminal

This commit is contained in:
2025-07-07 22:15:34 +02:00
parent 19cfaeab49
commit 3e3d7b8173
3 changed files with 9 additions and 10 deletions

View File

@@ -1,6 +1,5 @@
-- define your colorscheme here -- define your colorscheme here
-- local colorscheme = 'lunaperche-sl' local colorscheme = 'lunaperche-sl'
local colorscheme = 'nightfox'
local is_ok, _ = pcall(vim.cmd, "colorscheme " .. colorscheme) local is_ok, _ = pcall(vim.cmd, "colorscheme " .. colorscheme)
if not is_ok then if not is_ok then

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 -- toggle colorscheme between dark and light
vim.keymap.set('n', '<leader>m', function() vim.keymap.set('n', '<leader>m', function()
if vim.g.colors_name == "nightfox" then if vim.opt.background:get() == "dark" then
vim.cmd('colorscheme dayfox') vim.o.background = "light"
else else
vim.cmd('colorscheme nightfox') vim.o.background = "dark"
end end
end, { desc = "Toggle Nightfox/Dayfox" }) end, { desc = "Toggle dark/light mode" })
-- --
-- configure workspaces -- configure workspaces

View File

@@ -608,8 +608,8 @@ require("lazy").setup({
vim.diagnostic.config({ virtual_text = false }) -- Only if needed in your configuration, if you already have native LSP diagnostics vim.diagnostic.config({ virtual_text = false }) -- Only if needed in your configuration, if you already have native LSP diagnostics
end end
}, },
-- Nightfox colorscheme
{ "EdenEast/nightfox.nvim" },
-- new plugins here -- new plugins here