Enable opt in project configs
This commit is contained in:
4
init.lua
4
init.lua
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user