aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim-lsp-installer/process.lua
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2021-10-26 09:47:20 +0200
committerGitHub <noreply@github.com>2021-10-26 09:47:20 +0200
commitc7ef12d8f99490c984ec171c7341577513b435a8 (patch)
treeaea6fa17846dbc45c832fa28da1025ef03861d31 /lua/nvim-lsp-installer/process.lua
parentmac's not fun (diff)
downloadmason-c7ef12d8f99490c984ec171c7341577513b435a8.tar
mason-c7ef12d8f99490c984ec171c7341577513b435a8.tar.gz
mason-c7ef12d8f99490c984ec171c7341577513b435a8.tar.bz2
mason-c7ef12d8f99490c984ec171c7341577513b435a8.tar.lz
mason-c7ef12d8f99490c984ec171c7341577513b435a8.tar.xz
mason-c7ef12d8f99490c984ec171c7341577513b435a8.tar.zst
mason-c7ef12d8f99490c984ec171c7341577513b435a8.zip
add synchronous variants of commands for better headless interop (#189)
Diffstat (limited to 'lua/nvim-lsp-installer/process.lua')
-rw-r--r--lua/nvim-lsp-installer/process.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/nvim-lsp-installer/process.lua b/lua/nvim-lsp-installer/process.lua
index ad17465c..7fe3625c 100644
--- a/lua/nvim-lsp-installer/process.lua
+++ b/lua/nvim-lsp-installer/process.lua
@@ -214,8 +214,8 @@ end
function M.simple_sink()
return {
- stdout = vim.schedule_wrap(print),
- stderr = vim.schedule_wrap(vim.api.nvim_err_writeln),
+ stdout = vim.schedule_wrap(vim.api.nvim_out_write),
+ stderr = vim.schedule_wrap(vim.api.nvim_err_write),
}
end