Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge #4903 | bors[bot] | 2020-06-18 | 1 | -38/+38 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | 4903: Add highlighting support for doc comments r=matklad a=Nashenas88 The language server protocol includes a semantic modifier for documentation. This change exports that modifier for doc comments so users can choose to highlight them differently compared to regular comments. Example: <img width="375" alt="Screen Shot 2020-06-16 at 10 34 14 AM" src="https://user-images.githubusercontent.com/1673130/84788271-f6599580-afbc-11ea-96e5-7a0215da620b.png"> CC @woody77 Co-authored-by: Paul Daniel Faria <[email protected]> | ||||
| * | Remove logic to mark all doctest code as | Paul Daniel Faria | 2020-06-18 | 1 | -13/+13 |
| | | |||||
| * | Ensure all existing doctest code highlights have documentation modifier | Paul Daniel Faria | 2020-06-17 | 1 | -13/+13 |
| | | |||||
| * | Add highlighting support for doc comments | Paul Daniel Faria | 2020-06-17 | 1 | -38/+38 |
| | | |||||
* | | Syntax highlighting for escape sequences in strings | Leander Tentrup | 2020-06-17 | 1 | -0/+1 |
|/ | |||||
* | Inspect markdown code fences to determine whether to apply syntax highlighting | Leander Tentrup | 2020-06-16 | 1 | -1/+5 |
| | |||||
* | Syntactic highlighting of NAME_REF for injections | Leander Tentrup | 2020-06-15 | 1 | -6/+17 |
| | | | | | | This commit adds a function that tries to determine the syntax highlighting class of NAME_REFs based on the usage. It is used for highlighting injections (such as highlighting of doctests) as the semantic logic will most of the time result in unresolved references. It also adds a color to unresolved references in HTML encoding. | ||||
* | Better unsafe highlihgting tests | Aleksey Kladov | 2020-06-08 | 1 | -1/+2 |
| | |||||
* | Implement syntax highlighting for doctests | Leander Tentrup | 2020-06-08 | 1 | -0/+70 |