init
This commit is contained in:
25
init.lua
Normal file
25
init.lua
Normal file
@@ -0,0 +1,25 @@
|
||||
require "options"
|
||||
require "mappings"
|
||||
require "commands"
|
||||
|
||||
-- bootstrap plugins & lazy.nvim
|
||||
local lazypath = vim.fn.stdpath "data" .. "/lazy/lazy.nvim" -- path where its going to be installed
|
||||
|
||||
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",
|
||||
lazypath,
|
||||
}
|
||||
end
|
||||
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
local plugins = require "plugins"
|
||||
|
||||
require("lazy").setup(plugins, require "lazy_config")
|
||||
|
||||
vim.cmd "colorscheme vague"
|
||||
Reference in New Issue
Block a user