aboutsummaryrefslogtreecommitdiffhomepage
path: root/vim/nvim/lazy.lua
diff options
context:
space:
mode:
Diffstat (limited to 'vim/nvim/lazy.lua')
-rw-r--r--vim/nvim/lazy.lua39
1 files changed, 0 insertions, 39 deletions
diff --git a/vim/nvim/lazy.lua b/vim/nvim/lazy.lua
deleted file mode 100644
index 6cfadf0..0000000
--- a/vim/nvim/lazy.lua
+++ /dev/null
@@ -1,39 +0,0 @@
1vim.g.base46_cache = vim.fn.stdpath "data" .. "/nvchad/base46/"
2vim.g.mapleader = ","
3
4-- bootstrap lazy and all plugins
5local lazypath = vim.fn.stdpath "data" .. "/lazy/lazy.nvim"
6
7if not vim.loop.fs_stat(lazypath) then
8 local repo = "https://github.com/folke/lazy.nvim.git"
9 vim.fn.system { "git", "clone", "--filter=blob:none", repo, "--branch=stable", lazypath }
10end
11
12vim.opt.rtp:prepend(lazypath)
13
14local lazy_config = require "configs.lazy"
15
16-- load plugins
17require("lazy").setup({
18 {
19 "NvChad/NvChad",
20 lazy = false,
21 branch = "v2.5",
22 import = "nvchad.plugins",
23 config = function()
24 require "options"
25 end,
26 },
27
28 { import = "plugins" },
29}, lazy_config)
30
31-- load theme
32dofile(vim.g.base46_cache .. "defaults")
33dofile(vim.g.base46_cache .. "statusline")
34
35require "nvchad.autocmds"
36
37vim.schedule(function()
38 require "mappings"
39end)