multiple colourschemes / colourscheme switching
This commit is contained in:
+5
-1
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user