mirror of
https://github.com/neovim/neovim.git
synced 2026-05-05 21:45:05 +00:00
Problem: With `formatoptions+=r`, the prompt prefix "%" is treated as comment-start (because of global default 'comments' option contains "%"), so it gets added to the start of the line when a new line is input in a prompt. Solution: Unset the 'comments' option in prompt buffers by default.