blob: fd71704ec1f39c26345e1f16f99770e9182bee8a [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001/* option.c */
Bram Moolenaar9964e462007-05-05 17:54:07 +00002void set_init_1 __ARGS((void));
3void set_string_default __ARGS((char *name, char_u *val));
4void set_number_default __ARGS((char *name, long val));
5void free_all_options __ARGS((void));
6void set_init_2 __ARGS((void));
7void set_init_3 __ARGS((void));
8void set_helplang_default __ARGS((char_u *lang));
9void init_gui_options __ARGS((void));
10void set_title_defaults __ARGS((void));
11int do_set __ARGS((char_u *arg, int opt_flags));
12void set_options_bin __ARGS((int oldval, int newval, int opt_flags));
13int get_viminfo_parameter __ARGS((int type));
14char_u *find_viminfo_parameter __ARGS((int type));
15void check_options __ARGS((void));
16void check_buf_options __ARGS((buf_T *buf));
17void free_string_option __ARGS((char_u *p));
18void clear_string_option __ARGS((char_u **pp));
19void set_term_option_alloced __ARGS((char_u **p));
20int was_set_insecurely __ARGS((char_u *opt, int opt_flags));
21void set_string_option_direct __ARGS((char_u *name, int opt_idx, char_u *val, int opt_flags, int set_sid));
Bram Moolenaar1a384422010-07-14 19:53:30 +020022char_u *check_colorcolumn __ARGS((win_T *wp));
Bram Moolenaar9964e462007-05-05 17:54:07 +000023char_u *check_stl_option __ARGS((char_u *s));
24int get_option_value __ARGS((char_u *name, long *numval, char_u **stringval, int opt_flags));
25void set_option_value __ARGS((char_u *name, long number, char_u *string, int opt_flags));
26char_u *get_term_code __ARGS((char_u *tname));
27char_u *get_highlight_default __ARGS((void));
28char_u *get_encoding_default __ARGS((void));
29int makeset __ARGS((FILE *fd, int opt_flags, int local_only));
30int makefoldset __ARGS((FILE *fd));
31void clear_termoptions __ARGS((void));
32void free_termoptions __ARGS((void));
Bram Moolenaar363cb672009-07-22 12:28:17 +000033void free_one_termoption __ARGS((char_u *var));
Bram Moolenaar9964e462007-05-05 17:54:07 +000034void set_term_defaults __ARGS((void));
35void comp_col __ARGS((void));
36char_u *get_equalprg __ARGS((void));
37void win_copy_options __ARGS((win_T *wp_from, win_T *wp_to));
38void copy_winopt __ARGS((winopt_T *from, winopt_T *to));
39void check_win_options __ARGS((win_T *win));
40void check_winopt __ARGS((winopt_T *wop));
41void clear_winopt __ARGS((winopt_T *wop));
42void buf_copy_options __ARGS((buf_T *buf, int flags));
43void reset_modifiable __ARGS((void));
44void set_iminsert_global __ARGS((void));
45void set_imsearch_global __ARGS((void));
46void set_context_in_set_cmd __ARGS((expand_T *xp, char_u *arg, int opt_flags));
47int ExpandSettings __ARGS((expand_T *xp, regmatch_T *regmatch, int *num_file, char_u ***file));
48int ExpandOldSetting __ARGS((int *num_file, char_u ***file));
Bram Moolenaar28e8d272009-02-21 19:28:48 +000049int langmap_adjust_mb __ARGS((int c));
Bram Moolenaar9964e462007-05-05 17:54:07 +000050int has_format_option __ARGS((int x));
51int shortmess __ARGS((int x));
52void vimrc_found __ARGS((char_u *fname, char_u *envname));
53void change_compatible __ARGS((int on));
54int option_was_set __ARGS((char_u *name));
55int can_bs __ARGS((int what));
56void save_file_ff __ARGS((buf_T *buf));
Bram Moolenaar164c60f2011-01-22 00:11:50 +010057int file_ff_differs __ARGS((buf_T *buf, int ignore_empty));
Bram Moolenaar9964e462007-05-05 17:54:07 +000058int check_ff_value __ARGS((char_u *p));
Bram Moolenaar14f24742012-08-08 18:01:05 +020059long get_sw_value __ARGS((void));
Bram Moolenaar9f340fa2012-10-21 00:10:39 +020060long get_sts_value __ARGS((void));
Bram Moolenaar071d4272004-06-13 20:20:40 +000061/* vim: set ft=c : */