From 56db49b7fc904967a735d8f23fed4ee10a8a1f65 Mon Sep 17 00:00:00 2001 From: Jason Stentz Date: Tue, 2 Sep 2025 00:00:19 -0400 Subject: [PATCH] fixing guess-indent --- init.lua | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/init.lua b/init.lua index 8c8afd9d..33565490 100644 --- a/init.lua +++ b/init.lua @@ -250,8 +250,12 @@ 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 + 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 -- keys can be used to configure plugin behavior/loading/etc. @@ -307,7 +311,7 @@ require('lazy').setup({ opts = { -- delay between pressing a key and opening which-key (milliseconds) -- this setting is independent of vim.o.timeoutlen - delay = 0, + delay = 500, icons = { -- set icon mappings to true if you have a Nerd Font mappings = vim.g.have_nerd_font,