From 5b3ab96bfadfd3559fda0a36a24ce382dc173242 Mon Sep 17 00:00:00 2001 From: Dominik Date: Thu, 3 Jul 2025 16:08:38 +0200 Subject: [PATCH] Guess indent fix --- init.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 6676cb1c..88a6f1b6 100644 --- a/init.lua +++ b/init.lua @@ -263,7 +263,13 @@ rtp:prepend(lazypath) -- NOTE: Here is where you install your plugins. require('lazy').setup({ -- NOTE: Plugins can be added with a link (or for a github repo: 'owner/repo' link). - 'NMAC427/guess-indent.nvim', -- Detect tabstop and shiftwidth automatically + { + 'NMAC427/guess-indent.nvim', -- Detect tabstop and shiftwidth automatically + event = 'BufRead', + config = function() + require('guess-indent').setup {} + end, + }, -- NOTE: Plugins can also be added by using a table, -- with the first argument being the link and the following