From 83069ebdcb731849466c55b260dc42218fc752fc Mon Sep 17 00:00:00 2001 From: pseudometa <73286100+chrisgrieser@users.noreply.github.com> Date: Tue, 5 Mar 2024 13:08:31 +0100 Subject: [PATCH] Replace `vim-sleuth` with `guess-indent.nvim` --- init.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/init.lua b/init.lua index 16d3c26b..f24ae05b 100644 --- a/init.lua +++ b/init.lua @@ -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: