Replace `vim-sleuth` with `guess-indent.nvim`

This commit is contained in:
pseudometa 2024-03-05 13:08:31 +01:00 committed by GitHub
parent b83b2b061c
commit 83069ebdcb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -220,7 +220,7 @@ vim.opt.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).
'tpope/vim-sleuth', -- Detect tabstop and shiftwidth automatically
'numToStr/Comment.nvim', -- 'gc' to comment visual regions/lines
-- NOTE: Plugins can also be added by using a table,
-- with the first argument being the link and the following
@ -229,10 +229,10 @@ require('lazy').setup {
-- Use `opts = {}` to force a plugin to be loaded.
--
-- This is equivalent to:
-- require('Comment').setup({})
-- require('guess-indent').setup({})
-- "gc" to comment visual regions/lines
{ 'numToStr/Comment.nvim', opts = {} },
-- Detect tabstop and shiftwidth automatically
{ 'NMAC427/guess-indent.nvim', opts = {} },
-- Here is a more advanced example where we pass configuration
-- options to `gitsigns.nvim`. This is equivalent to the following lua: