Skip to content

Commit 0d569e5

Browse files
committed
improv: use lazy.nvim's recommended bootstrap (better fix for #3)
1 parent edb1565 commit 0d569e5

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

kickstart-python.lua

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
-- BOOTSTRAP the plugin manager `lazy.nvim`
2-
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
3-
if not vim.uv.fs_stat(lazypath) then
4-
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
5-
local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
6-
if vim.v.shell_error ~= 0 then error("Error cloning lazy.nvim:\n" .. out) end
7-
end
8-
vim.opt.runtimepath:prepend(lazypath)
1+
-- BOOTSTRAP LAZY.NVIM https://lazy.folke.io/developers#bootstrap
2+
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()
93

104
--------------------------------------------------------------------------------
115
-- BASIC PYTHON-RELATED OPTIONS

0 commit comments

Comments
 (0)