summaryrefslogtreecommitdiff
path: root/tests/examplefiles/savi
Commit message (Collapse)AuthorAgeFilesLines
* Fix nested type name highlighting in Savi lexer. (#2110)Joe Eli McIlvain2022-04-121-2/+2
| | | | | | | | | | | | | | | | | Nested type names were being highlighted as if they were function names. Now a phrase like `Spec.Process.run` is highlighted properly as: - `Name.Class` - `Punctuation` - `Name.Class` - `Punctuation` - `Name.Function` Instead of wrongly highlighted as it was before this commit: - `Name.Class` - `Punctuation` - `Name.Function` - `Punctuation` - `Name.Function`
* Add string interpolation to the Savi lexer.Joe Eli McIlvain2022-04-042-0/+28
| | | | | | Now the Savi lexer can tokenize string interpolation inside strings, which is a new feature added to Savi since the last time this lexer was updated.
* Fix Savi highlighting for underscore/private identifiers.Joe Eli McIlvain2022-04-042-4/+4
| | | | | | | Prior to this change, every underscore/private identifier in Savi code was being highlighted as if it were a class name. After this change, only those whose first letter is uppercase will be highlighted as such, which is the correct behavior.
* Update Savi language example.Joe Eli McIlvain2022-04-042-65/+23
| | | | | The previous example shows the old usage of the testing framework. Now the example reflects the current usage/API of that framework.
* Don't produce two tokens per tag in Savi.Matthäus G. Chajdas2021-11-211-20/+10
|
* Add lexer for the Savi language. (#1863)Joe Eli McIlvain2021-11-212-0/+308
* Add lexer for the Savi language. * Updates based on review comments. * Prefer Text.Whitespace token over Text token for whitespace. * Updates to Savi lexer based on changes to Rouge Savi lexer. * Add versionadded identifier to Savi lexer.