Comments (6)
Hi @iFrostizz ,
Thanks, this is already done by nvim.gen
:
vim.api.nvim_win_set_option(M.float_win, "wrap", true)
from gen.nvim.
Hi @micheleavellaNUT ,
What should happen is that at the end of the line, the text will continue in the new line.
Example:
There's the unofficial config option win_config
, but I might remove it in the future. You can also use vertical splits with display_mode = 'split'
.
from gen.nvim.
I didn't used to suffer from this, but I got it on a new machine where I also setup neovim from scratch. I think it would be helpful to see a config to compare @micheleavellaNUT as I have an old working config in the git history of my dotfiles. I might be able to find out why
from gen.nvim.
This happens if you don't set the :set wrap
option, the text is going to overflow the buffer.
It might be good to default to this option for windows opened by gen (or add it as a configuration ?).
from gen.nvim.
Thank you for your help, I had the same problem and noticed that I had set it not to break lines.
from gen.nvim.
I do not get wrapping unless I explicitly call :set wrap
when the floating window is open. I am on the latest commit (87fbe81).
Extremely minimal configuration:
-- Minimal configuration
{
"David-Kunz/gen.nvim",
opts = {
model = "deepseek-coder:6.7b",
},
I know this is not a problem with gen.nvim but likely my own setup, how to debug it I am hoping one of the other commenters might be able to provide if they solved their issue - this doesn't happen with display_mode = "split"
so I know it is a floating window specific issue.
from gen.nvim.
Related Issues (20)
- Please help to get `git diff` into prompt :) HOT 1
- Feature Request: LM Studio Support HOT 1
- No output if the model is missing HOT 6
- Receiving error from ollama server after first successful prompt and response HOT 3
- Improve markdown rendering HOT 2
- How to close the modal window? HOT 5
- Error: Unexpected EOF HOT 2
- Not trigger the ollama HOT 1
- `$text` only grab a single character into prompt HOT 10
- [enhancement] hide diagnostic in the new buffer gen.nvim on split view HOT 3
- extract not extracting from response HOT 2
- E492: Not and editor command: Gen HOT 3
- I got error when I ran Gen HOT 3
- [Question] Option to show nothing and just replace the selected text HOT 2
- [Question] Access the whole buffer/file content HOT 2
- [Feature Request] [QoL] Add an option to split horizontally instead of vertically if the window height is greater than the width HOT 1
- So after a while of using, the prompt displays nothing. HOT 2
- Error with `replace=true` on empty line HOT 4
- Bring back `generate` support endpoint HOT 3
- The plugin is not cutting out the stats from ollama
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gen.nvim.