diff options
author | Leander Tentrup <[email protected]> | 2020-04-17 08:37:18 +0100 |
---|---|---|
committer | Leander Tentrup <[email protected]> | 2020-04-20 10:19:15 +0100 |
commit | ac798e1f7cfbc6d27c87bb28e3f1d5b6801796aa (patch) | |
tree | 958ccd22ae5e75047b8189f69cf5878eeb9611ea /crates/ra_hir_ty/src/db.rs | |
parent | 29a846464b63259f5152d61a5520bffcc2cb8703 (diff) |
Implement syntax highlighting for format strings
Detailed changes:
1) Implement a lexer for string literals that divides the string in format specifier `{}` including the format specifier modifier.
2) Adapt syntax highlighting to add ranges for the detected sequences.
3) Add a test case for the format string syntax highlighting.
Diffstat (limited to 'crates/ra_hir_ty/src/db.rs')
0 files changed, 0 insertions, 0 deletions