From d4ce512d9ac5991955294d30ebc4d8d0b30302c4 Mon Sep 17 00:00:00 2001 From: Roee Kleiner Date: Sun, 21 May 2023 12:04:20 +0300 Subject: [PATCH] Change theme and add plugins for transparent background --- init.lua | 22 +++++++++++++++++----- lua/custom/plugins/transparent.lua | 6 ++++++ 2 files changed, 23 insertions(+), 5 deletions(-) create mode 100644 lua/custom/plugins/transparent.lua diff --git a/init.lua b/init.lua index 6649408f..abf5429e 100644 --- a/init.lua +++ b/init.lua @@ -121,12 +121,24 @@ require('lazy').setup({ -- vim.cmd.colorscheme 'no-clown-fiesta' -- end, -- }, + -- { + -- 'aktersnurra/no-clown-fiesta.nvim', + -- priority = 10000, + -- config = function() + -- vim.cmd.colorscheme 'no-clown-fiesta' + -- end + -- }, { - 'aktersnurra/no-clown-fiesta.nvim', - priority = 10000, + 'projekt0n/github-nvim-theme', + lazy = false, -- make sure we load this during startup if it is your main colorscheme + priority = 1000, -- make sure to load this before all the other start plugins config = function() - vim.cmd.colorscheme 'no-clown-fiesta' - end + require('github-theme').setup({ + -- ... + }) + + vim.cmd.colorscheme('github_dark_tritanopia') + end, }, { @@ -421,7 +433,7 @@ end -- Add any additional override configuration in the following tables. They will be passed to -- the `settings` field of the server config. You must look up that documentation yourself. local servers = { - -- clangd = {}, + clangd = {}, -- gopls = {}, -- pyright = {}, -- rust_analyzer = {}, diff --git a/lua/custom/plugins/transparent.lua b/lua/custom/plugins/transparent.lua new file mode 100644 index 00000000..a09af582 --- /dev/null +++ b/lua/custom/plugins/transparent.lua @@ -0,0 +1,6 @@ +return { + "xiyaowong/transparent.nvim", + config = function() + require('transparent').setup {} + end, +}