From 6980a110f7345a37e5ff27e3719f929a86568bb6 Mon Sep 17 00:00:00 2001 From: Mahid Sheikh Date: Thu, 12 Jun 2025 01:25:28 -0500 Subject: [PATCH] fix: Actually start up guess-indent Guess-indent requires setup to be called in order to function properly. --- init.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index b98ffc61..0104b059 100644 --- a/init.lua +++ b/init.lua @@ -247,7 +247,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 + { -- Detect tabstop and shiftwidth automatically + 'NMAC427/guess-indent.nvim', + lazy = false, + 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