-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.lua
More file actions
35 lines (31 loc) · 847 Bytes
/
init.lua
File metadata and controls
35 lines (31 loc) · 847 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
vim.g.mapleader = " "
---@diagnostic disable-next-line: duplicate-set-field
vim.deprecate = function() end
-- Bootstrap lazy.nvim
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.uv.fs_stat(lazypath) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable",
lazypath,
})
end
-- Load core configuration first
require("config.options")
require("config.keymaps")
require("config.autocmds")
require("config.user_commands")
require("config.abbreviations")
-- Add lazy to the `runtimepath`, this allows us to `require` it.
---@diagnostic disable-next-line: undefined-field
vim.opt.rtp:prepend(lazypath)
-- Setup plugin manager
require("lazy").setup("plugins", {
-- Lazy options here
change_detection = {
notify = false,
},
})