diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-02-07 18:28:34 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-07 18:28:34 -0500 |
commit | 02a3c417945e7b7fc781906a78acbf88bd44c971 (patch) | |
tree | 16f255fcf66a50ceea661e08cbea7ce965c46e7c /src/nvim/diff.c | |
parent | a7d9df996dc1c353574845563216dc0372dd8b77 (diff) | |
parent | d34846af7455b8411476700920cdb64f121bae69 (diff) | |
download | rneovim-02a3c417945e7b7fc781906a78acbf88bd44c971.tar.gz rneovim-02a3c417945e7b7fc781906a78acbf88bd44c971.tar.bz2 rneovim-02a3c417945e7b7fc781906a78acbf88bd44c971.zip |
Merge pull request #13898 from janlazo/set_string_option_direct
Refactor option,var functions to use char for param type
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 93bc34fa4b..358725239c 100644 --- a/src/nvim/diff.c +++ b/src/nvim/diff.c @@ -1375,7 +1375,7 @@ void diff_win_options(win_T *wp, int addbuf) } wp->w_p_fdm_save = vim_strsave(wp->w_p_fdm); } - set_string_option_direct((char_u *)"fdm", -1, (char_u *)"diff", + set_string_option_direct("fdm", -1, (char_u *)"diff", OPT_LOCAL | OPT_FREE, 0); curwin = old_curwin; curbuf = curwin->w_buffer; |