# Extend Ruby word characters to include valid identifier chars \(\#7824\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 3921259b6c054db46245a6d13b95add0d5dc3d83

Requested commit: 3921259b6c054db46245a6d13b95add0d5dc3d83

Commit: 3921259b6c054db46245a6d13b95add0d5dc3d83

Tree: 20df472e4d29046ebc01d691b4b0a62536d47144

Author: Thorsten Ball

Committer: GitHub

## Message

```
Extend Ruby word characters to include valid identifier chars (#7824)

In Ruby `_$=@!:?` can all be part of an identifier. If we don't have
them in this list, autocomplete doesn't work as expected.

See: https://gist.github.com/misfo/1072693

This fixes one part of #7819 but not the whole ticket.

Release Notes:

- Fixed completions in Ruby not working for identifiers that start or
end with special characters (e.g.: `@`)
```

## Parents

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

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