mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 17:28:23 +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:
@@ -4764,8 +4764,8 @@ void fix_help_buffer(void)
|
||||
char_u *p;
|
||||
char_u *rt;
|
||||
|
||||
/* set filetype to "help". */
|
||||
set_option_value((char_u *)"ft", 0L, (char_u *)"help", OPT_LOCAL);
|
||||
// Set filetype to "help".
|
||||
set_option_value("ft", 0L, "help", OPT_LOCAL);
|
||||
|
||||
if (!syntax_present(curwin)) {
|
||||
for (lnum = 1; lnum <= curbuf->b_ml.ml_line_count; ++lnum) {
|
||||
|
Reference in New Issue
Block a user