From e61cea38a6f3d35a389d9236e632b0eeb14fa788 Mon Sep 17 00:00:00 2001 From: Jean-Pierre Appel Date: Sun, 27 Aug 2023 22:15:00 -0400 Subject: added completions for some languages --- nvim/lua/plugins/colorscheme.lua | 33 ++++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) (limited to 'nvim/lua/plugins/colorscheme.lua') diff --git a/nvim/lua/plugins/colorscheme.lua b/nvim/lua/plugins/colorscheme.lua index 6df2325..f225789 100644 --- a/nvim/lua/plugins/colorscheme.lua +++ b/nvim/lua/plugins/colorscheme.lua @@ -1,12 +1,23 @@ -return { - { - "catppuccin/nvim" , - name = "catpuccin", - enabled = true, - lazy = false, - priority = 1000, - config = function() - vim.cmd("colorscheme catppuccin-mocha") - end - }, +local colorscheme = { + lazy = false, + priority = 1000 } + +local catpuccin = { + "catppuccin/nvim" , + name = "catpuccin", + config = function() + vim.cmd[[colorscheme catppuccin-mocha]] + end +} + +local tokyonight = { + 'folke/tokyonight.nvim', + name = 'tokyonight', + config = function() + vim.cmd[[colorscheme tokyonight-night]] + end +} + +-- combine default colorscheme settings with selected theme +return vim.tbl_extend('force', colorscheme, catpuccin) -- cgit v1.2.3