-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to disable auto wrapping? #3
Comments
80f65d1 support disable wrapping: g:GIT_LENS_CONFIG = {
blame_wrap: false,
} |
What's the right syntax for this in .vimrc? It's causing an error. |
I guess your .vimrc is not vim9 script, try this: vim9cmd g:GIT_LENS_CONFIG = {
blame_wrap: false,
} |
It works now. But actually my output of :echo has('vim9script') is 1... |
There's still a problem of it. |
Can you put you |
Cannot reproduce in Vim-9.0.1441 |
Try the latest version, I think c27b09f should fix this. |
@Eliot00 I have just tried, but another problem appeared... |
Fixed, looking forward to your feedback. |
It looks great now, thanks. |
Still has a problem. |
In fact, this should be an upstream bug. If a line of text just occupies the entire line width, virtual text will wrap. Vim doesn't provide a way to judge this situation, I'm not sure my method can cover all situations if !GetConfig('blame_wrap') && (winwidth(0) - &numberwidth - 1) == virtcol('$')
return
endif |
How to disable auto wrapping? It's annoying if the screen is narrow.
The text was updated successfully, but these errors were encountered: