You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a multiline string in vim, the cursor does is off, the window itself looks wrong and the line numbers skip.
To Reproduce
Steps to reproduce:
Copy this example json string:
{ "glossary": { "title": "example glossary", "GlossDiv": { "title": "S", "GlossList": { "GlossEntry": { "ID": "SGML", "SortAs": "SGML", "GlossTerm": "Standard Generalized Markup Language", "Acronym": "SGML", "Abbrev": "ISO 8879:1986", "GlossDef": { "para": "A meta-markup language, used to create markup languages such as DocBook.", "GlossSeeAlso": ["GML", "XML"] }, "GlossSee": "markup" } } } } }
Open neovim
Press $ to go to end of string
Notice cursor is way past the end of the string
Expected behaviour
No response
Screenshots
Here is a video of what I see:
Screen.Recording.2022-03-16.at.3.22.26.PM.mov
Operating System
MacOS
OS Version
12.0.1
Additional context
neovim:
NVIM v0.6.1
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by [email protected]
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/opt/homebrew/Cellar/neovim/0.6.1/share/nvim"
Run :checkhealth for more info
The text was updated successfully, but these errors were encountered:
Encountered the same behaviour using nvim.
At the end of lines there is some kind of artefacts:
And lines themselves bleed into section with line numbers:
After a bit of research I found that :set number breaks multiline strings on nvim.
But vanilla vim works perfectly!
warp v0.2022.06.20.09.15.stable_02
nvim --version
NVIM v0.6.1
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by brew@Monterey
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/local/Cellar/neovim/0.6.1/share/nvim"
Run :checkhealth for more info
vim --version
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Apr 19 2022 21:41:43)
macOS version - x86_64
Included patches: 1-4113
Compiled by [email protected]
Describe the bug
When using a multiline string in vim, the cursor does is off, the window itself looks wrong and the line numbers skip.
To Reproduce
Steps to reproduce:
$
to go to end of stringExpected behaviour
No response
Screenshots
Here is a video of what I see:
Screen.Recording.2022-03-16.at.3.22.26.PM.mov
Operating System
MacOS
OS Version
12.0.1
Additional context
The text was updated successfully, but these errors were encountered: