mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 16:39:04 +02:00
add: update config
This commit is contained in:
parent
6da1a73df0
commit
b318ced2cf
1 changed files with 42 additions and 38 deletions
|
@ -151,48 +151,52 @@ return {
|
||||||
lsp_progress = lspprogress.progress
|
lsp_progress = lspprogress.progress
|
||||||
end
|
end
|
||||||
-- stylua: ignore
|
-- stylua: ignore
|
||||||
local is_transparat=true
|
local onedark=vim.fn.fnamemodify("auto", ":t")
|
||||||
local colors = require("onedarkpro.helpers").get_colors("onedark")
|
local is_transparat = true
|
||||||
|
local status_ok, onedarkpro = pcall(require, "onedarkpro.helpers")
|
||||||
|
if status_ok then
|
||||||
|
local colors = onedarkpro.get_colors("onedark")
|
||||||
|
|
||||||
local onedark = {
|
onedark = {
|
||||||
normal = {
|
normal = {
|
||||||
a = { bg = colors.green, fg = colors.bg },
|
a = { bg = colors.green, fg = colors.bg },
|
||||||
b = { bg = colors.fg_gutter, fg = colors.green },
|
b = { bg = colors.fg_gutter, fg = colors.green },
|
||||||
c = {
|
c = {
|
||||||
bg = is_transparat and colors.none or colors.bg_statusline,
|
bg = is_transparat and colors.none or colors.bg_statusline,
|
||||||
fg = colors.fg,
|
fg = colors.fg,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
|
||||||
|
|
||||||
insert = {
|
insert = {
|
||||||
a = { bg = colors.blue, fg = colors.bg },
|
a = { bg = colors.blue, fg = colors.bg },
|
||||||
b = { bg = colors.fg_gutter, fg = colors.blue },
|
b = { bg = colors.fg_gutter, fg = colors.blue },
|
||||||
},
|
|
||||||
visual = {
|
|
||||||
a = { bg = colors.yellow, fg = colors.bg },
|
|
||||||
b = { bg = colors.fg_gutter, fg = colors.yellow },
|
|
||||||
},
|
|
||||||
replace = {
|
|
||||||
a = { bg = colors.red, fg = colors.bg },
|
|
||||||
b = { bg = colors.fg_gutter, fg = colors.red },
|
|
||||||
},
|
|
||||||
command = {
|
|
||||||
a = { bg = colors.purple, fg = colors.bg },
|
|
||||||
b = { bg = colors.fg_gutter, fg = colors.purple },
|
|
||||||
},
|
|
||||||
terminal = {
|
|
||||||
a = { bg = colors.cyan, fg = colors.bg },
|
|
||||||
b = { bg = colors.fg_gutter, fg = colors.cyan },
|
|
||||||
},
|
|
||||||
inactive = {
|
|
||||||
a = { bg = colors.bg, fg = colors.blue },
|
|
||||||
b = { bg = colors.bg, fg = colors.fg_gutter_inactive, gui = "bold" },
|
|
||||||
c = {
|
|
||||||
bg = is_transparat and colors.none or colors.bg,
|
|
||||||
fg = colors.fg_gutter_inactive,
|
|
||||||
},
|
},
|
||||||
},
|
visual = {
|
||||||
}
|
a = { bg = colors.yellow, fg = colors.bg },
|
||||||
|
b = { bg = colors.fg_gutter, fg = colors.yellow },
|
||||||
|
},
|
||||||
|
replace = {
|
||||||
|
a = { bg = colors.red, fg = colors.bg },
|
||||||
|
b = { bg = colors.fg_gutter, fg = colors.red },
|
||||||
|
},
|
||||||
|
command = {
|
||||||
|
a = { bg = colors.purple, fg = colors.bg },
|
||||||
|
b = { bg = colors.fg_gutter, fg = colors.purple },
|
||||||
|
},
|
||||||
|
terminal = {
|
||||||
|
a = { bg = colors.cyan, fg = colors.bg },
|
||||||
|
b = { bg = colors.fg_gutter, fg = colors.cyan },
|
||||||
|
},
|
||||||
|
inactive = {
|
||||||
|
a = { bg = colors.bg, fg = colors.blue },
|
||||||
|
b = { bg = colors.bg, fg = colors.fg_gutter_inactive, gui = "bold" },
|
||||||
|
c = {
|
||||||
|
bg = is_transparat and colors.none or colors.bg,
|
||||||
|
fg = colors.fg_gutter_inactive,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
end
|
||||||
|
|
||||||
require("lualine").setup({
|
require("lualine").setup({
|
||||||
options = {
|
options = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue