-- Basic settings require "basic" -- Load plugins 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) vim.g.mapleader = require("custom_keys").leader vim.g.maplocalleader = "\\" require("lazy").setup { spec = { { import = "plugins" }, { import = "languages" }, { import = "my_plugins" }, }, ui = { border = "rounded", }, change_detection = { enabled = true, notify = false, -- get a notification when changes are found }, } -- Final settings require "core" pcall(require, "custom")