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
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

View File

@ -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',