diff options
| author | JP Appel <jeanpierre.appel01@gmail.com> | 2024-02-06 12:59:02 -0500 |
|---|---|---|
| committer | JP Appel <jeanpierre.appel01@gmail.com> | 2024-02-06 12:59:02 -0500 |
| commit | 4dbef437d707f82ca5ceffa24ea6198e966888d6 (patch) | |
| tree | 4eb97bdaa1ad0677b352d64cd9f32ad809f9233a /nvim/lua | |
| parent | 2c8403cf1c56d2e34a2c6f03bd6e9d4add8dca40 (diff) | |
refactor: use hostname to set colorscheme
Diffstat (limited to 'nvim/lua')
| -rw-r--r-- | nvim/lua/plugins/colorscheme.lua | 27 | ||||
| -rw-r--r-- | nvim/lua/plugins/lspzero.lua | 1 |
2 files changed, 23 insertions, 5 deletions
diff --git a/nvim/lua/plugins/colorscheme.lua b/nvim/lua/plugins/colorscheme.lua index 26a545d..d070796 100644 --- a/nvim/lua/plugins/colorscheme.lua +++ b/nvim/lua/plugins/colorscheme.lua @@ -1,15 +1,15 @@ -return { - { +local colorschemes = { + catppuccin = { "catppuccin/nvim" , name = "catpuccin", lazy = false, priority = 1000, - enabled = true, + enabled = false, config = function() vim.cmd[[colorscheme catppuccin-mocha]] end }, - { + wal = { "mbrea-c/wal-colors.nvim", enabled = false, lazy = false, @@ -18,7 +18,7 @@ return { vim.cmd[[colorscheme mbc]] end, }, - { + tokyonight = { 'folke/tokyonight.nvim', name = 'tokyonight', enabled = false, @@ -27,5 +27,22 @@ return { config = function() vim.cmd[[colorscheme tokyonight-night]] end + }, + everforest = { + 'sainnhe/everforest', + enabled = true, + lazy = false, + priority = 1000, + config = function() + vim.g.everforest_background = 'hard' + vim.g.everforest_transparent_background = 2 + vim.cmd[[colorscheme everforest]] + end, } } + +local colorsProfiles = require("profiles").createProfiles(colorschemes.catppuccin) + +colorsProfiles["nest"] = colorschemes.everforest + +return colorsProfiles[HOSTNAME] diff --git a/nvim/lua/plugins/lspzero.lua b/nvim/lua/plugins/lspzero.lua index bc16001..66c4709 100644 --- a/nvim/lua/plugins/lspzero.lua +++ b/nvim/lua/plugins/lspzero.lua @@ -8,6 +8,7 @@ return { {'williamboman/mason-lspconfig.nvim'}, -- Optional -- Autocompletion + -- TODO: move dependencies {'hrsh7th/nvim-cmp'}, -- Required {'hrsh7th/cmp-nvim-lsp'}, -- Required {'L3MON4D3/LuaSnip'}, -- Required |
