aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorItamar Lencovsky <4740959+eitamal@users.noreply.github.com>2023-11-26 07:03:32 +1000
committerGitHub <noreply@github.com>2023-11-25 13:03:32 -0800
commitba88fd886ae871025719dfc8602072cc51ce5407 (patch)
treefb81357c4f81ea31622fd05643b1096c350847ad
parenta827003e3052c6d9ee7bdb71518182e9bd76317d (diff)
downloadrneovim-ba88fd886ae871025719dfc8602072cc51ce5407.tar.gz
rneovim-ba88fd886ae871025719dfc8602072cc51ce5407.tar.bz2
rneovim-ba88fd886ae871025719dfc8602072cc51ce5407.zip
fix(health): malformed call to warn() #26217
-rw-r--r--runtime/lua/provider/health.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/lua/provider/health.lua b/runtime/lua/provider/health.lua
index f2c19f53fb..d33f74f6e9 100644
--- a/runtime/lua/provider/health.lua
+++ b/runtime/lua/provider/health.lua
@@ -806,11 +806,11 @@ local function node()
.. current_npm
.. ' latest: '
.. latest_npm
- warn(message({
+ warn(message, {
'Run in shell: npm install -g neovim',
'Run in shell (if you use yarn): yarn global add neovim',
'Run in shell (if you use pnpm): pnpm install -g neovim',
- }))
+ })
else
ok('Latest "neovim" npm/yarn/pnpm package is installed: ' .. current_npm)
end