mirror of
https://github.com/neovim/neovim.git
synced 2025-09-19 09:48:19 +00:00
*: Move some dictionary functions to typval.h and use char*
Also fixes buffer reusage in setmatches() and complete().
This commit is contained in:
@@ -5439,7 +5439,7 @@ static void init_spellfile(void)
|
||||
fname != NULL
|
||||
&& strstr((char *)path_tail(fname), ".ascii.") != NULL
|
||||
? (char_u *)"ascii" : spell_enc());
|
||||
set_option_value((char_u *)"spellfile", 0L, buf, OPT_LOCAL);
|
||||
set_option_value("spellfile", 0L, (const char *)buf, OPT_LOCAL);
|
||||
break;
|
||||
}
|
||||
aspath = false;
|
||||
|
Reference in New Issue
Block a user