From 2b920d12302e2d2a6be1d28185be1ddbe6518e6f Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Sat, 18 Sep 2021 19:49:45 -0700 Subject: [PATCH] Fix lualine theme loading Colors were being set before plugin loading causing lualine to not init. This change tells lualine to init after load with the current colorscheme. --- neovim/lua/plugins.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/neovim/lua/plugins.lua b/neovim/lua/plugins.lua index 1921efd..80ceb4a 100644 --- a/neovim/lua/plugins.lua +++ b/neovim/lua/plugins.lua @@ -56,7 +56,10 @@ return require('packer').startup(function() -- UI use "~/workspace/ez-colors.nvim/wombat" - use "hoob3rt/lualine.nvim" + use { + "hoob3rt/lualine.nvim", + config = function() require("plugins.lualine").config_lualine(vim.g.colors_name) end, + } use "vim-scripts/wombat256.vim" use "ishan9299/nvim-solarized-lua" use {