Update nvim config
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@ -1,17 +1,63 @@
|
||||
-- This file needs to have same structure as nvconfig.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 :(
|
||||
-- Please read that file to know all available options :(
|
||||
|
||||
---@type ChadrcConfig
|
||||
local M = {}
|
||||
|
||||
M.base46 = {
|
||||
theme = "onedark",
|
||||
theme = "oceanic-next",
|
||||
|
||||
-- hl_override = {
|
||||
-- Comment = { italic = true },
|
||||
-- ["@comment"] = { italic = true },
|
||||
-- },
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user