# Update open buffers with newly registered completion trigger characters \(\#41243\) · gitcafe/zed

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

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

Visibility: public

Requested revision: a6b177d8067cb7a9dd7501f33fbdc6d2cac15067

Requested commit: a6b177d8067cb7a9dd7501f33fbdc6d2cac15067

Commit: a6b177d8067cb7a9dd7501f33fbdc6d2cac15067

Tree: 02e34df6fccc9dfbe962d9b99d57c0eb3c04efc8

Author: Karl-Erik Enkelmann

Committer: GitHub

## Message

```
Update open buffers with newly registered completion trigger characters (#41243)

Closes https://github.com/zed-extensions/java/issues/108

Previously, when language servers dynamically register completion
capabilities with trigger characters for completions (hello JDTLS), this
would not get updated in buffers for that language server that were
already open. This change is to find open buffers for the language
server and update the trigger characters in each of them when the new
capability is being registered.

Release Notes:

- N/A
```

## Parents

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

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