From 023cfa1d7f918b8784a29d3ae26d41aa28305834 Mon Sep 17 00:00:00 2001 From: Phil Cohen Date: Tue, 19 May 2026 17:38:16 -0700 Subject: [PATCH] Fix Neovim error notification Lua injection --- packages/lib-neovim-common/src/neovimApi.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/lib-neovim-common/src/neovimApi.ts b/packages/lib-neovim-common/src/neovimApi.ts index 8b44ea05b9..facc1959fc 100644 --- a/packages/lib-neovim-common/src/neovimApi.ts +++ b/packages/lib-neovim-common/src/neovimApi.ts @@ -164,6 +164,6 @@ export async function showErrorMessage( client: NeovimClient, message: string, ): Promise { - const luaCode = `vim.notify("${message}")`; - await client.executeLua(luaCode, []); + const luaCode = "vim.notify(...)"; + await client.executeLua(luaCode, [message]); }