colorscheme

This commit is contained in:
2026-03-09 19:52:00 +01:00
parent 19b7873e02
commit 2bd1d0bdf7
5 changed files with 61 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
-- --
require("core.options") require("core.options")
require("core.keymaps") require("core.keymaps")
require("config.lazy")
vim.opt.mouse = "a" vim.opt.mouse = "a"

6
lazy-lock.json Normal file
View File

@@ -0,0 +1,6 @@
{
"lazy.nvim": { "branch": "main", "commit": "85c7ff3711b730b4030d03144f6db6375044ae82" },
"lualine.nvim": { "branch": "master", "commit": "47f91c416daef12db467145e16bed5bbfe00add8" },
"nightfox.nvim": { "branch": "main", "commit": "ba47d4b4c5ec308718641ba7402c143836f35aa9" },
"nvim-web-devicons": { "branch": "master", "commit": "737cf6c657898d0c697311d79d361288a1343d50" }
}

25
lua/config/lazy.lua Normal file
View File

@@ -0,0 +1,25 @@
-- Bootstrap lazy.nvim
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not (vim.uv or vim.loop).fs_stat(lazypath) then
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
if vim.v.shell_error ~= 0 then
vim.api.nvim_echo({
{ "Failed to clone lazy.nvim:\n", "ErrorMsg" },
{ out, "WarningMsg" },
{ "\nPress any key to exit..." },
}, true, {})
vim.fn.getchar()
os.exit(1)
end
end
vim.opt.rtp:prepend(lazypath)
-- Setup lazy.nvim
require("lazy").setup({
spec = {
-- import your plugins
{ import = "plugins" },
},
change_detection = { notify = false },
})

View File

@@ -16,3 +16,8 @@ vim.opt.splitbelow = true
vim.opt.updatetime = 200 vim.opt.updatetime = 200
vim.opt.timeoutlen = 400 vim.opt.timeoutlen = 400
vim.opt.tabstop=4
vim.opt.softtabstop=4
vim.opt.autoindent=true
vim.opt.smartindent=true

24
lua/plugins/colors.lua Normal file
View File

@@ -0,0 +1,24 @@
local function enable_transparency()
vim.api.nvim_set_hl(0, "Normal", {bg = "none" })
end
return {
{
"EdenEast/nightfox.nvim",
config = function()
vim.cmd.colorscheme "Dawnfox"
-- enable_transparency()
end
},
{
"nvim-lualine/lualine.nvim",
dependencies = {
"nvim-tree/nvim-web-devicons",
},
opts = {
theme = 'tokyonight'
},
},
}