Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbierner committed Jun 6, 2023
1 parent 0a90868 commit cad7122
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## 0.10.0 - June 5, 2023
- Turn on emoji completions in all languages using `emojisense.languages: { "*": true }`. Thanks @RoccoCocco!
- Update gemoji package.
- Update gemoji package to bring in new emoji. Thanks @AdrieanKhisbe!

## 0.9.1 - May 4, 2022
- Use more specific activation events.
Expand Down
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ Inspired by the [Atom autocomplete+ emojis suggestions plugin][atom].

- `emojisense.emojiDecoratorsEnabled`: Show emoji decorators inline for `:smile_cat:` markup in a file? Enabled by default in markdown.

- `emojisense.enableForAllLanguages`: Enable implicitly for all languages.

## Per Language Configuration

*Emojisense* is enabled by default in markdown, git commits, and plaintext files. You can enable it in other languages using `"emojisense.languages"`
Expand All @@ -43,7 +41,7 @@ Inspired by the [Atom autocomplete+ emojis suggestions plugin][atom].
}
```

The language keys here come from [VS Code's list of language identifiers](https://code.visualstudio.com/docs/languages/identifiers)
The language keys here come from [VS Code's list of language identifiers](https://code.visualstudio.com/docs/languages/identifiers).

You can also change the settings for each language. Here's the default emojisense configuration for example:

Expand All @@ -58,9 +56,15 @@ You can also change the settings for each language. Here's the default emojisens
}
```

Whenever a value is left unspecified, the top level setting is used instead. In this case, markdown files will fallback to use the top level `emojisense.unicodeCompletionsEnabled` and `emojisense.markupCompletionsEnabled` settings, while plaintext files will have `markupCompletionsEnabled` disabled and fallback to the `emojisense.unicodeCompletionsEnabled` setting
Whenever a value is left unspecified, the top level setting is used instead. In this case, markdown files will fallback to use the top level `emojisense.unicodeCompletionsEnabled` and `emojisense.markupCompletionsEnabled` settings, while plaintext files will have `markupCompletionsEnabled` disabled and fallback to the `emojisense.unicodeCompletionsEnabled` setting.

You can enable emojisense for all languages using `*`:

```jsonc
"emojisense.languages": {
"*scminput*": true
}
```

## Credits

Expand Down

0 comments on commit cad7122

Please sign in to comment.