From a3ee26ebf25f2c8b86cace02b66ce622de90ec6c Mon Sep 17 00:00:00 2001 From: Terence Ponce Date: Mon, 3 Apr 2023 17:31:53 +0100 Subject: [PATCH] Change theme to gruvbox (#4) This is the flavour of the month --- init.lua | 8 -------- lua/custom/plugins/theme.lua | 8 ++++++++ 2 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 lua/custom/plugins/theme.lua diff --git a/init.lua b/init.lua index 2bd3c814..c92942e5 100644 --- a/init.lua +++ b/init.lua @@ -112,14 +112,6 @@ require('lazy').setup({ }, }, - { -- Theme inspired by Atom - 'navarasu/onedark.nvim', - priority = 1000, - config = function() - vim.cmd.colorscheme 'onedark' - end, - }, - { -- Set lualine as statusline 'nvim-lualine/lualine.nvim', -- See `:help lualine.txt` diff --git a/lua/custom/plugins/theme.lua b/lua/custom/plugins/theme.lua new file mode 100644 index 00000000..cc2d1576 --- /dev/null +++ b/lua/custom/plugins/theme.lua @@ -0,0 +1,8 @@ +return { + 'ellisonleao/gruvbox.nvim', + priority = 1000, + config = function() + vim.cmd.colorscheme 'gruvbox' + vim.o.background = 'dark' + end, +}