Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug-fix: Improve syntax highlighting for template strings (#1130)
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Improves syntax highlighting for template strings in BAML by simplifying regex and adding a new block string pattern. > > - **Syntax Highlighting**: > - Simplified `begin` regex in `template_string_declaration` to `(template_string)\s+(\w+)`. > - Adjusted `beginCaptures` in `template_string_declaration` to remove unnecessary captures. > - Updated `patterns` in `template_string_declaration` to include `#comment`, `#function_parameters`, and `#block_string`. > - Added new `block_string` pattern to handle block strings with `#"` and `"#` delimiters. > > <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral)<sup> for 95e6fad. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
- Loading branch information