colorscheme
This commit is contained in:
25
lua/config/lazy.lua
Normal file
25
lua/config/lazy.lua
Normal 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 },
|
||||
})
|
||||
@@ -16,3 +16,8 @@ vim.opt.splitbelow = true
|
||||
vim.opt.updatetime = 200
|
||||
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
24
lua/plugins/colors.lua
Normal 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'
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user