Skip to content

Commit 0167930

Browse files
authoredFeb 13, 2024··
Highlight tagged template fn as fn (#920)
* highlight tagged template fn as fn * changelog
1 parent 5b39b09 commit 0167930

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
 

‎CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
- Make from completion trigger for expr hole so we get a nice experience when completing {from: <com>} in `@module`. https://github.com/rescript-lang/rescript-vscode/pull/918
2121
- Latest parser for newest syntax features. https://github.com/rescript-lang/rescript-vscode/pull/917
2222
- Handle completion for DOM/element attributes and attribute values properly when using a generic JSX transform. https://github.com/rescript-lang/rescript-vscode/pull/919
23+
- Highlight tagged template literal functions as functions. https://github.com/rescript-lang/rescript-vscode/pull/920
2324

2425
## 1.38.0
2526

‎grammars/rescript.tmLanguage.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
"end": "(?<!\\\\)`",
149149
"beginCaptures": {
150150
"1": {
151-
"name": "variables.annotation"
151+
"name": "entity.name.function"
152152
},
153153
"2": {
154154
"name": "punctuation.definition.string.template.begin"

0 commit comments

Comments
 (0)
Please sign in to comment.