Open dylanpinn opened 2 months ago
I believe I'm experiencing something related to clearing the marks. When I save a file the view jumps to near the top of the buffer. In other words, updating the buffer with the formatted buffer changes my viewed position in the buffer.
PS: This is a great plugin that solves a configuration problem that I've had for years. Thank you!
Neovim version (nvim -v)
v0.9.5
Operating system/version
macOS 14.4.1
Add the debug logs
log_level = vim.log.levels.DEBUG
and pasted the log contents below.Log file
Describe the bug
When using Conform via the
formatexpr
, folds are not kept after usinggq
.What is the severity of this bug?
minor (annoyance)
Steps To Reproduce
:5
- go to line 5mz
-- mark current position asz
gg
-- go back to top of the filegqG
-- format the file usingformatexpr
`z
-- "Mark not set" error messageExpected Behavior
Should go back to mark
z
on line 5 after formatting file.Minimal example file
Minimal init.lua
Additional context
No response