|
50 | 50 | "$ref": "#/$defs/EmmyrcDoc", |
51 | 51 | "default": { |
52 | 52 | "knownTags": [], |
53 | | - "privateName": [] |
| 53 | + "privateName": [], |
| 54 | + "syntax": "none" |
54 | 55 | } |
55 | 56 | }, |
56 | 57 | "documentColor": { |
|
59 | 60 | "enable": true |
60 | 61 | } |
61 | 62 | }, |
| 63 | + "format": { |
| 64 | + "$ref": "#/$defs/EmmyrcReformat", |
| 65 | + "default": { |
| 66 | + "externalTool": null, |
| 67 | + "useDiff": false |
| 68 | + } |
| 69 | + }, |
62 | 70 | "hint": { |
63 | 71 | "$ref": "#/$defs/EmmyrcInlayHint", |
64 | 72 | "default": { |
|
107 | 115 | }, |
108 | 116 | "extensions": [], |
109 | 117 | "frameworkVersions": [], |
| 118 | + "nonstandardSymbol": [], |
110 | 119 | "requireLikeFunction": [], |
111 | 120 | "requirePattern": [], |
112 | 121 | "version": "LuaLatest" |
|
115 | 124 | "semanticTokens": { |
116 | 125 | "$ref": "#/$defs/EmmyrcSemanticToken", |
117 | 126 | "default": { |
118 | | - "enable": true |
| 127 | + "enable": true, |
| 128 | + "renderDocumentationMarkup": false |
119 | 129 | } |
120 | 130 | }, |
121 | 131 | "signature": { |
|
434 | 444 | } |
435 | 445 | ] |
436 | 446 | }, |
| 447 | + "DocSyntax": { |
| 448 | + "type": "string", |
| 449 | + "enum": [ |
| 450 | + "none", |
| 451 | + "md", |
| 452 | + "myst", |
| 453 | + "rst" |
| 454 | + ] |
| 455 | + }, |
437 | 456 | "EmmyrcCodeAction": { |
438 | 457 | "type": "object", |
439 | 458 | "properties": { |
|
603 | 622 | "items": { |
604 | 623 | "type": "string" |
605 | 624 | } |
| 625 | + }, |
| 626 | + "rstDefaultRole": { |
| 627 | + "description": "When `syntax` is `Myst` or `Rst`, specifies default role used\nwith RST processor.", |
| 628 | + "type": [ |
| 629 | + "string", |
| 630 | + "null" |
| 631 | + ] |
| 632 | + }, |
| 633 | + "rstPrimaryDomain": { |
| 634 | + "description": "When `syntax` is `Myst` or `Rst`, specifies primary domain used\nwith RST processor.", |
| 635 | + "type": [ |
| 636 | + "string", |
| 637 | + "null" |
| 638 | + ] |
| 639 | + }, |
| 640 | + "syntax": { |
| 641 | + "description": "Syntax for highlighting documentation.", |
| 642 | + "$ref": "#/$defs/DocSyntax", |
| 643 | + "default": "none" |
606 | 644 | } |
607 | 645 | } |
608 | 646 | }, |
|
617 | 655 | } |
618 | 656 | } |
619 | 657 | }, |
| 658 | + "EmmyrcExternalTool": { |
| 659 | + "type": "object", |
| 660 | + "properties": { |
| 661 | + "args": { |
| 662 | + "description": "The arguments to pass to the external tool.", |
| 663 | + "type": "array", |
| 664 | + "default": [], |
| 665 | + "items": { |
| 666 | + "type": "string" |
| 667 | + } |
| 668 | + }, |
| 669 | + "program": { |
| 670 | + "description": "The command to run the external tool.", |
| 671 | + "type": "string", |
| 672 | + "default": "" |
| 673 | + }, |
| 674 | + "timeout": { |
| 675 | + "type": "integer", |
| 676 | + "format": "uint64", |
| 677 | + "default": 5000, |
| 678 | + "minimum": 0 |
| 679 | + } |
| 680 | + } |
| 681 | + }, |
620 | 682 | "EmmyrcFilenameConvention": { |
621 | 683 | "oneOf": [ |
622 | 684 | { |
|
754 | 816 | } |
755 | 817 | ] |
756 | 818 | }, |
| 819 | + "EmmyrcNonStdSymbol": { |
| 820 | + "type": "string", |
| 821 | + "enum": [ |
| 822 | + "//", |
| 823 | + "/**/", |
| 824 | + "`", |
| 825 | + "+=", |
| 826 | + "-=", |
| 827 | + "*=", |
| 828 | + "/=", |
| 829 | + "%=", |
| 830 | + "^=", |
| 831 | + "//=", |
| 832 | + "|=", |
| 833 | + "&=", |
| 834 | + "<<=", |
| 835 | + ">>=", |
| 836 | + "||", |
| 837 | + "&&", |
| 838 | + "!", |
| 839 | + "!=", |
| 840 | + "continue" |
| 841 | + ] |
| 842 | + }, |
757 | 843 | "EmmyrcReference": { |
758 | 844 | "type": "object", |
759 | 845 | "properties": { |
|
777 | 863 | } |
778 | 864 | } |
779 | 865 | }, |
| 866 | + "EmmyrcReformat": { |
| 867 | + "type": "object", |
| 868 | + "properties": { |
| 869 | + "externalTool": { |
| 870 | + "description": "Whether to enable internal code reformatting.", |
| 871 | + "anyOf": [ |
| 872 | + { |
| 873 | + "$ref": "#/$defs/EmmyrcExternalTool" |
| 874 | + }, |
| 875 | + { |
| 876 | + "type": "null" |
| 877 | + } |
| 878 | + ], |
| 879 | + "default": null |
| 880 | + }, |
| 881 | + "useDiff": { |
| 882 | + "description": "Whether to use the diff algorithm for formatting.", |
| 883 | + "type": "boolean", |
| 884 | + "default": false |
| 885 | + } |
| 886 | + } |
| 887 | + }, |
780 | 888 | "EmmyrcResource": { |
781 | 889 | "type": "object", |
782 | 890 | "properties": { |
|
817 | 925 | "type": "string" |
818 | 926 | } |
819 | 927 | }, |
| 928 | + "nonstandardSymbol": { |
| 929 | + "description": "Non-standard symbols.", |
| 930 | + "type": "array", |
| 931 | + "default": [], |
| 932 | + "items": { |
| 933 | + "$ref": "#/$defs/EmmyrcNonStdSymbol" |
| 934 | + } |
| 935 | + }, |
820 | 936 | "requireLikeFunction": { |
821 | 937 | "description": "Functions that like require.", |
822 | 938 | "type": "array", |
|
848 | 964 | "type": "boolean", |
849 | 965 | "default": true, |
850 | 966 | "x-vscode-setting": true |
| 967 | + }, |
| 968 | + "renderDocumentationMarkup": { |
| 969 | + "description": "Render Markdown/RST in documentation. Set `doc.syntax` for this option to have effect.", |
| 970 | + "type": "boolean", |
| 971 | + "default": false, |
| 972 | + "x-vscode-setting": true |
851 | 973 | } |
852 | 974 | } |
853 | 975 | }, |
|
0 commit comments