comparison src/proto/option.pro @ 14867:cf4d6489c9eb v8.1.0445

patch 8.1.0445: setting 'term' does not store location for termcap options commit https://github.com/vim/vim/commit/35bc7d6c52f516b60d683bf9f0f57266d86e25b9 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Oct 2 14:45:10 2018 +0200 patch 8.1.0445: setting 'term' does not store location for termcap options Problem: Setting 'term' does not store location for termcap options. Solution: Set the script context for termcap options that are changed when 'term' is set.
author Christian Brabandt <cb@256bit.org>
date Tue, 02 Oct 2018 15:00:07 +0200
parents 00da090af0ab
children 3a94f7918980
comparison
equal deleted inserted replaced
14866:2cc6cfa2b804 14867:cf4d6489c9eb
15 char_u *find_viminfo_parameter(int type); 15 char_u *find_viminfo_parameter(int type);
16 void check_options(void); 16 void check_options(void);
17 void check_buf_options(buf_T *buf); 17 void check_buf_options(buf_T *buf);
18 void free_string_option(char_u *p); 18 void free_string_option(char_u *p);
19 void clear_string_option(char_u **pp); 19 void clear_string_option(char_u **pp);
20 void set_term_option_alloced(char_u **p); 20 int get_term_opt_idx(char_u **p);
21 int set_term_option_alloced(char_u **p);
21 int was_set_insecurely(char_u *opt, int opt_flags); 22 int was_set_insecurely(char_u *opt, int opt_flags);
22 void set_string_option_direct(char_u *name, int opt_idx, char_u *val, int opt_flags, int set_sid); 23 void set_string_option_direct(char_u *name, int opt_idx, char_u *val, int opt_flags, int set_sid);
23 char_u *check_colorcolumn(win_T *wp); 24 char_u *check_colorcolumn(win_T *wp);
24 char_u *check_stl_option(char_u *s); 25 char_u *check_stl_option(char_u *s);
26 void set_term_option_sctx_idx(char *name, int opt_idx);
25 int get_option_value(char_u *name, long *numval, char_u **stringval, int opt_flags); 27 int get_option_value(char_u *name, long *numval, char_u **stringval, int opt_flags);
26 int get_option_value_strict(char_u *name, long *numval, char_u **stringval, int opt_type, void *from); 28 int get_option_value_strict(char_u *name, long *numval, char_u **stringval, int opt_type, void *from);
27 char_u *option_iter_next(void **option, int opt_type); 29 char_u *option_iter_next(void **option, int opt_type);
28 char_u *set_option_value(char_u *name, long number, char_u *string, int opt_flags); 30 char_u *set_option_value(char_u *name, long number, char_u *string, int opt_flags);
29 char_u *get_term_code(char_u *tname); 31 char_u *get_term_code(char_u *tname);