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 Jun 19, 2024
1 parent 06990f6 commit aaa1d36
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 aaa1d36

Please sign in to comment.