# Disable word completions by default for plaintext/markdown \(\#34065\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 9a3720edd32d1d43348cc0d2daaede5734b35991

Requested commit: 9a3720edd32d1d43348cc0d2daaede5734b35991

Commit: 9a3720edd32d1d43348cc0d2daaede5734b35991

Tree: e964d9e2a5e7db3a98f8ea1dbf94fb1a1ae079db

Author: Peter Tripp

Committer: GitHub

## Message

````
Disable word completions by default for plaintext/markdown (#34065)

This disables word based completions in Plain Text and Markdown buffers
by default.

Word-based completion when typing natural language can be quite
disruptive, in particular at the end of a line (e.g. markdown style
lists) where `enter` will accept word completions rather than insert a
newline (see screenshot). I think the default, empty buffer experience
in Zed should be closer to a zed-mode experience -- just an editor
getting out of your way to let you type and not having to mash
escape/cmd-z repeatedly to undo a over-aggressive completion.

<img width="265" alt="Screenshot 2025-07-08 at 11 57 26"
src="https://github.com/user-attachments/assets/131f73a8-4687-45bf-ad53-f611c0af9387"
/>

- Context:
https://github.com/zed-industries/zed/issues/4957#issuecomment-3049513501
- Follow-up to: https://github.com/zed-industries/zed/pull/26410

Re-enable the existing behavior with:
```json
  "languages": {
    "Plain Text": { "completions": { "words": "fallback" } },
    "Markdown": { "completions": { "words": "fallback" } },
  },
```
Or disable Word based completions everywhere with:
```json
  "completions": { 
    "words": "fallback"
  },
```

Release Notes:

- Disable word-completions by default in Plain Text and Markdown Buffers
````

## Parents

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

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