various changes
This commit is contained in:
parent
5ca9db6724
commit
e7cee070f1
7 changed files with 102 additions and 64 deletions
24
init.lua
24
init.lua
|
|
@ -5,8 +5,8 @@ vim.g.mapleader = " "
|
|||
local lazypath = vim.fn.stdpath "data" .. "/lazy/lazy.nvim"
|
||||
|
||||
if not vim.uv.fs_stat(lazypath) then
|
||||
local repo = "https://github.com/folke/lazy.nvim.git"
|
||||
vim.fn.system { "git", "clone", "--filter=blob:none", repo, "--branch=stable", lazypath }
|
||||
local repo = "https://github.com/folke/lazy.nvim.git"
|
||||
vim.fn.system { "git", "clone", "--filter=blob:none", repo, "--branch=stable", lazypath }
|
||||
end
|
||||
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
|
@ -15,15 +15,15 @@ local lazy_config = require "configs.lazy"
|
|||
|
||||
-- load plugins
|
||||
require("lazy").setup({
|
||||
{
|
||||
"NvChad/NvChad",
|
||||
lazy = false,
|
||||
branch = "v2.5",
|
||||
import = "nvchad.plugins",
|
||||
},
|
||||
{
|
||||
"NvChad/NvChad",
|
||||
lazy = false,
|
||||
branch = "v2.5",
|
||||
import = "nvchad.plugins",
|
||||
},
|
||||
|
||||
{ import = "plugins" },
|
||||
{ import = "custom.plugins" },
|
||||
{ import = "plugins" },
|
||||
{ import = "custom.plugins" },
|
||||
}, lazy_config)
|
||||
|
||||
-- load theme
|
||||
|
|
@ -34,7 +34,5 @@ require "options"
|
|||
require "nvchad.autocmds"
|
||||
|
||||
vim.schedule(function()
|
||||
require "mappings"
|
||||
require "mappings"
|
||||
end)
|
||||
|
||||
local saga = "lspsaga"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue