nvim/init.lua

23 lines
532 B
Lua
Raw Normal View History

2024-11-07 11:39:18 +00:00
-- set leader here, so other configs know about it
vim.g.mapleader = " "
2023-02-12 17:26:24 +00:00
--make sure Lazy is installed
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", -- latest stable release
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
2023-02-11 17:36:50 +00:00
vim.opt.termguicolors = true
2023-02-12 17:26:24 +00:00
-- load all plugins
require("lazy-load")
-- load general config
require("general")