summaryrefslogtreecommitdiff
path: root/support/texlab/crates/symbols/src/workspace/snapshots/symbols__workspace__tests__filter_type_math.snap
blob: 60a002fba5962b353b62e3afb6af95c4617bda02 (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
---
source: crates/symbols/src/workspace/tests.rs
expression: "workspace_symbols(&fixture.workspace, \"math\")"
---
[
    SymbolLocation {
        document: Document(
            "file:///texlab/main.tex",
        ),
        symbol: Symbol {
            name: "Equation (1)",
            kind: Equation,
            label: Some(
                Span(
                    "eq:foo",
                    151..165,
                ),
            ),
            full_range: 135..188,
            selection_range: 151..165,
            children: [],
        },
    },
    SymbolLocation {
        document: Document(
            "file:///texlab/main.tex",
        ),
        symbol: Symbol {
            name: "Lemma 1 (Qux)",
            kind: Theorem,
            label: Some(
                Span(
                    "thm:qux",
                    522..537,
                ),
            ),
            full_range: 504..557,
            selection_range: 522..537,
            children: [],
        },
    },
]