summaryrefslogtreecommitdiff
path: root/tests/testdata/lsp/registries/deno-import-intellisense.json
blob: 5fd87085eecca5e478c7bc9b608d3fbbcb924b13 (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
58
59
60
61
62
{
  "version": 2,
  "registries": [
    {
      "schema": "/x/:module([a-z0-9_]*)@:version?/:path*",
      "variables": [
        {
          "key": "module",
          "documentation": "/lsp/registries/doc_${module}.json",
          "url": "/lsp/registries/modules_${module}.json"
        },
        {
          "key": "version",
          "documentation": "/lsp/registries/doc_${module}_${{version}}.json",
          "url": "/lsp/registries/${module}_versions_${{version}}.json"
        },
        {
          "key": "path",
          "documentation": "/lsp/registries/doc_${module}_${{version}}_${path}.json",
          "url": "/lsp/registries/${module}_${{version}}_${path}.json"
        }
      ]
    },
    {
      "schema": "/x/:module([a-z0-9_]*)/:path*",
      "variables": [
        {
          "key": "module",
          "documentation": "/lsp/registries/doc_${module}.json",
          "url": "/lsp/registries/modules_${module}.json"
        },
        {
          "key": "path",
          "documentation": "/lsp/registries/doc_${module}_latest_${path}.json",
          "url": "/lsp/registries/${module}_latest_${path}.json"
        }
      ]
    },
    {
      "schema": "/std@:version?/:path*",
      "variables": [
        {
          "key": "version",
          "url": "/lsp/registries/std_${{version}}.json"
        },
        {
          "key": "path",
          "url": "/lsp/registries/std_${{version}}_${path}.json"
        }
      ]
    },
    {
      "schema": "/std/:path*",
      "variables": [
        {
          "key": "path",
          "url": "/lsp/registries/std_latest_${path}.json"
        }
      ]
    }
  ]
}