aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.c
diff options
context:
space:
mode:
authorGregory Anders <8965202+gpanders@users.noreply.github.com>2022-05-04 10:23:21 -0600
committerGitHub <noreply@github.com>2022-05-04 10:23:21 -0600
commitf98149d87a651f457affa91ccf12f9337da84e78 (patch)
treea44e1d1715323e43e1a6440fe95d2268778e69b8 /src/nvim/ex_cmds.c
parent4f17e7e1c38e53eb214fd85cde1cbbe332e86498 (diff)
parentf08477789fe241c3868d3856643c78da0760cd19 (diff)
downloadrneovim-f98149d87a651f457affa91ccf12f9337da84e78.tar.gz
rneovim-f98149d87a651f457affa91ccf12f9337da84e78.tar.bz2
rneovim-f98149d87a651f457affa91ccf12f9337da84e78.zip
Merge pull request #18413 from dundargoc/refactor/remove-char_u-autocmd
refactor/remove char u autocmd
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);
}