mirror of
https://github.com/hexedtech/codemp-vscode.git
synced 2024-11-22 07:24:49 +01:00
feat: pass back stderr
This commit is contained in:
parent
9a0311eb38
commit
532de6639f
1 changed files with 7 additions and 1 deletions
|
@ -1,7 +1,13 @@
|
|||
local BINARY = "/home/alemi/projects/codemp/target/debug/client-nvim --debug"
|
||||
|
||||
if vim.g.codemp_jobid == nil then
|
||||
vim.g.codemp_jobid = vim.fn.jobstart(BINARY, { rpc = true })
|
||||
vim.g.codemp_jobid = vim.fn.jobstart(
|
||||
BINARY,
|
||||
{
|
||||
rpc = true,
|
||||
on_stderr = function(_, data, _) print(vim.fn.join(data, "\n")) end,
|
||||
}
|
||||
)
|
||||
end
|
||||
|
||||
local M = {}
|
||||
|
|
Loading…
Reference in a new issue