mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-22 07:14:50 +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"
|
local BINARY = "/home/alemi/projects/codemp/target/debug/client-nvim --debug"
|
||||||
|
|
||||||
if vim.g.codemp_jobid == nil then
|
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
|
end
|
||||||
|
|
||||||
local M = {}
|
local M = {}
|
||||||
|
|
Loading…
Reference in a new issue