Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 1 | /* option.c */ |
Bram Moolenaar | 0726870 | 2018-03-01 21:57:32 +0100 | [diff] [blame] | 2 | void set_init_1(int clean_arg); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 3 | void set_string_default(char *name, char_u *val); |
| 4 | void set_number_default(char *name, long val); |
| 5 | void free_all_options(void); |
| 6 | void set_init_2(void); |
| 7 | void set_init_3(void); |
| 8 | void set_helplang_default(char_u *lang); |
| 9 | void init_gui_options(void); |
| 10 | void set_title_defaults(void); |
| 11 | int do_set(char_u *arg, int opt_flags); |
Bram Moolenaar | dbe948d | 2017-07-23 22:50:51 +0200 | [diff] [blame] | 12 | int string_to_key(char_u *arg, int multi_byte); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 13 | void set_options_bin(int oldval, int newval, int opt_flags); |
| 14 | int get_viminfo_parameter(int type); |
| 15 | char_u *find_viminfo_parameter(int type); |
| 16 | void check_options(void); |
| 17 | void check_buf_options(buf_T *buf); |
| 18 | void free_string_option(char_u *p); |
| 19 | void clear_string_option(char_u **pp); |
| 20 | void set_term_option_alloced(char_u **p); |
| 21 | 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 | char_u *check_colorcolumn(win_T *wp); |
| 24 | char_u *check_stl_option(char_u *s); |
| 25 | 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); |
| 27 | 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); |
| 29 | char_u *get_term_code(char_u *tname); |
| 30 | char_u *get_highlight_default(void); |
| 31 | char_u *get_encoding_default(void); |
| 32 | int makeset(FILE *fd, int opt_flags, int local_only); |
| 33 | int makefoldset(FILE *fd); |
| 34 | void clear_termoptions(void); |
| 35 | void free_termoptions(void); |
| 36 | void free_one_termoption(char_u *var); |
| 37 | void set_term_defaults(void); |
| 38 | void comp_col(void); |
| 39 | void unset_global_local_option(char_u *name, void *from); |
| 40 | char_u *get_equalprg(void); |
| 41 | void win_copy_options(win_T *wp_from, win_T *wp_to); |
| 42 | void copy_winopt(winopt_T *from, winopt_T *to); |
| 43 | void check_win_options(win_T *win); |
| 44 | void clear_winopt(winopt_T *wop); |
| 45 | void buf_copy_options(buf_T *buf, int flags); |
| 46 | void reset_modifiable(void); |
| 47 | void set_iminsert_global(void); |
| 48 | void set_imsearch_global(void); |
| 49 | void set_context_in_set_cmd(expand_T *xp, char_u *arg, int opt_flags); |
| 50 | int ExpandSettings(expand_T *xp, regmatch_T *regmatch, int *num_file, char_u ***file); |
| 51 | int ExpandOldSetting(int *num_file, char_u ***file); |
| 52 | int langmap_adjust_mb(int c); |
| 53 | int has_format_option(int x); |
| 54 | int shortmess(int x); |
| 55 | void vimrc_found(char_u *fname, char_u *envname); |
| 56 | void change_compatible(int on); |
| 57 | int option_was_set(char_u *name); |
| 58 | void reset_option_was_set(char_u *name); |
| 59 | int can_bs(int what); |
| 60 | void save_file_ff(buf_T *buf); |
| 61 | int file_ff_differs(buf_T *buf, int ignore_empty); |
| 62 | int check_ff_value(char_u *p); |
Bram Moolenaar | 04958cb | 2018-06-23 19:23:02 +0200 | [diff] [blame] | 63 | int tabstop_set(char_u *var, int **array); |
| 64 | int tabstop_padding(colnr_T col, int ts_arg, int *vts); |
| 65 | int tabstop_at(colnr_T col, int ts, int *vts); |
| 66 | colnr_T tabstop_start(colnr_T col, int ts, int *vts); |
Bram Moolenaar | 32d19c1 | 2018-09-13 17:26:54 +0200 | [diff] [blame] | 67 | void tabstop_fromto(colnr_T start_col, colnr_T end_col, int ts_arg, int *vts, int *ntabs, int *nspcs); |
Bram Moolenaar | 04958cb | 2018-06-23 19:23:02 +0200 | [diff] [blame] | 68 | int tabstop_eq(int *ts1, int *ts2); |
| 69 | int *tabstop_copy(int *oldts); |
| 70 | int tabstop_count(int *ts); |
| 71 | int tabstop_first(int *ts); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 72 | long get_sw_value(buf_T *buf); |
| 73 | long get_sts_value(void); |
| 74 | void find_mps_values(int *initc, int *findc, int *backwards, int switchit); |
| 75 | unsigned int get_bkc_value(buf_T *buf); |
Bram Moolenaar | 95ec9d6 | 2016-08-12 18:29:59 +0200 | [diff] [blame] | 76 | int signcolumn_on(win_T *wp); |
Bram Moolenaar | b5ae48e | 2016-08-12 22:23:25 +0200 | [diff] [blame] | 77 | dict_T *get_winbuf_options(int bufopt); |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 78 | /* vim: set ft=c : */ |