aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta/vvars.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-01-07 09:42:17 +0800
committerGitHub <noreply@github.com>2025-01-07 09:42:17 +0800
commite27f7125d66f6026adacbbad00bbf6e66a6ba883 (patch)
treeeb2a65a2b975f9fcc56e41ee1db6fde66b58d3dd /runtime/lua/vim/_meta/vvars.lua
parent06ff5480ce274daf3b7ad9950a587099200dc8ff (diff)
parent8fa4306eb910028ee8df8685ae9b1649608c2608 (diff)
downloadrneovim-e27f7125d66f6026adacbbad00bbf6e66a6ba883.tar.gz
rneovim-e27f7125d66f6026adacbbad00bbf6e66a6ba883.tar.bz2
rneovim-e27f7125d66f6026adacbbad00bbf6e66a6ba883.zip
Merge pull request #31893 from zeertzjq/vim-9.1.0984
vim-patch:9.1.{0984,0991}: getstacktrace(), v:stacktrace
Diffstat (limited to 'runtime/lua/vim/_meta/vvars.lua')
-rw-r--r--runtime/lua/vim/_meta/vvars.lua12
1 files changed, 10 insertions, 2 deletions
diff --git a/runtime/lua/vim/_meta/vvars.lua b/runtime/lua/vim/_meta/vvars.lua
index 445da4e02f..c1b8695bbf 100644
--- a/runtime/lua/vim/_meta/vvars.lua
+++ b/runtime/lua/vim/_meta/vvars.lua
@@ -203,7 +203,8 @@ vim.v.errors = ...
vim.v.event = ...
--- The value of the exception most recently caught and not
---- finished. See also `v:throwpoint` and `throw-variables`.
+--- finished. See also `v:stacktrace`, `v:throwpoint`, and
+--- `throw-variables`.
--- Example:
---
--- ```vim
@@ -616,6 +617,13 @@ vim.v.servername = ...
--- @type integer
vim.v.shell_error = ...
+--- The stack trace of the exception most recently caught and
+--- not finished. Refer to `getstacktrace()` for the structure of
+--- stack trace. See also `v:exception`, `v:throwpoint`, and
+--- `throw-variables`.
+--- @type table[]
+vim.v.stacktrace = ...
+
--- Last given status message.
--- Modifiable (can be set).
--- @type string
@@ -718,7 +726,7 @@ vim.v.this_session = ...
--- The point where the exception most recently caught and not
--- finished was thrown. Not set when commands are typed. See
---- also `v:exception` and `throw-variables`.
+--- also `v:exception`, `v:stacktrace`, and `throw-variables`.
--- Example:
---
--- ```vim