diff options
| author | Volodymyr Chernetskyi <volodymyr_chernetskyi@goodyear.com> | 2026-09-02 16:09:20 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-02 10:09:20 -0400 |
| commit | a41d00866676a70358d5568ef3c6e6b21f1d0c43 (patch) | |
| tree | a11f34fb2ceb3c1c5972624ab65db85738bd5cfc /runtime/syntax/python.vim | |
| parent | 5bc7dbb13ecb644e9cff2468503f826cfca01483 (diff) | |
| download | rneovim-a41d00866676a70358d5568ef3c6e6b21f1d0c43.tar.gz rneovim-a41d00866676a70358d5568ef3c6e6b21f1d0c43.tar.bz2 rneovim-a41d00866676a70358d5568ef3c6e6b21f1d0c43.zip | |
fix(trust): hash fileformat=mac buffers correctly #41616
Problem:
`compute_hash()` reconstructs buffer contents with `fileformat` set to
`mac` using CRLF (`dos`) line endings. The resulting hash does not match
the file's bytes.
Solution:
Define the line ending for every supported file format. Use that mapping
when reconstructing buffer contents for hashing.
Diffstat (limited to 'runtime/syntax/python.vim')
0 files changed, 0 insertions, 0 deletions