# Remove \`indent_size\` parameter from \`Buffer::edit_with_autoindent\` · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/cdf6ae25bbdb21ea1cb1906faa72631bd2f3a183)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: cdf6ae25bbdb21ea1cb1906faa72631bd2f3a183

Requested commit: cdf6ae25bbdb21ea1cb1906faa72631bd2f3a183

Commit: cdf6ae25bbdb21ea1cb1906faa72631bd2f3a183

Tree: c000c79ddd67a4e5bad928f8a83985b5f01527a9

Author: Max Brunsfeld

Committer: Max Brunsfeld

## Message

```
Remove `indent_size` parameter from `Buffer::edit_with_autoindent`

Instead, compute the indent size by reading the settings inside that method.

Co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com>

```

## Parents

- [b1b252ee45fedb2e6b7a7cff051282163d5ce997](https://git.cafe/gitcafe/zed/commit/b1b252ee45fedb2e6b7a7cff051282163d5ce997?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/cdf6ae25bbdb21ea1cb1906faa72631bd2f3a183?format=markdown)
