config guess-indent in setup

This commit is contained in:
Wind 2025-10-14 09:52:28 +08:00 committed by GitHub
parent 3338d39206
commit 991f3d3785
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -247,7 +247,10 @@ 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', -- Detect tabstop and shiftwidth automatically
config = function() require('guess-indent').setup {} end,
},
-- 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