feat(vim-plugins): Add lazy.nvim to Neovim config

Continuing the process of migrating git-submodules for Neovim and Vim to
plugin managers.  Now is the time for Neovim plugins.
This commit is contained in:
Dionisio E Alonso 2024-03-26 17:03:08 -03:00
parent 7343d1aab6
commit b55ca145f8
2 changed files with 16 additions and 0 deletions

View File

@ -59,6 +59,8 @@ set foldexpr=nvim_treesitter#foldexpr()
set foldtext=""
set nofoldenable
lua require("plugins")
" Theming
let g:aldmeris_transparent = v:true
let g:aldmeris_termcolors = 'tango'

14
nvim/lua/plugins.lua Normal file
View File

@ -0,0 +1,14 @@
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.uv.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()