Mercurial > vim
diff src/proto/option.pro @ 18679:fd95d4dbeb37 v8.1.2331
patch 8.1.2331: the option.c file is still very big
Commit: https://github.com/vim/vim/commit/7bae0b1bc84a95d565ffab38cf7f82ad21c656b6
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Nov 21 22:14:18 2019 +0100
patch 8.1.2331: the option.c file is still very big
Problem: The option.c file is still very big.
Solution: Move a few functions to where they fit better. (Yegappan
Lakshmanan, closes #4895)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 21 Nov 2019 22:15:03 +0100 |
parents | f249b44039e0 |
children | 69f0e9b5c107 |
line wrap: on
line diff
--- a/src/proto/option.pro +++ b/src/proto/option.pro @@ -7,12 +7,10 @@ void free_all_options(void); void set_init_2(void); void set_init_3(void); void set_helplang_default(char_u *lang); -void init_gui_options(void); void set_title_defaults(void); int do_set(char_u *arg, int opt_flags); void did_set_option(int opt_idx, int opt_flags, int new_value, int value_checked); int string_to_key(char_u *arg, int multi_byte); -char *check_cedit(void); void did_set_title(void); void set_options_bin(int oldval, int newval, int opt_flags); void check_options(void); @@ -21,7 +19,6 @@ int set_term_option_alloced(char_u **p); int was_set_insecurely(char_u *opt, int opt_flags); void redraw_titles(void); int valid_name(char_u *val, char *allowed); -char *check_clipboard_option(void); void set_option_sctx_idx(int opt_idx, int opt_flags, sctx_T script_ctx); void set_term_option_sctx_idx(char *name, int opt_idx); void check_redraw(long_u flags); @@ -71,14 +68,9 @@ void change_compatible(int on); int option_was_set(char_u *name); int reset_option_was_set(char_u *name); void fill_breakat_flags(void); -int check_opt_wim(void); int can_bs(int what); -void save_file_ff(buf_T *buf); -int file_ff_differs(buf_T *buf, int ignore_empty); long get_scrolloff_value(void); long get_sidescrolloff_value(void); -void find_mps_values(int *initc, int *findc, int *backwards, int switchit); -int briopt_check(win_T *wp); unsigned int get_bkc_value(buf_T *buf); char_u *get_showbreak_value(win_T *win); dict_T *get_winbuf_options(int bufopt);