From 0eeef36828c1b9ca4879223f4ff33bc6304e307b Mon Sep 17 00:00:00 2001 From: FlorianLackermeierLaptop Date: Thu, 16 May 2024 09:43:40 +0200 Subject: [PATCH] Changed colorscheme to gruvbox --- init.lua | 4 ++-- lua/custom/plugins/gruvbox_material.lua | 13 +++++++++++++ lua/custom/plugins/init.lua | 3 ++- 3 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 lua/custom/plugins/gruvbox_material.lua diff --git a/init.lua b/init.lua index 148a247a..d357027c 100644 --- a/init.lua +++ b/init.lua @@ -784,7 +784,7 @@ require('lazy').setup({ -- Load the colorscheme here. -- Like many other themes, this one has different styles, and you could load -- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'. - vim.cmd.colorscheme 'tokyonight-night' + -- vim.cmd.colorscheme 'tokyonight-night' -- You can configure highlights by doing something like: vim.cmd.hi 'Comment gui=none' @@ -887,7 +887,7 @@ require('lazy').setup({ -- -- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going. -- For additional information, see `:help lazy.nvim-lazy.nvim-structuring-your-plugins` - -- { import = 'custom.plugins' }, + { import = 'custom.plugins' }, }, { ui = { -- If you are using a Nerd Font: set icons to an empty table which will use the diff --git a/lua/custom/plugins/gruvbox_material.lua b/lua/custom/plugins/gruvbox_material.lua new file mode 100644 index 00000000..8b82f2a0 --- /dev/null +++ b/lua/custom/plugins/gruvbox_material.lua @@ -0,0 +1,13 @@ +return{ + 'sainnhe/gruvbox-material', + priority = 1000, -- Make sure to load this before all the other start plugins. + init = function() + -- Load the colorscheme here. + -- Like many other themes, this one has different styles, and you could load + -- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'. + vim.cmd.colorscheme 'gruvbox-material' + + -- You can configure highlights by doing something like: + -- vim.cmd.hi 'Comment gui=none' + end, +} diff --git a/lua/custom/plugins/init.lua b/lua/custom/plugins/init.lua index be0eb9d8..3adb89b1 100644 --- a/lua/custom/plugins/init.lua +++ b/lua/custom/plugins/init.lua @@ -2,4 +2,5 @@ -- I promise not to create any merge conflicts in this directory :) -- -- See the kickstart.nvim README for more information -return {} +return { +}