From 0029de4b5afb2772c44645aa893a7d7dcf06d741 Mon Sep 17 00:00:00 2001 From: Wil Simpson Date: Fri, 13 Jun 2025 07:58:17 -0400 Subject: [PATCH] bug: guess indent not working --- init.lua | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index c56afdd1..9f62578e 100644 --- a/init.lua +++ b/init.lua @@ -23,7 +23,7 @@ vim.o.mouse = 'a' -- Sync clipboard between OS and Neovim. -- Remove this option if you want your OS clipboard to remain independent. -- See `:help 'clipboard'` -vim.o.clipboard = 'unnamedplus' +-- vim.o.clipboard = 'unnamedplus' -- Enable break indent vim.o.breakindent = true @@ -95,7 +95,12 @@ vim.opt.rtp:prepend(lazypath) -- as they will be available in your neovim runtime. require('lazy').setup({ -- NOTE: First, some plugins that don't require any configuration - '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, + }, -- Git related plugins 'tpope/vim-fugitive',