custom-hypr - add: nvim config

This commit is contained in:
huyjaky
2024-11-29 11:44:20 +07:00
parent ea3007a51e
commit 1380fa224b
56 changed files with 2878 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
return {
separators = {
left = { "", "" }, -- separator for the left side of the statusline
right = { "", "" }, -- separator for the right side of the statusline
-- tab = { "", "" },
},
colors = function(hl)
local get_hlgroup = require("astroui").get_hlgroup
-- use helper function to get highlight group properties
hl.text_fg = "#60b2a7"
hl.insert = "#a9b665"
hl.visual = "#e8b142"
hl.replace = "#ea6962"
hl.terminal = "#a89984"
hl.file_info_fg = hl.text_fg
hl.file_info_bg = "#bac2de"
hl.git_branch_fg = "#bd81b6"
hl.git_branch_bg = "#f5c2e7"
hl.lsp_fg = "black"
hl.lsp_bg = "#7fb4ca"
hl.search_bg = "#c8c093"
hl.grapple_bg = "#eba0ac"
hl.file_encoding_bg = "#f7768e"
hl.tab_width_bg = "#ff966c"
hl.nav_fg = "black"
hl.nav_bg = get_hlgroup("String").fg
hl.nav_icon_bg = hl.nav_bg
hl.normal = "#ade8f4"
return hl
end,
attributes = {
mode = { bold = true },
file_info = { bold = false },
git_branch = { bold = false },
diagnostics = { bold = false },
git_diff = { bold = false },
lsp = { bold = false },
},
}