Add punctuation highlighting for highlighting punctuation in doctests, fix highlighting in doctests

This commit is contained in:
Paul Daniel Faria
2020-06-22 10:28:07 -04:00
parent e137d9accb
commit d8230acd84
14 changed files with 220 additions and 217 deletions

View File

@@ -323,6 +323,7 @@ fn semantic_token_type_and_modifiers(
HighlightTag::UnresolvedReference => semantic_tokens::UNRESOLVED_REFERENCE,
HighlightTag::FormatSpecifier => semantic_tokens::FORMAT_SPECIFIER,
HighlightTag::Operator => lsp_types::SemanticTokenType::OPERATOR,
HighlightTag::Punctuation => semantic_tokens::PUNCTUATION,
HighlightTag::EscapeSequence => semantic_tokens::ESCAPE_SEQUENCE,
};