add: update config

This commit is contained in:
asep.komarudin 2024-04-25 07:56:31 +07:00
parent 6da1a73df0
commit b318ced2cf

View file

@ -151,10 +151,13 @@ return {
lsp_progress = lspprogress.progress
end
-- stylua: ignore
local onedark=vim.fn.fnamemodify("auto", ":t")
local is_transparat = true
local colors = require("onedarkpro.helpers").get_colors("onedark")
local status_ok, onedarkpro = pcall(require, "onedarkpro.helpers")
if status_ok then
local colors = onedarkpro.get_colors("onedark")
local onedark = {
onedark = {
normal = {
a = { bg = colors.green, fg = colors.bg },
b = { bg = colors.fg_gutter, fg = colors.green },
@ -193,6 +196,7 @@ return {
},
},
}
end
require("lualine").setup({
options = {