mirror of
https://github.com/hexedtech/codemp-nvim.git
synced 2024-12-23 05:44:52 +01:00
fix: setting global client
This commit is contained in:
parent
c4c3d0ced9
commit
45231e3eb8
1 changed files with 1 additions and 2 deletions
|
@ -1,4 +1,3 @@
|
|||
local session = require("codemp.session")
|
||||
local workspace = require("codemp.workspace")
|
||||
|
||||
local function connect()
|
||||
|
@ -9,7 +8,7 @@ local function connect()
|
|||
CODEMP.config.password = vim.g.codemp_password or vim.fn.input("password > ", "")
|
||||
end
|
||||
CODEMP.native.connect(CODEMP.config):and_then(function (client)
|
||||
session.client = client
|
||||
require('codemp.session').client = client
|
||||
require('codemp.window').update()
|
||||
workspace.list()
|
||||
end)
|
||||
|
|
Loading…
Reference in a new issue