diff options
author | Famiu Haque <famiuhaque@proton.me> | 2024-11-03 16:36:26 +0600 |
---|---|---|
committer | Famiu Haque <famiuhaque@proton.me> | 2024-11-05 02:36:51 +0600 |
commit | cbc9a03f58394bbb85bbe70c48856cc1efca4ab7 (patch) | |
tree | 74560c2f8f05818f10ce01d8febba3c5ee250eae /src/nvim/diff.c | |
parent | 079e5f4f9b67a5aa2c1b481ce78711bf8c76caea (diff) | |
download | rneovim-cbc9a03f58394bbb85bbe70c48856cc1efca4ab7.tar.gz rneovim-cbc9a03f58394bbb85bbe70c48856cc1efca4ab7.tar.bz2 rneovim-cbc9a03f58394bbb85bbe70c48856cc1efca4ab7.zip |
refactor(options): remove fileformat macros
Diffstat (limited to 'src/nvim/diff.c')
-rw-r--r-- | src/nvim/diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/diff.c b/src/nvim/diff.c index d22fb65827..a690c70875 100644 --- a/src/nvim/diff.c +++ b/src/nvim/diff.c @@ -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. |