Mercurial > vim
diff src/proto/option.pro @ 17845:b6acc24df7de v8.1.1919
patch 8.1.1919: using window options when passing a buffer to popup_create()
Commit: https://github.com/vim/vim/commit/4645104be4c521dfdd43621c19e96bda3cac7be2
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 24 15:50:46 2019 +0200
patch 8.1.1919: using window options when passing a buffer to popup_create()
Problem: Using current window option values when passing a buffer to
popup_create().
Solution: Clear the window-local options. (closes #4857)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 24 Aug 2019 16:00:04 +0200 |
parents | 0f7ae8010787 |
children | 079e10a49ea1 |
line wrap: on
line diff
--- a/src/proto/option.pro +++ b/src/proto/option.pro @@ -2,7 +2,7 @@ void set_init_1(int clean_arg); void set_string_default(char *name, char_u *val); void set_number_default(char *name, long val); -void set_local_options_default(win_T *wp); +void set_local_options_default(win_T *wp, int do_buffer); void free_all_options(void); void set_init_2(void); void set_init_3(void);