From fd9547b5eaa746a1c46350573868373688035821 Mon Sep 17 00:00:00 2001 From: Joshua Molloy Date: Fri, 12 Apr 2024 12:01:19 +0100 Subject: [PATCH] custom colourscheme and added two plugins from the default --- init.lua | 8 ++++---- lua/custom/plugins/init.lua | 11 ++++++++++- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/init.lua b/init.lua index 292ec077..57686de2 100644 --- a/init.lua +++ b/init.lua @@ -722,7 +722,7 @@ require('lazy').setup { -- -- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme` 'folke/tokyonight.nvim', - lazy = false, -- make sure we load this during startup if it is your main colorscheme + lazy = true, -- 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() -- Load the colorscheme here @@ -806,15 +806,15 @@ require('lazy').setup { -- Here are some example plugins that I've included in the kickstart repository. -- Uncomment any of the lines below to enable them (you will need to restart nvim). -- - -- require 'kickstart.plugins.debug', - -- require 'kickstart.plugins.indent_line', + require 'kickstart.plugins.debug', + require 'kickstart.plugins.indent_line', -- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua` -- This is the easiest way to modularize your config. -- -- 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' }, } -- The line beneath this is called `modeline`. See `:help modeline` diff --git a/lua/custom/plugins/init.lua b/lua/custom/plugins/init.lua index be0eb9d8..86e7672e 100644 --- a/lua/custom/plugins/init.lua +++ b/lua/custom/plugins/init.lua @@ -2,4 +2,13 @@ -- I promise not to create any merge conflicts in this directory :) -- -- See the kickstart.nvim README for more information -return {} +return { + { + 'bluz71/vim-moonfly-colors', + lazy = false, + priority = 1000, + config = function() + vim.cmd.colorscheme 'moonfly' + end, + }, +}