-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinit.lua.bak
More file actions
44 lines (41 loc) · 908 Bytes
/
Copy pathinit.lua.bak
File metadata and controls
44 lines (41 loc) · 908 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
36
37
38
39
40
41
42
43
44
-- Bootstrap lazy.nvim
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",
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
-- Leader keys
vim.g.mapleader = " "
vim.g.maplocalleader = " "
-- Load core configuration
require("core.options")
require("core.keymaps")
require("core.autocmds")
require("core.diagnostics")
require("core.norminette").setup()
require("core.semantic_tokens").setup()
require("core.rainbow_var").setup()
-- Setup lazy.nvim
require("lazy").setup("plugins", {
defaults = { lazy = true },
install = { colorscheme = { "tokyonight" } },
checker = { enabled = true },
performance = {
rtp = {
disabled_plugins = {
"gzip",
"tarPlugin",
"tohtml",
"tutor",
"zipPlugin",
},
},
},
})