From 079c385b9bd40a73ebafae6d847f62c2bed5126c Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Mon, 20 May 2024 17:08:02 +0100 Subject: [nvim] Rewrite config motivated by nvim 0.10 --- home/.config/nvim/init.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'home/.config/nvim/init.lua') diff --git a/home/.config/nvim/init.lua b/home/.config/nvim/init.lua index 8326c43..e71c054 100644 --- a/home/.config/nvim/init.lua +++ b/home/.config/nvim/init.lua @@ -1,10 +1,6 @@ vim.loader.enable() -function docfg(name) - dofile(vim.fn.stdpath("config") .. "/lua/cfg/" .. name .. ".lua") -end - -docfg("options") +dofile(vim.fn.stdpath("config") .. "/lua/cfg/options.lua") function P(v) print(vim.inspect(v)) @@ -23,4 +19,8 @@ if not vim.loop.fs_stat(lazypath) then }) end vim.opt.rtp:prepend(lazypath) -require("lazy").setup("custom.plugins") +require("lazy").setup({ import = "custom/plugins" }, { + change_detection = { + notify = false, + }, +}) -- cgit v1.2.3-70-g09d2