Extra line break after indent when settings wrap
, linebreak
and breakindent
are enabled
#25276
Labels
Milestone
wrap
, linebreak
and breakindent
are enabled
#25276
Problem
There is useless line break between whitespaces and a long text when settings
wrap
,linebreak
andbreakindent
are enabled.That extra break only makes sense when
breakindent
is disabled: that extra linebreak between whitespaces and the visible text is making sure there is more space available for the text, but whenbreakindent
is enabled then text is (virtually) indented with the same amount of padding as the whitespaces in before the linebreak.Steps to reproduce
nvim -u NONE
:set wrap linebreak breakindent
ia
1000.
V>
Expected behavior
There should be no line break between whitespaces and the text and it should look just like
linebreak
is disabled in this case.Neovim version (nvim -v)
NVIM v0.10.0-dev-1031-gc431d820e
Vim (not Nvim) behaves the same?
yes, 9.0
Operating system/version
Windows 10
Terminal name/version
cmder 1.3.21
$TERM environment variable
N/A
Installation
Scoop
The text was updated successfully, but these errors were encountered: