init: Allow project-level extensions
This commit is contained in:
parent
97bc3afff4
commit
6174a9dcbc
1 changed files with 4 additions and 1 deletions
5
init.lua
5
init.lua
|
|
@ -6,6 +6,9 @@ vim.g.obsidian_enabled = false
|
|||
vim.g.mapleader = "\\"
|
||||
-- Making local leader (<LocalLeader>) key to backslash
|
||||
vim.g.maplocalleader = ""
|
||||
-- Enable project-level config extensions
|
||||
vim.opt.exrc = true
|
||||
vim.opt.secure = true
|
||||
|
||||
-- Bootstrap lazy.nvim
|
||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
|
|
@ -24,7 +27,6 @@ if not (vim.uv or vim.loop).fs_stat(lazypath) then
|
|||
end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
|
||||
-- Setup lazy.nvim
|
||||
require("lazy").setup({
|
||||
spec = {
|
||||
|
|
@ -38,3 +40,4 @@ require("lazy").setup({
|
|||
checker = { enabled = false },
|
||||
})
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue