diff options
| author | Rafli Surya Wijaya <260355617@qq.com> | 2026-08-26 22:55:45 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-26 10:55:45 -0400 |
| commit | bb9a5087b8d9fb78f7a3ecfd29faefc37cff4f0d (patch) | |
| tree | 85bb56c5a319494bf388eed2ac533e12be171c45 /runtime/lua/vim | |
| parent | 0346958153bb0d991ad684bd8ba30ec2c056f35c (diff) | |
| download | rneovim-bb9a5087b8d9fb78f7a3ecfd29faefc37cff4f0d.tar.gz rneovim-bb9a5087b8d9fb78f7a3ecfd29faefc37cff4f0d.tar.bz2 rneovim-bb9a5087b8d9fb78f7a3ecfd29faefc37cff4f0d.zip | |
fix(health): powershell "echo" fails without an arg #41477
Diffstat (limited to 'runtime/lua/vim')
| -rw-r--r-- | runtime/lua/vim/health/health.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/health/health.lua b/runtime/lua/vim/health/health.lua index cbdd254d98..c3bbb70abc 100644 --- a/runtime/lua/vim/health/health.lua +++ b/runtime/lua/vim/health/health.lua @@ -286,7 +286,7 @@ local function check_performance() local slow_cmd_time = 1.5e9 local start_time = vim.uv.hrtime() -- Vimscript's system() is used to actually invoke a shell - vim.fn.system('echo') + vim.fn.system('echo 1') local elapsed_time = vim.uv.hrtime() - start_time if elapsed_time > slow_cmd_time then health.warn( |