aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/fileio.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/fileio.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/fileio.c')
-rw-r--r--src/nvim/fileio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c
index 95c373ec5c..1c91df6387 100644
--- a/src/nvim/fileio.c
+++ b/src/nvim/fileio.c
@@ -3797,7 +3797,7 @@ static int set_rw_fname(char_u *fname, char_u *sfname)
// Do filetype detection now if 'filetype' is empty.
if (*curbuf->b_p_ft == NUL) {
if (augroup_exists("filetypedetect")) {
- (void)do_doautocmd((char_u *)"filetypedetect BufRead", false, NULL);
+ (void)do_doautocmd("filetypedetect BufRead", false, NULL);
}
do_modelines(0);
}