Mercurial > vim
annotate src/proto/option.pro @ 32051:e8c60d35fce3 v9.0.1357
patch 9.0.1357: using null_object results in an internal error
Commit: https://github.com/vim/vim/commit/c4e1b86cb0d88fa5ec1141d3c600e026dcc1bc21
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 26 18:58:23 2023 +0000
patch 9.0.1357: using null_object results in an internal error
Problem: Using null_object results in an internal error. (Ernie Rael)
Solution: Add instructions for pushing an object and class. (closes https://github.com/vim/vim/issues/12044)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 26 Feb 2023 20:00:03 +0100 |
parents | ca6bc7c04163 |
children | e7ab58f57ea3 |
rev | line source |
---|---|
7 | 1 /* option.c */ |
13361
65c29bd4548b
patch 8.0.1554: custom plugins loaded with --clean
Christian Brabandt <cb@256bit.org>
parents:
11764
diff
changeset
|
2 void set_init_1(int clean_arg); |
24912
02fa8d72e4e3
patch 8.2.2993: 'fileencodings' default value should depend on 'encoding'
Bram Moolenaar <Bram@vim.org>
parents:
23422
diff
changeset
|
3 void set_fencs_unicode(void); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6243
diff
changeset
|
4 void set_string_default(char *name, char_u *val); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6243
diff
changeset
|
5 void set_number_default(char *name, long val); |
17845
b6acc24df7de
patch 8.1.1919: using window options when passing a buffer to popup_create()
Bram Moolenaar <Bram@vim.org>
parents:
17789
diff
changeset
|
6 void set_local_options_default(win_T *wp, int do_buffer); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6243
diff
changeset
|
7 void free_all_options(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6243
diff
changeset
|
8 void set_init_2(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6243
diff
changeset
|
9 void set_init_3(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6243
diff
changeset
|
10 void set_helplang_default(char_u *lang); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6243
diff
changeset
|
11 void set_title_defaults(void); |
19137
69f0e9b5c107
patch 8.2.0128: cannot list options one per line
Bram Moolenaar <Bram@vim.org>
parents:
18679
diff
changeset
|
12 void ex_set(exarg_T *eap); |
26175
6b4f017d7005
patch 8.2.3619: cannot use a lambda for 'operatorfunc'
Bram Moolenaar <Bram@vim.org>
parents:
25380
diff
changeset
|
13 int do_set(char_u *arg_start, int opt_flags); |
18100
df5778d73320
patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
17940
diff
changeset
|
14 void did_set_option(int opt_idx, int opt_flags, int new_value, int value_checked); |
11764
b82dad3fa176
patch 8.0.0764: 'termkey' does not work yet
Christian Brabandt <cb@256bit.org>
parents:
9858
diff
changeset
|
15 int string_to_key(char_u *arg, int multi_byte); |
18100
df5778d73320
patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
17940
diff
changeset
|
16 void did_set_title(void); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6243
diff
changeset
|
17 void set_options_bin(int oldval, int newval, int opt_flags); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6243
diff
changeset
|
18 void check_options(void); |
14867
cf4d6489c9eb
patch 8.1.0445: setting 'term' does not store location for termcap options
Christian Brabandt <cb@256bit.org>
parents:
14748
diff
changeset
|
19 int get_term_opt_idx(char_u **p); |
cf4d6489c9eb
patch 8.1.0445: setting 'term' does not store location for termcap options
Christian Brabandt <cb@256bit.org>
parents:
14748
diff
changeset
|
20 int set_term_option_alloced(char_u **p); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6243
diff
changeset
|
21 int was_set_insecurely(char_u *opt, int opt_flags); |
18100
df5778d73320
patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
17940
diff
changeset
|
22 void redraw_titles(void); |
17940
079e10a49ea1
patch 8.1.1966: some code in options.c fits better elsewhere
Bram Moolenaar <Bram@vim.org>
parents:
17845
diff
changeset
|
23 int valid_name(char_u *val, char *allowed); |
18100
df5778d73320
patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
17940
diff
changeset
|
24 void set_option_sctx_idx(int opt_idx, int opt_flags, sctx_T script_ctx); |
27303
9e0ac05f579a
patch 8.2.4180: 'balloonexpr' is evaluated in the current script context
Bram Moolenaar <Bram@vim.org>
parents:
27128
diff
changeset
|
25 sctx_T *get_option_sctx(char *name); |
14867
cf4d6489c9eb
patch 8.1.0445: setting 'term' does not store location for termcap options
Christian Brabandt <cb@256bit.org>
parents:
14748
diff
changeset
|
26 void set_term_option_sctx_idx(char *name, int opt_idx); |
31996
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
27 char *did_set_compatible(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
28 char *did_set_langremap(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
29 char *did_set_langnoremap(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
30 char *did_set_undofile(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
31 char *did_set_readonly(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
32 char *did_set_mousehide(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
33 char *did_set_modifiable(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
34 char *did_set_eof_eol_fixeol_bomb(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
35 char *did_set_binary(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
36 char *did_set_buflisted(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
37 char *did_set_swapfile(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
38 char *did_set_terse(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
39 char *did_set_paste(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
40 char *did_set_insertmode(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
41 char *did_set_ignorecase(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
42 char *did_set_hlsearch(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
43 char *did_set_scrollbind(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
44 char *did_set_previewwindow(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
45 char *did_set_smoothscroll(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
46 char *did_set_textmode(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
47 char *did_set_textauto(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
48 char *did_set_lisp(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
49 char *did_set_title_icon(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
50 char *did_set_modified(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
51 char *did_set_shellslash(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
52 char *did_set_wrap(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
53 char *did_set_equalalways(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
54 char *did_set_weirdinvert(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
55 char *did_set_ballooneval(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
56 char *did_set_balloonevalterm(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
57 char *did_set_autochdir(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
58 char *did_set_diff(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
59 char *did_set_imdisable(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
60 char *did_set_spell(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
61 char *did_set_arabic(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
62 char *did_set_number_relativenumber(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
63 char *did_set_termguicolors(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
64 char *did_set_winheight_helpheight(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
65 char *did_set_winminheight(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
66 char *did_set_winwidth(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
67 char *did_set_winminwidth(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
68 char *did_set_laststatus(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
69 char *did_set_showtabline(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
70 char *did_set_linespace(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
71 char *did_set_foldlevel(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
72 char *did_set_foldminlines(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
73 char *did_set_foldnestmax(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
74 char *did_set_foldcolumn(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
75 char *did_set_shiftwidth_tabstop(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
76 char *did_set_maxcombine(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
77 char *did_set_iminsert(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
78 char *did_set_imstyle(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
79 char *did_set_window(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
80 char *did_set_imsearch(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
81 char *did_set_titlelen(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
82 char *did_set_cmdheight(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
83 char *did_set_updatecount(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
84 char *did_set_conceallevel(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
85 char *did_set_pyxversion(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
86 char *did_set_numberwidth(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
87 char *did_set_textwidth(optset_T *args); |
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
88 char *did_set_undolevels(optset_T *args); |
18100
df5778d73320
patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
17940
diff
changeset
|
89 void check_redraw(long_u flags); |
df5778d73320
patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
17940
diff
changeset
|
90 int findoption(char_u *arg); |
26441
65ab0b035dd8
patch 8.2.3751: cannot assign a lambda to an option that takes a function
Bram Moolenaar <Bram@vim.org>
parents:
26175
diff
changeset
|
91 getoption_T get_option_value(char_u *name, long *numval, char_u **stringval, int *flagsp, int scope); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6243
diff
changeset
|
92 int get_option_value_strict(char_u *name, long *numval, char_u **stringval, int opt_type, void *from); |
18156
c81370b3ede4
patch 8.1.2073: when editing a buffer 'colorcolumn' may not work
Bram Moolenaar <Bram@vim.org>
parents:
18100
diff
changeset
|
93 char_u *option_iter_next(void **option, int opt_type); |
18100
df5778d73320
patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
17940
diff
changeset
|
94 long_u get_option_flags(int opt_idx); |
df5778d73320
patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
17940
diff
changeset
|
95 void set_option_flag(int opt_idx, long_u flag); |
df5778d73320
patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
17940
diff
changeset
|
96 void clear_option_flag(int opt_idx, long_u flag); |
df5778d73320
patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
17940
diff
changeset
|
97 int is_global_option(int opt_idx); |
df5778d73320
patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
17940
diff
changeset
|
98 int is_global_local_option(int opt_idx); |
df5778d73320
patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
17940
diff
changeset
|
99 int is_window_local_option(int opt_idx); |
df5778d73320
patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
17940
diff
changeset
|
100 int is_hidden_option(int opt_idx); |
df5778d73320
patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
17940
diff
changeset
|
101 int is_crypt_key_option(int opt_idx); |
15470
55ccc2d353bd
patch 8.1.0743: giving error messages is not flexible
Bram Moolenaar <Bram@vim.org>
parents:
15062
diff
changeset
|
102 char *set_option_value(char_u *name, long number, char_u *string, int opt_flags); |
28457
4dcccb2673fe
patch 8.2.4753: error from setting an option is silently ignored
Bram Moolenaar <Bram@vim.org>
parents:
27875
diff
changeset
|
103 void set_option_value_give_err(char_u *name, long number, char_u *string, int opt_flags); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6243
diff
changeset
|
104 char_u *get_term_code(char_u *tname); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6243
diff
changeset
|
105 char_u *get_highlight_default(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6243
diff
changeset
|
106 char_u *get_encoding_default(void); |
27855
44a552776007
patch 8.2.4453: :helpgrep may free an option that was not allocated
Bram Moolenaar <Bram@vim.org>
parents:
27303
diff
changeset
|
107 int is_option_allocated(char *name); |
29497
9908c07ccb56
patch 9.0.0090: no error when assigning bool to a string option
Bram Moolenaar <Bram@vim.org>
parents:
29310
diff
changeset
|
108 int is_string_option(char_u *name); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6243
diff
changeset
|
109 int makeset(FILE *fd, int opt_flags, int local_only); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6243
diff
changeset
|
110 int makefoldset(FILE *fd); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6243
diff
changeset
|
111 void clear_termoptions(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6243
diff
changeset
|
112 void free_termoptions(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6243
diff
changeset
|
113 void free_one_termoption(char_u *var); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6243
diff
changeset
|
114 void set_term_defaults(void); |
18100
df5778d73320
patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
17940
diff
changeset
|
115 int istermoption_idx(int opt_idx); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6243
diff
changeset
|
116 void unset_global_local_option(char_u *name, void *from); |
26441
65ab0b035dd8
patch 8.2.3751: cannot assign a lambda to an option that takes a function
Bram Moolenaar <Bram@vim.org>
parents:
26175
diff
changeset
|
117 char_u *get_option_varp_scope(int opt_idx, int scope); |
18100
df5778d73320
patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
17940
diff
changeset
|
118 char_u *get_option_var(int opt_idx); |
df5778d73320
patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
17940
diff
changeset
|
119 char_u *get_option_fullname(int opt_idx); |
31996
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
120 opt_did_set_cb_T get_option_did_set_cb(int opt_idx); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6243
diff
changeset
|
121 char_u *get_equalprg(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6243
diff
changeset
|
122 void win_copy_options(win_T *wp_from, win_T *wp_to); |
18156
c81370b3ede4
patch 8.1.2073: when editing a buffer 'colorcolumn' may not work
Bram Moolenaar <Bram@vim.org>
parents:
18100
diff
changeset
|
123 void after_copy_winopt(win_T *wp); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6243
diff
changeset
|
124 void copy_winopt(winopt_T *from, winopt_T *to); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6243
diff
changeset
|
125 void clear_winopt(winopt_T *wop); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6243
diff
changeset
|
126 void buf_copy_options(buf_T *buf, int flags); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6243
diff
changeset
|
127 void reset_modifiable(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6243
diff
changeset
|
128 void set_iminsert_global(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6243
diff
changeset
|
129 void set_imsearch_global(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6243
diff
changeset
|
130 void set_context_in_set_cmd(expand_T *xp, char_u *arg, int opt_flags); |
29310
f103da6ba95f
patch 8.2.5171: dependencies and proto files are outdated
Bram Moolenaar <Bram@vim.org>
parents:
28786
diff
changeset
|
131 int ExpandSettings(expand_T *xp, regmatch_T *regmatch, char_u *fuzzystr, int *numMatches, char_u ***matches, int can_fuzzy); |
31819
aec031683d61
patch 9.0.1242: code for :runtime completion is not consistent
Bram Moolenaar <Bram@vim.org>
parents:
29497
diff
changeset
|
132 int ExpandOldSetting(int *numMatches, char_u ***matches); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6243
diff
changeset
|
133 int shortmess(int x); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6243
diff
changeset
|
134 void vimrc_found(char_u *fname, char_u *envname); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6243
diff
changeset
|
135 void change_compatible(int on); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6243
diff
changeset
|
136 int option_was_set(char_u *name); |
14748
00da090af0ab
patch 8.1.0386: cannot test with non-default option value
Christian Brabandt <cb@256bit.org>
parents:
14736
diff
changeset
|
137 int reset_option_was_set(char_u *name); |
31996
ca6bc7c04163
patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents:
31819
diff
changeset
|
138 char *did_set_breakat(optset_T *args); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6243
diff
changeset
|
139 int can_bs(int what); |
15713
ad8b2c109b22
patch 8.1.0864: cannot have a local value for 'scrolloff' and 'sidescrolloff'
Bram Moolenaar <Bram@vim.org>
parents:
15470
diff
changeset
|
140 long get_scrolloff_value(void); |
ad8b2c109b22
patch 8.1.0864: cannot have a local value for 'scrolloff' and 'sidescrolloff'
Bram Moolenaar <Bram@vim.org>
parents:
15470
diff
changeset
|
141 long get_sidescrolloff_value(void); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6243
diff
changeset
|
142 unsigned int get_bkc_value(buf_T *buf); |
27128
164d59ddd48a
patch 8.2.4093: cached breakindent values not initialized properly
Bram Moolenaar <Bram@vim.org>
parents:
26441
diff
changeset
|
143 char_u *get_flp_value(buf_T *buf); |
25380
ac88cd21ae88
patch 8.2.3227: 'virtualedit' can only be set globally
Bram Moolenaar <Bram@vim.org>
parents:
24912
diff
changeset
|
144 unsigned int get_ve_flags(void); |
18574
8b0114ffde2b
patch 8.1.2281: 'showbreak' cannot be set for one window
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
145 char_u *get_showbreak_value(win_T *win); |
9858
3e96d9ed2ca1
commit https://github.com/vim/vim/commit/b5ae48e9ffd3b8eb6ca4057de11f1bddcde8ce6f
Christian Brabandt <cb@256bit.org>
parents:
9852
diff
changeset
|
146 dict_T *get_winbuf_options(int bufopt); |
18100
df5778d73320
patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
17940
diff
changeset
|
147 int fill_culopt_flags(char_u *val, win_T *wp); |
23272
a84e7abb0c92
patch 8.2.2182: Vim9: value of 'magic' is still relevant
Bram Moolenaar <Bram@vim.org>
parents:
20237
diff
changeset
|
148 int magic_isset(void); |
26175
6b4f017d7005
patch 8.2.3619: cannot use a lambda for 'operatorfunc'
Bram Moolenaar <Bram@vim.org>
parents:
25380
diff
changeset
|
149 int option_set_callback_func(char_u *optval, callback_T *optcb); |
7 | 150 /* vim: set ft=c : */ |