UNPKG

680 BTypeScriptView Raw
1import '../../';
2
3declare module '../../' {
4 interface CommandActions {
5 /**
6 * You can bind a key to in order to jump to the tag matching the one under the cursor.
7 */
8 toMatchingTag(cm: Editor): void;
9 }
10
11 interface MatchTags {
12 /**
13 * Highlight both matching tags.
14 */
15 bothTags?: boolean | undefined;
16 }
17
18 interface EditorConfiguration {
19 /**
20 * When enabled will cause the tags around the cursor to be highlighted (using the CodeMirror-matchingtag class).
21 * Depends on the addon/fold/xml-fold.js addon.
22 */
23 matchTags?: MatchTags | boolean | undefined;
24 }
25}