carbon-language / carbon-lang

Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)

Home Page:https://github.com/carbon-language/carbon-lang/blob/trunk/README.md

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing filetype highlighting in block string literals

skoriop opened this issue · comments

From the docs on string literals:

A block string literal starts with '''. Characters on the same line following the ''' are an optional file type indicator. The...

A file type indicator is any sequence of non-whitespace characters other than ' or #. The file type indicator has no semantic meaning to the Carbon compiler, but some file type indicators are understood by the language tooling (for example, syntax highlighter, code formatter) as indicating the structure of the string literal's content.

However, these filetypes aren't being highlighted:

image