summaryrefslogtreecommitdiff
path: root/support/texlab/tests/lsp/text_document/snapshots/lsp__text_document__folding_range__bibtex.snap
blob: 2063cc39e5da855f494fe7f1f4d67d9337755c64 (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
---
source: tests/lsp/text_document/folding_range.rs
expression: "find_foldings(r#\"\n%! main.bib\nsome junk\nhere\n\n@article{foo,\n    author = {bar},\n    title = {baz}\n}\n\n@string{foo = \"bar\"}\n\n@comment{foo,\n    author = {bar},\n    title = {baz}\n}\n\n@preamble{\"foo\"}\n|\"#)"
---
[
  {
    "startLine": 3,
    "startCharacter": 0,
    "endLine": 6,
    "endCharacter": 1,
    "kind": "region"
  },
  {
    "startLine": 8,
    "startCharacter": 0,
    "endLine": 8,
    "endCharacter": 20,
    "kind": "region"
  },
  {
    "startLine": 15,
    "startCharacter": 0,
    "endLine": 15,
    "endCharacter": 16,
    "kind": "region"
  }
]