added neovim config

This commit is contained in:
lkarch 2024-06-20 15:22:04 -04:00
parent d905eee498
commit 540c0ee912
2 changed files with 40 additions and 0 deletions

35
config/nvim/init.lua Normal file
View File

@ -0,0 +1,35 @@
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not (vim.uv or vim.loop).fs_stat(lazypath) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable", -- latest stable release
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
require("lazy").setup({
"nvim-lualine/lualine.nvim",
dependencies = { "nvim-tree/nvim-web-devicons" },
"neanias/everforest-nvim",
version = false,
lazy = false,
priority = 1000,
config = function()
require("everforest").setup({
background = "hard",
transparent_background_level = 0,
italics = true,
disable_italic_comments = false,
})
end,
})
require("lualine").setup({
options = {
theme = "everforest",
}
})
vim.cmd([[colorscheme everforest]])

View File

@ -0,0 +1,5 @@
{
"everforest-nvim": { "branch": "main", "commit": "93ae58039f565ef51252e1177e00946bd6258228" },
"lazy.nvim": { "branch": "main", "commit": "bc620783663ab09d16bff9fdecc07da65b2a1528" },
"lualine.nvim": { "branch": "master", "commit": "0a5a66803c7407767b799067986b4dc3036e1983" }
}