Enable opt in project configs

This commit is contained in:
2026-07-31 20:51:42 +01:00
parent 3b26a1b421
commit 4be96e5331
2 changed files with 32 additions and 0 deletions

View File

@@ -12,6 +12,10 @@ end
-- load config from lua/local.lua if present
pcall(function() require('local') end)
-- source project-local .nvim.lua from cwd upwards, if trusted (see :h 'exrc')
-- must be set here: plugin/ scripts load after exrc is processed
vim.o.exrc = true
local lazypath = vim.fn.stdpath('data') .. '/lazy/lazy.nvim'
if not vim.uv.fs_stat(lazypath) then
vim.fn.system({ 'git', 'clone', '--filter=blob:none',