# Add support for hard tabs · gitcafe/zed

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

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

Visibility: public

Requested revision: f62fd3cddd408808059ead4739810db6f9e9651d

Requested commit: f62fd3cddd408808059ead4739810db6f9e9651d

Commit: f62fd3cddd408808059ead4739810db6f9e9651d

Tree: 490646f896bcf0a35cc1b6a30d09c0ee3ec3e3d9

Author: Max Brunsfeld

Committer: Max Brunsfeld

## Message

```
Add support for hard tabs

* Add a `hard_tabs` setting that causes indentation to be performed
  using a tab instead of multiple spaces.
* Change Buffer's indentation-related APIs to return an `IndentSize`
  struct with a length and a kind, instead of just a single u32.
* Use hard tabs by default in Go.

```

## Parents

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

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