mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-03 19:07:44 +03:00
add highlight scope for type parameters (#8660)
* rust: add highlight scope for type parameters * handle optional type parameters
This commit is contained in:
parent
ae6a0a9cfd
commit
70bbbd7d19
3 changed files with 22 additions and 1 deletions
|
@ -155,6 +155,7 @@ We use a similar set of scopes as
|
|||
|
||||
- `type` - Types
|
||||
- `builtin` - Primitive types provided by the language (`int`, `usize`)
|
||||
- `parameter` - Generic type parameters (`T`)
|
||||
- `enum`
|
||||
- `variant`
|
||||
- `constructor`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue