fix: no wrap (#34)
This commit is contained in:
		
							parent
							
								
									f8cbc88424
								
							
						
					
					
						commit
						80feab88cc
					
				@ -611,7 +611,7 @@ function Sidebar:render()
 | 
			
		||||
        N.text_input({
 | 
			
		||||
          id = "text-input",
 | 
			
		||||
          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",
 | 
			
		||||
          autofocus = true,
 | 
			
		||||
 | 
			
		||||
@ -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("relativenumber", 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 })
 | 
			
		||||
 | 
			
		||||
  -- buffer stuff
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user