From fab4b3ec593282158df0481786016f6826888c67 Mon Sep 17 00:00:00 2001 From: Joshua Gartmeier Date: Mon, 30 Jun 2025 08:54:12 +0200 Subject: [PATCH] fix: add empty opts to guess-indent plugin to ensure setup() is called The plugin requires opts to be defined to run its setup function which creates the :GuessIndent command and autocommands. --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index b98ffc61..979b5935 100644 --- a/init.lua +++ b/init.lua @@ -247,7 +247,7 @@ 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', opts = {} }, -- Detect tabstop and shiftwidth automatically -- NOTE: Plugins can also be added by using a table, -- with the first argument being the link and the following