mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 10:55:40 +00:00
refactor: replace char_u variables and functions with char
Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -5229,7 +5229,7 @@ static buf_T *vgr_load_dummy_buf(char *fname, char *dirname_start, char *dirname
|
||||
{
|
||||
// Don't do Filetype autocommands to avoid loading syntax and
|
||||
// indent scripts, a great speed improvement.
|
||||
char *save_ei = (char *)au_event_disable(",Filetype");
|
||||
char *save_ei = au_event_disable(",Filetype");
|
||||
|
||||
long save_mls = p_mls;
|
||||
p_mls = 0;
|
||||
@@ -5239,7 +5239,7 @@ static buf_T *vgr_load_dummy_buf(char *fname, char *dirname_start, char *dirname
|
||||
buf_T *buf = load_dummy_buffer(fname, dirname_start, dirname_now);
|
||||
|
||||
p_mls = save_mls;
|
||||
au_event_restore((char_u *)save_ei);
|
||||
au_event_restore(save_ei);
|
||||
|
||||
return buf;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user