From 5d44c0437051f7a9bcc232dd113dcfa77dc66603 Mon Sep 17 00:00:00 2001 From: Garrett Oreilly Date: Wed, 19 Jun 2024 17:42:05 -0400 Subject: [PATCH] fix(guess-indent.nvim): update call to vim.cmd.GuessIndent https://github.com/NMAC427/guess-indent.nvim/pull/20 --- nvim/lua/my/settings/indentation.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvim/lua/my/settings/indentation.lua b/nvim/lua/my/settings/indentation.lua index f5434763..7f9ce619 100644 --- a/nvim/lua/my/settings/indentation.lua +++ b/nvim/lua/my/settings/indentation.lua @@ -24,7 +24,7 @@ vim.api.nvim_create_autocmd("BufWinEnter", { if guess_indent_loaded then -- defers to editorconfig vim.cmd.GuessIndent({ - args = { "auto_cmd" }, + args = { "context", "silent" }, mods = { silent = true }, }) -- get indent size from buffer if editorconfig specifies spaces for