(theme: Theme)
| 648 | } |
| 649 | |
| 650 | function getSyntaxRules(theme: Theme) { |
| 651 | return [ |
| 652 | { |
| 653 | scope: ["default"], |
| 654 | style: { |
| 655 | foreground: theme.text, |
| 656 | }, |
| 657 | }, |
| 658 | { |
| 659 | scope: ["prompt"], |
| 660 | style: { |
| 661 | foreground: theme.accent, |
| 662 | }, |
| 663 | }, |
| 664 | { |
| 665 | scope: ["extmark.file"], |
| 666 | style: { |
| 667 | foreground: theme.warning, |
| 668 | bold: true, |
| 669 | }, |
| 670 | }, |
| 671 | { |
| 672 | scope: ["extmark.agent"], |
| 673 | style: { |
| 674 | foreground: theme.secondary, |
| 675 | bold: true, |
| 676 | }, |
| 677 | }, |
| 678 | { |
| 679 | scope: ["extmark.paste"], |
| 680 | style: { |
| 681 | foreground: theme.warning, |
| 682 | background: RGBA.fromInts(0, 0, 0, 0), |
| 683 | bold: true, |
| 684 | }, |
| 685 | }, |
| 686 | { |
| 687 | scope: ["comment"], |
| 688 | style: { |
| 689 | foreground: theme.syntaxComment, |
| 690 | italic: true, |
| 691 | }, |
| 692 | }, |
| 693 | { |
| 694 | scope: ["comment.documentation"], |
| 695 | style: { |
| 696 | foreground: theme.syntaxComment, |
| 697 | italic: true, |
| 698 | }, |
| 699 | }, |
| 700 | { |
| 701 | scope: ["string", "symbol"], |
| 702 | style: { |
| 703 | foreground: theme.syntaxString, |
| 704 | }, |
| 705 | }, |
| 706 | { |
| 707 | scope: ["number", "boolean"], |
no outgoing calls
no test coverage detected