refactor(options): remove fileformat macros

This commit is contained in:
Famiu Haque
2024-11-03 16:36:26 +06:00
parent 079e5f4f9b
commit cbc9a03f58
5 changed files with 14 additions and 25 deletions

View File

@@ -801,7 +801,7 @@ static int diff_write(buf_T *buf, diffin_T *din)
// Always use 'fileformat' set to "unix".
char *save_ff = buf->b_p_ff;
buf->b_p_ff = xstrdup(FF_UNIX);
buf->b_p_ff = xstrdup("unix");
const bool save_cmod_flags = cmdmod.cmod_flags;
// Writing the buffer is an implementation detail of performing the diff,
// so it shouldn't update the '[ and '] marks.