vim settings

This commit is contained in:
Zacharias-Brohn
2025-01-11 12:31:35 +01:00
parent 24bbfbda9f
commit 654bd0038d
6 changed files with 160 additions and 13 deletions
+14 -10
View File
@@ -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)