From 56a4ef3c213d87bfba5f361376bd23eefdf6c6ec Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Fri, 11 Jul 2025 08:33:29 -0400 Subject: docs: lsp, ui events, dev guidance, osc7 fix #34981 --- runtime/lua/vim/_system.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'runtime/lua/vim/_system.lua') diff --git a/runtime/lua/vim/_system.lua b/runtime/lua/vim/_system.lua index 6e311823f0..06f0a8e102 100644 --- a/runtime/lua/vim/_system.lua +++ b/runtime/lua/vim/_system.lua @@ -471,6 +471,10 @@ end --- Runs a system command or throws an error if {cmd} cannot be run. --- +--- The command runs directly (not in 'shell') so shell builtins such as "echo" in cmd.exe, cmdlets +--- in powershell, or "help" in bash, will not work unless you actually invoke a shell: +--- `vim.system({'bash', '-c', 'help'})`. +--- --- Examples: --- --- ```lua -- cgit v1.3-3-g829e