Skip to content

Commit

Permalink
neovim: simplify lazy.nvim bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
geodimm committed Sep 21, 2024
1 parent b0e640c commit defec24
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions nvim/init.lua
Original file line number Diff line number Diff line change
@@ -1,17 +1,5 @@
-- vim: foldmethod=marker
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)
load(vim.fn.system('curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua'))()

require('user.options')
require('user.keymap')
Expand Down

0 comments on commit defec24

Please sign in to comment.