summaryrefslogtreecommitdiff
path: root/support/texlab/tests/integration/snapshots/integration__issues__510_completion_with_unmatched_braces.snap
blob: e421d6615e92d908a8acf8c1edc435d62926c19f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
source: tests/integration/issues.rs
expression: "server.complete(uri, 1, 7)?"

---
CompletionList {
    is_incomplete: false,
    items: [
        CompletionItem {
            label: "eq:foo",
            kind: Some(
                Text,
            ),
            detail: None,
            documentation: None,
            deprecated: None,
            preselect: Some(
                false,
            ),
            sort_text: Some(
                "00 eq:foo",
            ),
            filter_text: Some(
                "eq:foo",
            ),
            insert_text: None,
            insert_text_format: None,
            insert_text_mode: None,
            text_edit: Some(
                Edit(
                    TextEdit {
                        range: Range {
                            start: Position {
                                line: 1,
                                character: 5,
                            },
                            end: Position {
                                line: 1,
                                character: 7,
                            },
                        },
                        new_text: "eq:foo",
                    },
                ),
            ),
            additional_text_edits: None,
            command: None,
            commit_characters: None,
            data: Some(
                String(
                    "label",
                ),
            ),
            tags: None,
        },
    ],
}