Files
nvim-configs/lua/chadrc.lua
vigdorov 43c8b90762 Update nvim config
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 11:25:51 +03:00

64 lines
2.6 KiB
Lua

-- This file needs to have same structure as nvconfig.lua
-- https://github.com/NvChad/ui/blob/v3.0/lua/nvconfig.lua
-- Please read that file to know all available options :(
---@type ChadrcConfig
local M = {}
M.base46 = {
theme = "oceanic-next",
hl_add = {
St_kbd_en_sep = { fg = "green", bg = "statusline_bg" },
St_kbd_en_icon = { fg = "black", bg = "green", bold = true },
St_kbd_ru_sep = { fg = "orange", bg = "statusline_bg" },
St_kbd_ru_icon = { fg = "black", bg = "orange", bold = true },
},
-- Match VS Code Oceanic Next (naumovs) colors exactly
changed_themes = {
["oceanic-next"] = {
base_30 = {
cyan = "#5FB3B3", -- VS Code: operators/regexp/escape
red = "#EB606B", -- VS Code: tags (NVChad had EC5F67)
},
base_16 = {
base05 = "#CDD3DE", -- foreground text (NVChad had C0C5Ce)
base08 = "#5FB3B3", -- operators/punctuation (NVChad had 6cbdbc)
base0C = "#5FB3B3", -- regexp/escape (NVChad had 5aaeae)
base0F = "#EB606B", -- tags (NVChad had EC5F67)
},
},
},
nvdash = {
load_on_startup = true,
header = {
"██╗ ██╗██╗ ██████╗ ██████╗ ██████╗ ██████╗ ██████╗ ██╗ ██╗",
"██║ ██║██║██╔════╝ ██╔══██╗██╔═══██╗██╔══██╗██╔═══██╗██║ ██║",
"██║ ██║██║██║ ███╗██║ ██║██║ ██║██████╔╝██║ ██║██║ ██║",
"╚██╗ ██╔╝██║██║ ██║██║ ██║██║ ██║██╔══██╗██║ ██║╚██╗ ██╔╝",
" ╚████╔╝ ██║╚██████╔╝██████╔╝╚██████╔╝██║ ██║╚██████╔╝ ╚████╔╝ ",
" ╚═══╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═══╝ ",
},
},
}
M.ui = {
statusline = {
order = { "mode", "file", "git", "%=", "lsp_msg", "%=", "diagnostics", "lsp", "kbd", "cwd", "cursor" },
modules = {
kbd = function()
local lang = vim.g.im_current_lang or "EN"
if lang == "RU" then
return "%#St_kbd_ru_sep#" .. "" .. "%#St_kbd_ru_icon# 󰌌 RU "
else
return "%#St_kbd_en_sep#" .. "" .. "%#St_kbd_en_icon# 󰌌 EN "
end
end,
},
},
}
return M