Skip to content

Commit

Permalink
fix(guess-indent.nvim): update call to vim.cmd.GuessIndent
Browse files Browse the repository at this point in the history
  • Loading branch information
heygarrett committed Jul 3, 2024
1 parent 78e130a commit ceb8f05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nvim/lua/my/settings/indentation.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ceb8f05

Please sign in to comment.