Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
17844:168181338e11 | 17845:b6acc24df7de |
---|---|
1 /* option.c */ | 1 /* option.c */ |
2 void set_init_1(int clean_arg); | 2 void set_init_1(int clean_arg); |
3 void set_string_default(char *name, char_u *val); | 3 void set_string_default(char *name, char_u *val); |
4 void set_number_default(char *name, long val); | 4 void set_number_default(char *name, long val); |
5 void set_local_options_default(win_T *wp); | 5 void set_local_options_default(win_T *wp, int do_buffer); |
6 void free_all_options(void); | 6 void free_all_options(void); |
7 void set_init_2(void); | 7 void set_init_2(void); |
8 void set_init_3(void); | 8 void set_init_3(void); |
9 void set_helplang_default(char_u *lang); | 9 void set_helplang_default(char_u *lang); |
10 void init_gui_options(void); | 10 void init_gui_options(void); |