aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.c
diff options
context:
space:
mode:
authorDundar Goc <gocdundar@gmail.com>2022-05-04 13:00:18 +0200
committerDundar Goc <gocdundar@gmail.com>2022-05-04 17:49:37 +0200
commitf08477789fe241c3868d3856643c78da0760cd19 (patch)
treea44e1d1715323e43e1a6440fe95d2268778e69b8 /src/nvim/ex_cmds.c
parent4f17e7e1c38e53eb214fd85cde1cbbe332e86498 (diff)
downloadrneovim-f08477789fe241c3868d3856643c78da0760cd19.tar.gz
rneovim-f08477789fe241c3868d3856643c78da0760cd19.tar.bz2
rneovim-f08477789fe241c3868d3856643c78da0760cd19.zip
refactor: replace char_u variables and functions with char
Work on https://github.com/neovim/neovim/issues/459
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r--src/nvim/ex_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c
index 855e500b12..3953f2f67d 100644
--- a/src/nvim/ex_cmds.c
+++ b/src/nvim/ex_cmds.c
@@ -1919,7 +1919,7 @@ int do_write(exarg_T *eap)
// If 'filetype' was empty try detecting it now.
if (*curbuf->b_p_ft == NUL) {
if (augroup_exists("filetypedetect")) {
- (void)do_doautocmd((char_u *)"filetypedetect BufRead", true, NULL);
+ (void)do_doautocmd("filetypedetect BufRead", true, NULL);
}
do_modelines(0);
}