2023-02-20 11:45:08 +00:00
|
|
|
vim.g.mapleader = " "
|
|
|
|
|
2023-02-17 10:13:18 +00:00
|
|
|
-- bootstrap lazy.nvim
|
2023-02-20 10:34:43 +00:00
|
|
|
local lazypath = vim.fn.stdpath "data" .. "/lazy/lazy.nvim"
|
2023-02-17 10:13:18 +00:00
|
|
|
if not vim.loop.fs_stat(lazypath) then
|
2023-02-20 10:34:43 +00:00
|
|
|
vim.fn.system {
|
|
|
|
"git",
|
|
|
|
"clone",
|
|
|
|
"--filter=blob:none",
|
|
|
|
"https://github.com/folke/lazy.nvim.git",
|
|
|
|
"--branch=stable", -- latest stable release
|
|
|
|
lazypath,
|
|
|
|
}
|
2023-02-17 10:13:18 +00:00
|
|
|
end
|
|
|
|
vim.opt.rtp:prepend(lazypath)
|
2023-02-21 07:07:13 +00:00
|
|
|
require("lazy").setup("plugins", require("config.lazy"))
|
2023-02-20 12:05:08 +00:00
|
|
|
|
2022-11-03 11:29:01 +00:00
|
|
|
-- Set vim options
|
2023-02-20 12:05:08 +00:00
|
|
|
require "config"
|