Skip to content

Commit

Permalink
.kafka comments are breaking syntax coloration in producers/consumers
Browse files Browse the repository at this point in the history
Fixes jlandersen#161

Signed-off-by: azerr <[email protected]>
  • Loading branch information
angelozerr committed Apr 16, 2021
1 parent 161f21a commit a5b5e06
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ All notable changes to `Tools for Apache Kafka®` are documented in this file.
- The "Kafka Producer Log" output view is no longer shown automatically when producing messages. See [#134](https://github.com/jlandersen/vscode-kafka/issues/134).
- A progress notification is displayed when producing messages. See [#117](https://github.com/jlandersen/vscode-kafka/issues/117).
-Fix bad highlighting when declaring json messages with fakerjs placeholders. See [#132](https://github.com/jlandersen/vscode-kafka/issues/132).

- Fix .kafka comments which breaks syntax coloration in producers and consumers. See [#161](https://github.com/jlandersen/vscode-kafka/issues/161).

## [0.11.0] - 2021-03-08
### Added
- Newly created topic or cluster is automatically selected in the Kafka Explorer. See [#61](https://github.com/jlandersen/vscode-kafka/issues/61).
Expand Down
6 changes: 6 additions & 0 deletions syntaxes/kafka.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@
"patterns": [
{
"include": "#kafka.consumer.header"
},
{
"include": "#kafka.commentline"
}
]
},
Expand Down Expand Up @@ -92,6 +95,9 @@
{
"include": "#kafka.producer.header"
},
{
"include": "#kafka.commentline"
},
{
"include": "#kafka.producer.body"
}
Expand Down

0 comments on commit a5b5e06

Please sign in to comment.