Switched to lazy vim as packer stopped working.

Will need to clear the .local/shared/nvim/site directory to stop using
the packer packages.
I guess I made a build and run? that's neat.
This commit is contained in:
2024-01-29 16:53:18 +08:00
parent 4a09b836c1
commit 48eb0d8d60
5 changed files with 90 additions and 23 deletions
+21 -2
View File
@@ -1,6 +1,25 @@
-- Only required if you have packer configured as `opt`
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not 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({
"morhetz/gruvbox",
"neovim/nvim-lspconfig",
{ "nvim-telescope/telescope.nvim", dependencies = {"nvim-lua/plenary.nvim"} },
"windwp/nvim-autopairs",
"sheerun/vim-polyglot",
"habamax/vim-godot",
})
require('statusline')
require('packer_init')
--require('packer_init')
require('keybindings')
--vim.opt.guicursor = " "