blob: 13f41a7ac0f01f9853a9a2a811243ce81d41771c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
local lclient = require 'lclient'
local util = require 'utility'
local ws = require 'workspace'
local json = require 'json'
---@async
lclient():start(function (client)
client:registerFakers()
client:initialize()
local text = util.loadFile((ROOT / 'test' / 'example' / 'meta.json'):string())
local meta = json.decode(text)
client:notify('$/api/report', meta)
ws.awaitReady()
end)
|