diff options
author | sommerfeld <sommerfeld@sommerfeld.dev> | 2024-05-20 17:08:02 +0100 |
---|---|---|
committer | sommerfeld <sommerfeld@sommerfeld.dev> | 2024-05-20 17:08:02 +0100 |
commit | 079c385b9bd40a73ebafae6d847f62c2bed5126c (patch) | |
tree | 95d5e270ac7dab639fe7bca9b7a02041bfadfa47 /home/.config/nvim/init.lua | |
parent | 1d6fe632512eca513dab6a8868298df638e50e5e (diff) | |
download | dotfiles-079c385b9bd40a73ebafae6d847f62c2bed5126c.tar.gz dotfiles-079c385b9bd40a73ebafae6d847f62c2bed5126c.tar.bz2 dotfiles-079c385b9bd40a73ebafae6d847f62c2bed5126c.zip |
[nvim] Rewrite config motivated by nvim 0.10
Diffstat (limited to 'home/.config/nvim/init.lua')
-rw-r--r-- | home/.config/nvim/init.lua | 12 |
1 files changed, 6 insertions, 6 deletions
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, + }, +}) |