added neovim config
This commit is contained in:
parent
d905eee498
commit
540c0ee912
35
config/nvim/init.lua
Normal file
35
config/nvim/init.lua
Normal 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]])
|
5
config/nvim/lazy-lock.json
Normal file
5
config/nvim/lazy-lock.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"everforest-nvim": { "branch": "main", "commit": "93ae58039f565ef51252e1177e00946bd6258228" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "bc620783663ab09d16bff9fdecc07da65b2a1528" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "0a5a66803c7407767b799067986b4dc3036e1983" }
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user