summaryrefslogtreecommitdiff
path: root/lua/99/init.lua
diff options
context:
space:
mode:
authortheprimeagain <the.primeagen@gmail.com>2026-03-02 07:34:52 -0700
committertheprimeagain <the.primeagen@gmail.com>2026-03-02 07:34:52 -0700
commitcd07a91be0e67a4fcbbb3a455123849ebaa4a140 (patch)
tree8996f54fcb6a4e0e5ae2707ba5748c222c628e39 /lua/99/init.lua
parent23fd5532a6cda8e899c7f6dc20e522c40b17485f (diff)
downloada4-cd07a91be0e67a4fcbbb3a455123849ebaa4a140.tar.xz
a4-cd07a91be0e67a4fcbbb3a455123849ebaa4a140.zip
open tutorial fixed
Diffstat (limited to 'lua/99/init.lua')
-rw-r--r--lua/99/init.lua9
1 files changed, 8 insertions, 1 deletions
diff --git a/lua/99/init.lua b/lua/99/init.lua
index 7a15dfc..14ece26 100644
--- a/lua/99/init.lua
+++ b/lua/99/init.lua
@@ -191,6 +191,8 @@ local _99_state
--- Performs a search across your project with the prompt you provide and return out a list of
--- locations with notes that will be put into your quick fix list.
--- @field vibe fun(opts?: _99.ops.Opts): _99.TraceID | nil
+--- will ask opencode or whatever provider currently being used to perform a vibe
+--- session.
--- @field open fun(): nil
--- Opens a selection window for you to select the last interaction to open
--- and display its contents in a way that makes sense for its type. For
@@ -281,7 +283,12 @@ end
--- @param context _99.Prompt
function _99.open_tutorial(context)
local tutorial = context:tutorial_data()
- Window.create_split(tutorial.tutorial, tutorial.buffer)
+ Window.create_split(tutorial.tutorial, tutorial.buffer, {
+ split_direction = "vertical",
+ window_opts = {
+ wrap = true,
+ },
+ })
end
function _99.open()