From 4499dab62b87d30dcb3e58fbf9c4d529dcaa6050 Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Mon, 25 Oct 2021 09:22:54 -0700 Subject: [PATCH] Begin switch to new, new lualine repo --- neovim/lua/_colors.lua | 6 +----- neovim/lua/plugins.lua | 6 +++--- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/neovim/lua/_colors.lua b/neovim/lua/_colors.lua index 896c8fa..f7ff871 100644 --- a/neovim/lua/_colors.lua +++ b/neovim/lua/_colors.lua @@ -40,11 +40,7 @@ function _G.update_colors() if vim.fn.exists(":AirlineRefresh") == 1 then vim.cmd(":AirlineRefresh") elseif utils.is_plugin_loaded("lualine.nvim") then - local lualine_theme = vim.g.colors_name - if lualine_theme == "solarized" then - lualine_theme = lualine_theme .. "_" .. mode - end - require("plugins.lualine").config_lualine(lualine_theme) + require("plugins.lualine").config_lualine() end end diff --git a/neovim/lua/plugins.lua b/neovim/lua/plugins.lua index a2943e2..58eb1db 100644 --- a/neovim/lua/plugins.lua +++ b/neovim/lua/plugins.lua @@ -85,15 +85,15 @@ return require('packer').startup(function() } --]] use { - "shadmansaleh/lualine.nvim", - config = function() require("plugins.lualine").config_lualine(vim.g.colors_name) end, + "nvim-lualine/lualine.nvim", + config = function() require("plugins.lualine").config_lualine() end, } use { "cormacrelf/dark-notify", -- Download latest release on install run = "curl -s https://api.github.com/repos/cormacrelf/dark-notify/releases/latest | jq '.assets[].browser_download_url' | xargs curl -Ls | tar xz -C ~/.local/bin/", -- luacheck: no max line length config = config_dark_notify, - requires = "hoob3rt/lualine.nvim", + requires = "nvim-lualine/lualine.nvim", } use { 'mhinz/vim-startify',