aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_system.lua
diff options
context:
space:
mode:
authorShadman <shadmansaleh3@gmail.com>2025-06-24 19:52:24 +0600
committerGitHub <noreply@github.com>2025-06-24 06:52:24 -0700
commit25000be8457f5c2eec12f9551d013ca70cd89e59 (patch)
treec7319a7be7e8cd1da4e8fc13d887774dba9db5b4 /runtime/lua/vim/_system.lua
parent5871d267790987548d06e02afdd166e9e9c459e3 (diff)
downloadrneovim-25000be8457f5c2eec12f9551d013ca70cd89e59.tar.gz
rneovim-25000be8457f5c2eec12f9551d013ca70cd89e59.tar.bz2
rneovim-25000be8457f5c2eec12f9551d013ca70cd89e59.zip
fix(prompt): "%" prefix repeated on newlines with formatoptions+=r #34584
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.
Diffstat (limited to 'runtime/lua/vim/_system.lua')
0 files changed, 0 insertions, 0 deletions