File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,7 @@ require("sllm").setup({
111111 on_start_new_chat = true, -- start fresh chat on setup
112112 reset_ctx_each_prompt = true, -- clear file context each ask
113113 window_type = "vertical", -- Default. Options: "vertical", "horizontal", "float"
114+ scroll_to_bottom = true, -- whether to keep the cursor at the bottom of the LLM window
114115 -- function for item selection (like vim.ui.select)
115116 pick_func = require("mini.pick").ui_select,
116117 -- function for notifications (like vim.notify)
@@ -136,6 +137,7 @@ require("sllm").setup({
136137| ` on_start_new_chat` | boolean | ` true` | Begin with a fresh chat buffer on plugin setup |
137138| ` reset_ctx_each_prompt` | boolean | ` true` | Automatically clear file context after every prompt (if ` true` ) |
138139| ` window_type` | string | ` " vertical" ` | Window style: ` " vertical" ` , ` " horizontal" ` , or ` " float" ` . |
140+ | ` scroll_to_bottom` | boolean | ` true` | Whether to keep the cursor at the bottom of the LLM window. |
139141| ` pick_func` | function | ` require(' mini.pick' ).ui_select` | UI function for interactive model selection |
140142| ` notify_func` | function | `require('mini.notify').make_notify ()` | Notification function |
141143| ` input_func` | function | ` vim.ui.input` | Input prompt function. |
You can’t perform that action at this time.
0 commit comments