aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_system.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2025-07-28 22:23:07 -0400
committerGitHub <noreply@github.com>2025-07-28 22:23:07 -0400
commit029b7a149fa77cefe45e8df5524ef41ed4ee78eb (patch)
treeb3a64bca38782c3b43f307dad58f54213bd97295 /runtime/lua/vim/_system.lua
parentdc67ba948eec0a5628eff0b15ce87a7d27f58bb3 (diff)
parentdc3a30cfbb8304e10cff894a30c56fe43fc895ec (diff)
downloadrneovim-029b7a149fa77cefe45e8df5524ef41ed4ee78eb.tar.gz
rneovim-029b7a149fa77cefe45e8df5524ef41ed4ee78eb.tar.bz2
rneovim-029b7a149fa77cefe45e8df5524ef41ed4ee78eb.zip
Merge #35000 docs: lsp, ui events, dev guidance
Diffstat (limited to 'runtime/lua/vim/_system.lua')
-rw-r--r--runtime/lua/vim/_system.lua4
1 files changed, 4 insertions, 0 deletions
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