# outline: Fix uninitiated var declaration not showing in outline \(\#46499\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 336bc3c26aea5704225cde63c1ba57d31cb5377e

Requested commit: 336bc3c26aea5704225cde63c1ba57d31cb5377e

Commit: 336bc3c26aea5704225cde63c1ba57d31cb5377e

Tree: 50cd1ad5e9e94da40bf2ceb1cee26e6d0cc21b3a

Author: Haojian Wu

Committer: GitHub

## Message

```
outline: Fix uninitiated var declaration not showing in outline (#46499)

For the following code, we didn't show anything; after the fix, they are
shown in the outline:

<img width="617" height="170" alt="image"
src="https://github.com/user-attachments/assets/091a905c-7c1c-4c3a-935f-65c2cd5ae2e5"
/>


Release Notes:

- Fix uninitiated var declaration is not shown in outline.
```

## Parents

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

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