Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update to rustc_lexer version 660. | Julian Wollersberger | 2020-05-24 | 1 | -2/+3 |
| | | | | Change `unescape_*()` to `unescape_literal()`. | ||||
* | Fix comment prefix method for four slash comments | adamrk | 2020-04-28 | 1 | -10/+6 |
| | |||||
* | Treat comments beginning with four slashes as regular line comments | adamrk | 2020-04-28 | 1 | -0/+1 |
| | |||||
* | Merge #4134 | bors[bot] | 2020-04-25 | 1 | -0/+3 |
|\ | | | | | | | | | | | | | | | | | | | 4134: Special case for empty comments in doc comment kind r=matklad a=edwin0cheng Part of #4103 Fix `ui/empty/empty-comment.rs macros` Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | Special case for empty comments | Edwin Cheng | 2020-04-25 | 1 | -0/+3 |
| | | |||||
* | | Switch to TryFrom | Aleksey Kladov | 2020-04-25 | 1 | -8/+6 |
| | | |||||
* | | Convert code to text-size | Aleksey Kladov | 2020-04-25 | 1 | -18/+14 |
| | | |||||
* | | Adapt format specifier highlighting to support escaped squences and unicode ↵ | Leander Tentrup | 2020-04-22 | 1 | -122/+158 |
| | | | | | | | | identifiers | ||||
* | | Apply suggestions from code review | Leander Tentrup | 2020-04-22 | 1 | -30/+29 |
| | | | | | | | | Co-Authored-By: bjorn3 <[email protected]> | ||||
* | | Implement syntax highlighting for format strings | Leander Tentrup | 2020-04-20 | 1 | -0/+324 |
|/ | | | | | | | 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. | ||||
* | Add AstElement trait, generate tokens, support tokens in enums | Luca Barbieri | 2020-04-08 | 1 | -60/+2 |
| | | | | | | | | | - Adds a new AstElement trait that is implemented by all generated node, token and enum structs - Overhauls the code generators to code-generate all tokens, and also enhances enums to support including tokens, node, and nested enums | ||||
* | Refactor string literals | Aleksey Kladov | 2020-02-27 | 1 | -60/+74 |
| | |||||
* | Basic injections | Aleksey Kladov | 2020-02-27 | 1 | -0/+30 |
| | |||||
* | Add ast for plain and raw string literals | Aleksey Kladov | 2019-11-16 | 1 | -10/+85 |
| | |||||
* | migrate ra_syntax to the new rowan API | Aleksey Kladov | 2019-07-19 | 1 | -13/+13 |
| | |||||
* | allow rustfmt to reorder imports | Aleksey Kladov | 2019-07-04 | 1 | -3/+3 |
| | | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway | ||||
* | fix inner block doc comments | Aleksey Kladov | 2019-04-02 | 1 | -1/+1 |
| | |||||
* | add minimal comments | Aleksey Kladov | 2019-04-02 | 1 | -0/+2 |
| | |||||
* | More future-proof comment kind | Aleksey Kladov | 2019-04-02 | 1 | -32/+51 |
| | |||||
* | fix comment naming | Aleksey Kladov | 2019-04-02 | 1 | -10/+9 |
| | |||||
* | add ast::tokens | Aleksey Kladov | 2019-04-02 | 1 | -0/+93 |