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.
This commit is contained in:
Joshua Gartmeier 2025-06-30 08:54:12 +02:00
parent 3338d39206
commit fab4b3ec59
1 changed files with 1 additions and 1 deletions

View File

@ -247,7 +247,7 @@ rtp:prepend(lazypath)
-- NOTE: Here is where you install your plugins. -- NOTE: Here is where you install your plugins.
require('lazy').setup({ require('lazy').setup({
-- NOTE: Plugins can be added with a link (or for a github repo: 'owner/repo' link). -- 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, -- NOTE: Plugins can also be added by using a table,
-- with the first argument being the link and the following -- with the first argument being the link and the following