Begin switch to new, new lualine repo

This commit is contained in:
ViViDboarder 2021-10-25 09:22:54 -07:00
parent c4d688ef51
commit 4499dab62b
2 changed files with 4 additions and 8 deletions

View File

@ -40,11 +40,7 @@ function _G.update_colors()
if vim.fn.exists(":AirlineRefresh") == 1 then if vim.fn.exists(":AirlineRefresh") == 1 then
vim.cmd(":AirlineRefresh") vim.cmd(":AirlineRefresh")
elseif utils.is_plugin_loaded("lualine.nvim") then elseif utils.is_plugin_loaded("lualine.nvim") then
local lualine_theme = vim.g.colors_name require("plugins.lualine").config_lualine()
if lualine_theme == "solarized" then
lualine_theme = lualine_theme .. "_" .. mode
end
require("plugins.lualine").config_lualine(lualine_theme)
end end
end end

View File

@ -85,15 +85,15 @@ return require('packer').startup(function()
} }
--]] --]]
use { use {
"shadmansaleh/lualine.nvim", "nvim-lualine/lualine.nvim",
config = function() require("plugins.lualine").config_lualine(vim.g.colors_name) end, config = function() require("plugins.lualine").config_lualine() end,
} }
use { use {
"cormacrelf/dark-notify", "cormacrelf/dark-notify",
-- Download latest release on install -- 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 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, config = config_dark_notify,
requires = "hoob3rt/lualine.nvim", requires = "nvim-lualine/lualine.nvim",
} }
use { use {
'mhinz/vim-startify', 'mhinz/vim-startify',