# editor: Current line highlight options \(\#11710\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 8e92f19fedffeb4af71dae4bce68c0c6163a2b76

Requested commit: 8e92f19fedffeb4af71dae4bce68c0c6163a2b76

Commit: 8e92f19fedffeb4af71dae4bce68c0c6163a2b76

Tree: 5328ce5a059cd335fbcbb29bfaa8306731fc5ac8

Author: Andrew Lygin

Committer: GitHub

## Message

```
editor: Current line highlight options (#11710)

None:

<img width="717" alt="none"
src="https://github.com/zed-industries/zed/assets/2101250/b2a741db-c64a-4275-a612-5a0d15c9cab7">

Gutter:

<img width="715" alt="gutter"
src="https://github.com/zed-industries/zed/assets/2101250/f7a68a6e-6eba-41b4-9042-5a5fe2ee21a4">

Line:

<img width="717" alt="line"
src="https://github.com/zed-industries/zed/assets/2101250/117f5b00-abd7-425b-8047-1a6fab8293a7">

All:

<img width="715" alt="all"
src="https://github.com/zed-industries/zed/assets/2101250/ebccc0da-0fa0-44e5-903c-cc49d975db76">

This PR adds the `current_line_highlight` setting that defines how to
highlight the current line in the editor:

- `none`: Don't highlight the current line.
- `gutter`: Highlight the gutter area only.
- `line`: Highlight the editor area only.
- `all` (default): Highlight the whole line.

The options have been borrowed from VSCode.

Fixes #5222
Part of #4382

Release Notes:

- Added the `current_line_highlight` setting that defines how to
highlight the current line in the editor (#5222).


```

## Parents

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

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