mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 23:17:35 +00:00
Begin switch to new, new lualine repo
This commit is contained in:
parent
c4d688ef51
commit
4499dab62b
@ -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
|
||||||
|
|
||||||
|
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user