This commit is contained in:
2026-05-21 22:51:14 +03:00
parent b2ead3cf15
commit 859f26de7b
8 changed files with 144 additions and 27 deletions
+38 -2
View File
@@ -1,2 +1,38 @@
vim.opt.number = true
vim.notify("nnm nvim (stub config)")
vim.g.mapleader = " "
vim.g.maplocalleader = " "
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable",
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
require("lazy").setup({
spec = {
{ "LazyVim/LazyVim", import = "lazyvim.plugins" },
{ import = "plugins" },
},
defaults = {
lazy = false,
version = false,
},
install = { colorscheme = { "tokyonight" } },
checker = { enabled = true },
performance = {
cache = { enabled = true },
rtp = {
disabled_plugins = {
"gzip", "matchit", "matchparen",
"netrwPlugin", "tarPlugin", "tohtml",
"tutor", "zipPlugin",
},
},
},
})
@@ -0,0 +1,60 @@
return {
{
"LazyVim/LazyVim",
opts = {
colorscheme = "tokyonight",
},
},
{
"folke/tokyonight.nvim",
opts = {
style = "night",
on_highlights = function(hl, c)
hl.Normal = { bg = "#001e26", fg = "#9bc1c2" }
hl.NormalFloat = { bg = "#002731" }
hl.LineNr = { fg = "#006388" }
hl.CursorLine = { bg = "#002731" }
hl.CursorLineNr = { fg = "#9bc1c2" }
hl.Visual = { bg = "#003747" }
hl.VisualNOS = { bg = "#003747" }
hl.Search = { bg = "#a57705", fg = "#001e26" }
hl.IncSearch = { bg = "#f34a00", fg = "#001e26" }
hl.Comment = { fg = "#006388", italic = true }
hl.String = { fg = "#6bbe6c" }
hl.Function = { fg = "#2075c7" }
hl.Number = { fg = "#c61b6e" }
hl.Boolean = { fg = "#c61b6e" }
hl.Type = { fg = "#259185" }
hl.Keyword = { fg = "#d01b24" }
hl.Identifier = { fg = "#9bc1c2" }
hl.Constant = { fg = "#a57705" }
hl.Special = { fg = "#e14d8e" }
hl.Title = { fg = "#178dc7", bold = true }
hl.Todo = { bg = "#a57705", fg = "#001e26" }
hl.Error = { fg = "#f4153b" }
hl.WarningMsg = { fg = "#b17e28" }
hl.MoreMsg = { fg = "#50ee84" }
hl.Question = { fg = "#178dc7" }
hl.Pmenu = { bg = "#002731", fg = "#9bc1c2" }
hl.PmenuSel = { bg = "#003747", fg = "#e9e2cb" }
hl.PmenuSbar = { bg = "#002731" }
hl.PmenuThumb = { bg = "#006388" }
hl.StatusLine = { bg = "#003747", fg = "#9bc1c2" }
hl.StatusLineNC = { bg = "#002731", fg = "#006388" }
hl.TabLine = { bg = "#002731", fg = "#006388" }
hl.TabLineSel = { bg = "#003747", fg = "#e9e2cb" }
hl.TabLineFill = { bg = "#001e26" }
hl.NonText = { fg = "#006388" }
hl.SpecialKey = { fg = "#00b29e" }
hl.MatchParen = { bg = "#003747", fg = "#f34a00" }
hl.DiffAdd = { bg = "#1a3a1a", fg = "#50ee84" }
hl.DiffChange = { bg = "#1a2a3a", fg = "#178dc7" }
hl.DiffDelete = { bg = "#3a1a1a", fg = "#f4153b" }
hl.DiffText = { bg = "#1a3a3a", fg = "#00b29e" }
hl.SpellBad = { undercurl = true, sp = "#f4153b" }
hl.SpellCap = { undercurl = true, sp = "#b17e28" }
hl.Whitespace = { fg = "#004455" }
end,
},
},
}
+8
View File
@@ -0,0 +1,8 @@
return {
{
"mbbill/undotree",
keys = {
{ "<leader>u", vim.cmd.UndotreeToggle, desc = "Undotree" },
},
},
}