mirror of
https://git.aramjonghu.nl/AramJonghu/nvim.git
synced 2026-03-22 01:39:54 +01:00
vim settings
This commit is contained in:
@@ -6,8 +6,10 @@ vim.cmd("source test.vim")
|
||||
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)
|
||||
@@ -16,14 +18,14 @@ 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 = "plugins" },
|
||||
}, lazy_config)
|
||||
|
||||
-- load theme
|
||||
@@ -33,8 +35,10 @@ dofile(vim.g.base46_cache .. "statusline")
|
||||
require "options"
|
||||
require "nvchad.autocmds"
|
||||
|
||||
require("configs.set")
|
||||
|
||||
vim.opt.relativenumber = true
|
||||
|
||||
vim.schedule(function()
|
||||
require "mappings"
|
||||
require "mappings"
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user