From c02c059cd5af4ce55ff08e70bbb83992a3f20b70 Mon Sep 17 00:00:00 2001 From: Gabriel Nordeborn Date: Tue, 13 Feb 2024 20:29:30 +0100 Subject: [PATCH 1/2] highlight tagged template fn as fn --- grammars/rescript.tmLanguage.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grammars/rescript.tmLanguage.json b/grammars/rescript.tmLanguage.json index 085e3ef5d..ba5459758 100644 --- a/grammars/rescript.tmLanguage.json +++ b/grammars/rescript.tmLanguage.json @@ -148,7 +148,7 @@ "end": "(? Date: Tue, 13 Feb 2024 20:31:42 +0100 Subject: [PATCH 2/2] changelog --- CHANGELOG.md | 1 + grammars/rescript.tmLanguage.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d9369950d..f8991cdac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ - Make from completion trigger for expr hole so we get a nice experience when completing {from: } in `@module`. https://github.com/rescript-lang/rescript-vscode/pull/918 - Latest parser for newest syntax features. https://github.com/rescript-lang/rescript-vscode/pull/917 - 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 +- Highlight tagged template literal functions as functions. https://github.com/rescript-lang/rescript-vscode/pull/920 ## 1.38.0 diff --git a/grammars/rescript.tmLanguage.json b/grammars/rescript.tmLanguage.json index ba5459758..3c3e6f0da 100644 --- a/grammars/rescript.tmLanguage.json +++ b/grammars/rescript.tmLanguage.json @@ -606,4 +606,4 @@ "include": "#defaultIdIsVariable" } ] -} +} \ No newline at end of file