fix: no wrap (#34)

This commit is contained in:
yetone 2024-08-17 15:34:37 +08:00 committed by GitHub
parent f8cbc88424
commit 80feab88cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -611,7 +611,7 @@ function Sidebar:render()
N.text_input({ N.text_input({
id = "text-input", id = "text-input",
border_label = { border_label = {
text = string.format(" 🙋 (with %s %s): ", icon, code_filename), text = string.format(" 🙋 with %s %s (<Tab> key jump to the chat history): ", icon, code_filename),
}, },
placeholder = "Enter your question", placeholder = "Enter your question",
autofocus = true, autofocus = true,

View File

@ -42,7 +42,7 @@ function View:setup(split_command, size)
api.nvim_set_option_value("number", false, { win = self.win }) api.nvim_set_option_value("number", false, { win = self.win })
api.nvim_set_option_value("relativenumber", false, { win = self.win }) api.nvim_set_option_value("relativenumber", false, { win = self.win })
api.nvim_set_option_value("list", false, { win = self.win }) api.nvim_set_option_value("list", false, { win = self.win })
api.nvim_set_option_value("wrap", false, { win = self.win }) api.nvim_set_option_value("wrap", true, { win = self.win })
api.nvim_set_option_value("winhl", "", { win = self.win }) api.nvim_set_option_value("winhl", "", { win = self.win })
-- buffer stuff -- buffer stuff