diff --git a/init.lua b/init.lua index 0fc8a3f..c8dbe7e 100644 --- a/init.lua +++ b/init.lua @@ -1,21 +1,5 @@ +vim.g.have_nerd_font = true require("keymaps") - -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({ { import = "plugins" }, { import = "plugins.lsp" }, { import = "plugins.themes" } }) -require("setup.lsp") -vim.cmd("colorscheme rose-pine") - - require("options.default") +require("lazy_bootstrap") +require("lazy").setup({ { import = "plugins" } })