diff options
author | Michael Reed <m.reed@mykolab.com> | 2015-05-13 15:31:40 -0400 |
---|---|---|
committer | Michael Reed <m.reed@mykolab.com> | 2015-05-13 15:31:40 -0400 |
commit | e888c479f3d34a1948c63495328b4184ff2ab874 (patch) | |
tree | f7dfab3c160479dd7170fbdb47684c6fd9188f4e /src/nvim/diff.c | |
parent | af4b0a76a757f44ea7fbfc8e1c863952adc6ac1e (diff) | |
parent | af3381b3196107653c04b56e7fae07e8a9a320ed (diff) | |
download | rneovim-e888c479f3d34a1948c63495328b4184ff2ab874.tar.gz rneovim-e888c479f3d34a1948c63495328b4184ff2ab874.tar.bz2 rneovim-e888c479f3d34a1948c63495328b4184ff2ab874.zip |
Merge pull request #2619 from Pyrohh/char_u-to-char
[RDY] Remove char_u (6)
Diffstat (limited to 'src/nvim/diff.c')
-rw-r--r-- | src/nvim/diff.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/diff.c b/src/nvim/diff.c index b21bc1f2f4..7c1a9de623 100644 --- a/src/nvim/diff.c +++ b/src/nvim/diff.c @@ -978,7 +978,7 @@ void ex_diffpatch(exarg_T *eap) // Do filetype detection with the new name. if (au_has_group((char_u *)"filetypedetect")) { - do_cmdline_cmd((char_u *)":doau filetypedetect BufRead"); + do_cmdline_cmd(":doau filetypedetect BufRead"); } } } @@ -1087,7 +1087,7 @@ void diff_win_options(win_T *wp, int addbuf) // make sure topline is not halfway through a fold changed_window_setting_win(wp); if (vim_strchr(p_sbo, 'h') == NULL) { - do_cmdline_cmd((char_u *)"set sbo+=hor"); + do_cmdline_cmd("set sbo+=hor"); } // Saved the current values, to be restored in ex_diffoff(). @@ -1173,7 +1173,7 @@ void ex_diffoff(exarg_T *eap) // Remove "hor" from from 'scrollopt' if there are no diff windows left. if (!diffwin && (vim_strchr(p_sbo, 'h') != NULL)) { - do_cmdline_cmd((char_u *)"set sbo-=hor"); + do_cmdline_cmd("set sbo-=hor"); } } |