aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/executable_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2026-01-10 08:07:58 +0800
committerGitHub <noreply@github.com>2026-01-10 08:07:58 +0800
commitd1f7672bc9c39bad8000bcf2e2ec6feff8787986 (patch)
treeb5fe08f050d7dc70d3050f801a82df62d26f11b5 /test/functional/vimscript/executable_spec.lua
parentaee7c1feac01d062cf1fddab448e0fe3ddd1f491 (diff)
downloadrneovim-d1f7672bc9c39bad8000bcf2e2ec6feff8787986.tar.gz
rneovim-d1f7672bc9c39bad8000bcf2e2ec6feff8787986.tar.bz2
rneovim-d1f7672bc9c39bad8000bcf2e2ec6feff8787986.zip
vim-patch:fc00006: runtime(sieve): preserve existing line endings in ftplugin (#37334)
Only set fileformat=dos for new files; preserve existing line endings when editing. This satisfies RFC 5228 for new files while avoiding issues with version control and existing workflows. The previous change (3cb4148) unconditionally set fileformat=dos, which converts existing files with LF line endings to CRLF on save. This causes issues with version control (entire file appears changed) and breaks workflows where sieve files are stored with unix line endings. Dovecot Pigeonhole (the main sieve implementation) has explicitly accepted LF line endings since 2008 (commit 97b967b5): /* Loose LF is allowed (non-standard) and converted to CRLF */ This behavior has remained unchanged for almost 18 years. closes: vim/vim#19144 https://github.com/vim/vim/commit/fc00006777594f969ba8fcff676e6ca1bcb43546 Co-authored-by: André-Patrick Bubel <code@apb.name> Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions