mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.1.0240: g:actual_curbuf set in wrong scope (#8818)
Problem: g:actual_curbuf set in wrong scope. (Daniel Hahler)
Solution: Prepend the "g:" name space. (closes vim/vim#3279)
3cb4448b8a
This commit is contained in:
parent
b42c80e561
commit
3aca372ac8
@ -3603,7 +3603,7 @@ int build_stl_str_hl(
|
||||
|
||||
// Store the current buffer number as a string variable
|
||||
vim_snprintf((char *)tmp, sizeof(tmp), "%d", curbuf->b_fnum);
|
||||
set_internal_string_var((char_u *)"actual_curbuf", tmp);
|
||||
set_internal_string_var((char_u *)"g:actual_curbuf", tmp);
|
||||
|
||||
buf_T *o_curbuf = curbuf;
|
||||
win_T *o_curwin = curwin;
|
||||
|
Loading…
Reference in New Issue
Block a user