multiple colourschemes / colourscheme switching

This commit is contained in:
Mitchell Hingley
2026-07-16 17:08:58 -04:00
parent 3c2516bf51
commit ae329030db
4 changed files with 33 additions and 19 deletions
+5 -1
View File
@@ -21,9 +21,12 @@ vim.opt.rtp:prepend(lazypath)
-- This is also a good place to setup other settings (vim.opt)
vim.g.mapleader = " "
--vim.g.maplocalleader = "\\"
vim.opt.termguicolors = true
require("config.options")
local colScheme = require("ignoreConfig.colourConfig")
-- Setup lazy.nvim
require("lazy").setup({
spec = {
@@ -32,13 +35,14 @@ require("lazy").setup({
},
-- Configure any other settings here. See the documentation for more details.
-- colorscheme that will be used when installing plugins.
install = { colorscheme = { "everforest" } },
install = { colorscheme = { colScheme.name } },
-- automatically check for plugin updates
checker = {
enabled = true,
notify = false
},
})
vim.cmd("colorscheme " .. colScheme.name);
--setup colour indents
local highlight = {