Mercurial > vim
annotate runtime/optwin.vim @ 29508:10d69d910f49
Added tag v9.0.0095 for changeset d3058719eff5258c51e381e76e672109507ac091
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 27 Jul 2022 17:00:05 +0200 |
parents | 6dd88e45d47d |
children | bc8ad1c28b51 |
rev | line source |
---|---|
7 | 1 " These commands create the option window. |
2 " | |
3 " Maintainer: Bram Moolenaar <Bram@vim.org> | |
28379 | 4 " Last Change: 2022 Apr 07 |
7 | 5 |
6 " If there already is an option window, jump to that one. | |
12039
84066f043ab9
patch 8.0.0900: :tab options doesn't open a new tab page
Christian Brabandt <cb@256bit.org>
parents:
11914
diff
changeset
|
7 let buf = bufnr('option-window') |
84066f043ab9
patch 8.0.0900: :tab options doesn't open a new tab page
Christian Brabandt <cb@256bit.org>
parents:
11914
diff
changeset
|
8 if buf >= 0 |
84066f043ab9
patch 8.0.0900: :tab options doesn't open a new tab page
Christian Brabandt <cb@256bit.org>
parents:
11914
diff
changeset
|
9 let winids = win_findbuf(buf) |
84066f043ab9
patch 8.0.0900: :tab options doesn't open a new tab page
Christian Brabandt <cb@256bit.org>
parents:
11914
diff
changeset
|
10 if len(winids) > 0 |
84066f043ab9
patch 8.0.0900: :tab options doesn't open a new tab page
Christian Brabandt <cb@256bit.org>
parents:
11914
diff
changeset
|
11 if win_gotoid(winids[0]) == 1 |
7 | 12 finish |
13 endif | |
12039
84066f043ab9
patch 8.0.0900: :tab options doesn't open a new tab page
Christian Brabandt <cb@256bit.org>
parents:
11914
diff
changeset
|
14 endif |
7 | 15 endif |
16 | |
17 " Make sure the '<' flag is not included in 'cpoptions', otherwise <CR> would | |
18 " not be recognized. See ":help 'cpoptions'". | |
19 let s:cpo_save = &cpo | |
20 set cpo&vim | |
21 | |
22 " function to be called when <CR> is hit in the option-window | |
22206
5251a6592aaa
patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents:
22186
diff
changeset
|
23 func <SID>CR() |
7 | 24 |
25 " If on a continued comment line, go back to the first comment line | |
2908 | 26 let lnum = search("^[^\t]", 'bWcn') |
7 | 27 let line = getline(lnum) |
28 | |
29 " <CR> on a "set" line executes the option line | |
30 if match(line, "^ \tset ") >= 0 | |
31 | |
32 " For a local option: go to the previous window | |
33 " If this is a help window, go to the window below it | |
34 let thiswin = winnr() | |
35 let local = <SID>Find(lnum) | |
36 if local >= 0 | |
37 exe line | |
38 call <SID>Update(lnum, line, local, thiswin) | |
39 endif | |
40 | |
41 " <CR> on a "option" line shows help for that option | |
42 elseif match(line, "^[a-z]") >= 0 | |
43 let name = substitute(line, '\([^\t]*\).*', '\1', "") | |
44 exe "help '" . name . "'" | |
45 | |
46 " <CR> on an index line jumps to the group | |
47 elseif match(line, '^ \=[0-9]') >= 0 | |
48 exe "norm! /" . line . "\<CR>zt" | |
49 endif | |
22206
5251a6592aaa
patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents:
22186
diff
changeset
|
50 endfunc |
7 | 51 |
52 " function to be called when <Space> is hit in the option-window | |
22206
5251a6592aaa
patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents:
22186
diff
changeset
|
53 func <SID>Space() |
7 | 54 |
55 let lnum = line(".") | |
56 let line = getline(lnum) | |
57 | |
58 " <Space> on a "set" line refreshes the option line | |
59 if match(line, "^ \tset ") >= 0 | |
60 | |
61 " For a local option: go to the previous window | |
62 " If this is a help window, go to the window below it | |
63 let thiswin = winnr() | |
64 let local = <SID>Find(lnum) | |
65 if local >= 0 | |
66 call <SID>Update(lnum, line, local, thiswin) | |
67 endif | |
68 | |
69 endif | |
22206
5251a6592aaa
patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents:
22186
diff
changeset
|
70 endfunc |
7 | 71 |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
72 let s:local_to_window = gettext('(local to window)') |
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
73 let s:local_to_buffer = gettext('(local to buffer)') |
22335
8e535ffc8a38
patch 8.2.1716: options window has duplicate translations
Bram Moolenaar <Bram@vim.org>
parents:
22228
diff
changeset
|
74 let s:global_or_local = gettext('(global or local to buffer)') |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
75 |
7 | 76 " find the window in which the option applies |
77 " returns 0 for global option, 1 for local option, -1 for error | |
22206
5251a6592aaa
patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents:
22186
diff
changeset
|
78 func <SID>Find(lnum) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
79 let line = getline(a:lnum - 1) |
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
80 if line =~ s:local_to_window || line =~ s:local_to_buffer |
7 | 81 let local = 1 |
82 let thiswin = winnr() | |
2908 | 83 wincmd p |
7 | 84 if exists("b:current_syntax") && b:current_syntax == "help" |
2908 | 85 wincmd j |
7 | 86 if winnr() == thiswin |
2908 | 87 wincmd j |
7 | 88 endif |
89 endif | |
90 else | |
91 let local = 0 | |
92 endif | |
93 if local && (winnr() == thiswin || (exists("b:current_syntax") | |
94 \ && b:current_syntax == "help")) | |
95 echo "Don't know in which window" | |
96 let local = -1 | |
97 endif | |
98 return local | |
22206
5251a6592aaa
patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents:
22186
diff
changeset
|
99 endfunc |
7 | 100 |
101 " Update a "set" line in the option window | |
22206
5251a6592aaa
patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents:
22186
diff
changeset
|
102 func <SID>Update(lnum, line, local, thiswin) |
7 | 103 " get the new value of the option and update the option window line |
104 if match(a:line, "=") >= 0 | |
105 let name = substitute(a:line, '^ \tset \([^=]*\)=.*', '\1', "") | |
106 else | |
107 let name = substitute(a:line, '^ \tset \(no\)\=\([a-z]*\).*', '\2', "") | |
108 endif | |
109 if name == "pt" && &pt =~ "\x80" | |
110 let val = <SID>PTvalue() | |
111 else | |
2908 | 112 let val = escape(eval('&' . name), " \t\\\"|") |
7 | 113 endif |
114 if a:local | |
2908 | 115 exe a:thiswin . "wincmd w" |
7 | 116 endif |
117 if match(a:line, "=") >= 0 || (val != "0" && val != "1") | |
118 call setline(a:lnum, " \tset " . name . "=" . val) | |
119 else | |
120 if val | |
121 call setline(a:lnum, " \tset " . name . "\tno" . name) | |
122 else | |
123 call setline(a:lnum, " \tset no" . name . "\t" . name) | |
124 endif | |
125 endif | |
126 set nomodified | |
22206
5251a6592aaa
patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents:
22186
diff
changeset
|
127 endfunc |
7 | 128 |
129 " Reset 'title' and 'icon' to make it work faster. | |
13346
4dbf2a6972e6
patch 8.0.1547: undo in the options window makes it empty
Christian Brabandt <cb@256bit.org>
parents:
13341
diff
changeset
|
130 " Reset 'undolevels' to avoid undo'ing until the buffer is empty. |
7 | 131 let s:old_title = &title |
132 let s:old_icon = &icon | |
133 let s:old_sc = &sc | |
134 let s:old_ru = &ru | |
13346
4dbf2a6972e6
patch 8.0.1547: undo in the options window makes it empty
Christian Brabandt <cb@256bit.org>
parents:
13341
diff
changeset
|
135 let s:old_ul = &ul |
4dbf2a6972e6
patch 8.0.1547: undo in the options window makes it empty
Christian Brabandt <cb@256bit.org>
parents:
13341
diff
changeset
|
136 set notitle noicon nosc noru ul=-1 |
7 | 137 |
138 " If the current window is a help window, try finding a non-help window. | |
139 " Relies on syntax highlighting to be switched on. | |
140 let s:thiswin = winnr() | |
141 while exists("b:current_syntax") && b:current_syntax == "help" | |
2908 | 142 wincmd w |
7 | 143 if s:thiswin == winnr() |
144 break | |
145 endif | |
146 endwhile | |
147 | |
12039
84066f043ab9
patch 8.0.0900: :tab options doesn't open a new tab page
Christian Brabandt <cb@256bit.org>
parents:
11914
diff
changeset
|
148 " Open the window. $OPTWIN_CMD is set to "tab" for ":tab options". |
84066f043ab9
patch 8.0.0900: :tab options doesn't open a new tab page
Christian Brabandt <cb@256bit.org>
parents:
11914
diff
changeset
|
149 exe $OPTWIN_CMD . ' new option-window' |
2908 | 150 setlocal ts=15 tw=0 noro buftype=nofile |
7 | 151 |
152 " Insert help and a "set" command for each option. | |
21989
52e970719f4b
patch 8.2.1544: cannot translate messages in a Vim script
Bram Moolenaar <Bram@vim.org>
parents:
20856
diff
changeset
|
153 call append(0, gettext('" Each "set" line shows the current value of an option (on the left).')) |
52e970719f4b
patch 8.2.1544: cannot translate messages in a Vim script
Bram Moolenaar <Bram@vim.org>
parents:
20856
diff
changeset
|
154 call append(1, gettext('" Hit <Enter> on a "set" line to execute it.')) |
52e970719f4b
patch 8.2.1544: cannot translate messages in a Vim script
Bram Moolenaar <Bram@vim.org>
parents:
20856
diff
changeset
|
155 call append(2, gettext('" A boolean option will be toggled.')) |
52e970719f4b
patch 8.2.1544: cannot translate messages in a Vim script
Bram Moolenaar <Bram@vim.org>
parents:
20856
diff
changeset
|
156 call append(3, gettext('" For other options you can edit the value before hitting <Enter>.')) |
52e970719f4b
patch 8.2.1544: cannot translate messages in a Vim script
Bram Moolenaar <Bram@vim.org>
parents:
20856
diff
changeset
|
157 call append(4, gettext('" Hit <Enter> on a help line to open a help window on this option.')) |
52e970719f4b
patch 8.2.1544: cannot translate messages in a Vim script
Bram Moolenaar <Bram@vim.org>
parents:
20856
diff
changeset
|
158 call append(5, gettext('" Hit <Enter> on an index line to jump there.')) |
52e970719f4b
patch 8.2.1544: cannot translate messages in a Vim script
Bram Moolenaar <Bram@vim.org>
parents:
20856
diff
changeset
|
159 call append(6, gettext('" Hit <Space> on a "set" line to refresh it.')) |
7 | 160 |
161 " These functions are called often below. Keep them fast! | |
162 | |
22206
5251a6592aaa
patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents:
22186
diff
changeset
|
163 " Add an option name and explanation. The text can contain "\n" characters |
5251a6592aaa
patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents:
22186
diff
changeset
|
164 " where a line break is to be inserted. |
5251a6592aaa
patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents:
22186
diff
changeset
|
165 func <SID>AddOption(name, text) |
5251a6592aaa
patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents:
22186
diff
changeset
|
166 let lines = split(a:text, "\n") |
5251a6592aaa
patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents:
22186
diff
changeset
|
167 call append("$", a:name .. "\t" .. lines[0]) |
5251a6592aaa
patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents:
22186
diff
changeset
|
168 for line in lines[1:] |
5251a6592aaa
patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents:
22186
diff
changeset
|
169 call append("$", "\t" .. line) |
5251a6592aaa
patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents:
22186
diff
changeset
|
170 endfor |
5251a6592aaa
patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents:
22186
diff
changeset
|
171 endfunc |
5251a6592aaa
patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents:
22186
diff
changeset
|
172 |
7 | 173 " Init a local binary option |
22206
5251a6592aaa
patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents:
22186
diff
changeset
|
174 func <SID>BinOptionL(name) |
2908 | 175 let val = getwinvar(winnr('#'), '&' . a:name) |
7 | 176 call append("$", substitute(substitute(" \tset " . val . a:name . "\t" . |
177 \!val . a:name, "0", "no", ""), "1", "", "")) | |
22206
5251a6592aaa
patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents:
22186
diff
changeset
|
178 endfunc |
7 | 179 |
180 " Init a global binary option | |
22206
5251a6592aaa
patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents:
22186
diff
changeset
|
181 func <SID>BinOptionG(name, val) |
7 | 182 call append("$", substitute(substitute(" \tset " . a:val . a:name . "\t" . |
183 \!a:val . a:name, "0", "no", ""), "1", "", "")) | |
22206
5251a6592aaa
patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents:
22186
diff
changeset
|
184 endfunc |
7 | 185 |
186 " Init a local string option | |
22206
5251a6592aaa
patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents:
22186
diff
changeset
|
187 func <SID>OptionL(name) |
2908 | 188 let val = escape(getwinvar(winnr('#'), '&' . a:name), " \t\\\"|") |
7 | 189 call append("$", " \tset " . a:name . "=" . val) |
22206
5251a6592aaa
patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents:
22186
diff
changeset
|
190 endfunc |
7 | 191 |
192 " Init a global string option | |
22206
5251a6592aaa
patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents:
22186
diff
changeset
|
193 func <SID>OptionG(name, val) |
2908 | 194 call append("$", " \tset " . a:name . "=" . escape(a:val, " \t\\\"|")) |
22206
5251a6592aaa
patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents:
22186
diff
changeset
|
195 endfunc |
7 | 196 |
197 let s:idx = 1 | |
198 let s:lnum = line("$") | |
199 call append("$", "") | |
200 | |
22206
5251a6592aaa
patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents:
22186
diff
changeset
|
201 func <SID>Header(text) |
7 | 202 let line = s:idx . " " . a:text |
203 if s:idx < 10 | |
204 let line = " " . line | |
205 endif | |
206 call append("$", "") | |
207 call append("$", line) | |
208 call append("$", "") | |
209 call append(s:lnum, line) | |
210 let s:idx = s:idx + 1 | |
211 let s:lnum = s:lnum + 1 | |
22206
5251a6592aaa
patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents:
22186
diff
changeset
|
212 endfunc |
7 | 213 |
214 " Get the value of 'pastetoggle'. It could be a special key. | |
22206
5251a6592aaa
patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents:
22186
diff
changeset
|
215 func <SID>PTvalue() |
7 | 216 redir @a |
217 silent set pt | |
218 redir END | |
219 return substitute(@a, '[^=]*=\(.*\)', '\1', "") | |
22206
5251a6592aaa
patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents:
22186
diff
changeset
|
220 endfunc |
7 | 221 |
222 " Restore the previous value of 'cpoptions' here, it's used below. | |
223 let &cpo = s:cpo_save | |
224 | |
225 " List of all options, organized by function. | |
226 " The text should be sufficient to know what the option is used for. | |
227 | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
228 call <SID>Header(gettext("important")) |
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
229 call <SID>AddOption("compatible", gettext("behave very Vi compatible (not advisable)")) |
7 | 230 call <SID>BinOptionG("cp", &cp) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
231 call <SID>AddOption("cpoptions", gettext("list of flags to specify Vi compatibility")) |
7 | 232 call <SID>OptionG("cpo", &cpo) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
233 call <SID>AddOption("insertmode", gettext("use Insert mode as the default mode")) |
7 | 234 call <SID>BinOptionG("im", &im) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
235 call <SID>AddOption("paste", gettext("paste mode, insert typed text literally")) |
7 | 236 call <SID>BinOptionG("paste", &paste) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
237 call <SID>AddOption("pastetoggle", gettext("key sequence to toggle paste mode")) |
7 | 238 if &pt =~ "\x80" |
239 call append("$", " \tset pt=" . <SID>PTvalue()) | |
240 else | |
241 call <SID>OptionG("pt", &pt) | |
242 endif | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
243 call <SID>AddOption("runtimepath", gettext("list of directories used for runtime files and plugins")) |
7 | 244 call <SID>OptionG("rtp", &rtp) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
245 call <SID>AddOption("packpath", gettext("list of directories used for plugin packages")) |
8182
95d59081580f
commit https://github.com/vim/vim/commit/f6fee0e2d4341c0c2f5339c1268e5877fafd07cf
Christian Brabandt <cb@256bit.org>
parents:
7538
diff
changeset
|
246 call <SID>OptionG("pp", &pp) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
247 call <SID>AddOption("helpfile", gettext("name of the main help file")) |
7 | 248 call <SID>OptionG("hf", &hf) |
249 | |
250 | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
251 call <SID>Header(gettext("moving around, searching and patterns")) |
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
252 call <SID>AddOption("whichwrap", gettext("list of flags specifying which commands wrap to another line")) |
22186
7bbd111ee556
patch 8.2.1642: otions test fails
Bram Moolenaar <Bram@vim.org>
parents:
22180
diff
changeset
|
253 call <SID>OptionG("ww", &ww) |
22206
5251a6592aaa
patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents:
22186
diff
changeset
|
254 call <SID>AddOption("startofline", gettext("many jump commands move the cursor to the first non-blank\ncharacter of a line")) |
7 | 255 call <SID>BinOptionG("sol", &sol) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
256 call <SID>AddOption("paragraphs", gettext("nroff macro names that separate paragraphs")) |
7 | 257 call <SID>OptionG("para", ¶) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
258 call <SID>AddOption("sections", gettext("nroff macro names that separate sections")) |
7 | 259 call <SID>OptionG("sect", §) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
260 call <SID>AddOption("path", gettext("list of directory names used for file searching")) |
22335
8e535ffc8a38
patch 8.2.1716: options window has duplicate translations
Bram Moolenaar <Bram@vim.org>
parents:
22228
diff
changeset
|
261 call append("$", "\t" .. s:global_or_local) |
7 | 262 call <SID>OptionG("pa", &pa) |
26591 | 263 call <SID>AddOption("cdhome", gettext(":cd without argument goes to the home directory")) |
264 call <SID>BinOptionG("cdh", &cdh) | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
265 call <SID>AddOption("cdpath", gettext("list of directory names used for :cd")) |
7 | 266 call <SID>OptionG("cd", &cd) |
2385
295d53417fc3
Fix 'autochdir' not showing up in :options window. (Dominique Pelle)
Bram Moolenaar <bram@vim.org>
parents:
2341
diff
changeset
|
267 if exists("+autochdir") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
268 call <SID>AddOption("autochdir", gettext("change to directory of file in buffer")) |
7 | 269 call <SID>BinOptionG("acd", &acd) |
270 endif | |
24268
9257f3980f4a
patch 8.2.2675: directory change in a terminal window shell is not followed
Bram Moolenaar <Bram@vim.org>
parents:
22824
diff
changeset
|
271 call <SID>AddOption("autoshelldir", gettext("change to pwd of shell in terminal buffer")) |
9257f3980f4a
patch 8.2.2675: directory change in a terminal window shell is not followed
Bram Moolenaar <Bram@vim.org>
parents:
22824
diff
changeset
|
272 call <SID>BinOptionG("asd", &asd) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
273 call <SID>AddOption("wrapscan", gettext("search commands wrap around the end of the buffer")) |
7 | 274 call <SID>BinOptionG("ws", &ws) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
275 call <SID>AddOption("incsearch", gettext("show match for partly typed search command")) |
7 | 276 call <SID>BinOptionG("is", &is) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
277 call <SID>AddOption("magic", gettext("change the way backslashes are used in search patterns")) |
7 | 278 call <SID>BinOptionG("magic", &magic) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
279 call <SID>AddOption("regexpengine", gettext("select the default regexp engine used")) |
4502
605c9ce57ec3
Updated runtime files, language files and translations.
Bram Moolenaar <bram@vim.org>
parents:
4254
diff
changeset
|
280 call <SID>OptionG("re", &re) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
281 call <SID>AddOption("ignorecase", gettext("ignore case when using a search pattern")) |
7 | 282 call <SID>BinOptionG("ic", &ic) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
283 call <SID>AddOption("smartcase", gettext("override 'ignorecase' when pattern has upper case characters")) |
7 | 284 call <SID>BinOptionG("scs", &scs) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
285 call <SID>AddOption("casemap", gettext("what method to use for changing case of letters")) |
7 | 286 call <SID>OptionG("cmp", &cmp) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
287 call <SID>AddOption("maxmempattern", gettext("maximum amount of memory in Kbyte used for pattern matching")) |
184 | 288 call append("$", " \tset mmp=" . &mmp) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
289 call <SID>AddOption("define", gettext("pattern for a macro definition line")) |
22335
8e535ffc8a38
patch 8.2.1716: options window has duplicate translations
Bram Moolenaar <Bram@vim.org>
parents:
22228
diff
changeset
|
290 call append("$", "\t" .. s:global_or_local) |
7 | 291 call <SID>OptionG("def", &def) |
292 if has("find_in_path") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
293 call <SID>AddOption("include", gettext("pattern for an include-file line")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
294 call append("$", "\t" .. s:local_to_buffer) |
7 | 295 call <SID>OptionL("inc") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
296 call <SID>AddOption("includeexpr", gettext("expression used to transform an include line to a file name")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
297 call append("$", "\t" .. s:local_to_buffer) |
7 | 298 call <SID>OptionL("inex") |
299 endif | |
300 | |
301 | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
302 call <SID>Header(gettext("tags")) |
22206
5251a6592aaa
patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents:
22186
diff
changeset
|
303 call <SID>AddOption("tagbsearch", gettext("use binary searching in tags files")) |
7 | 304 call <SID>BinOptionG("tbs", &tbs) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
305 call <SID>AddOption("taglength", gettext("number of significant characters in a tag name or zero")) |
7 | 306 call append("$", " \tset tl=" . &tl) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
307 call <SID>AddOption("tags", gettext("list of file names to search for tags")) |
22335
8e535ffc8a38
patch 8.2.1716: options window has duplicate translations
Bram Moolenaar <Bram@vim.org>
parents:
22228
diff
changeset
|
308 call append("$", "\t" .. s:global_or_local) |
7 | 309 call <SID>OptionG("tag", &tag) |
22206
5251a6592aaa
patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents:
22186
diff
changeset
|
310 call <SID>AddOption("tagcase", gettext("how to handle case when searching in tags files:\n\"followic\" to follow 'ignorecase', \"ignore\" or \"match\"")) |
22335
8e535ffc8a38
patch 8.2.1716: options window has duplicate translations
Bram Moolenaar <Bram@vim.org>
parents:
22228
diff
changeset
|
311 call append("$", "\t" .. s:global_or_local) |
7266
6ba7182fb7bd
commit https://github.com/vim/vim/commit/0f6562e9036f889185dff49a75c7fc5ffb28b307
Christian Brabandt <cb@256bit.org>
parents:
7222
diff
changeset
|
312 call <SID>OptionG("tc", &tc) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
313 call <SID>AddOption("tagrelative", gettext("file names in a tags file are relative to the tags file")) |
7 | 314 call <SID>BinOptionG("tr", &tr) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
315 call <SID>AddOption("tagstack", gettext("a :tag command will use the tagstack")) |
7 | 316 call <SID>BinOptionG("tgst", &tgst) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
317 call <SID>AddOption("showfulltag", gettext("when completing tags in Insert mode show more info")) |
7 | 318 call <SID>BinOptionG("sft", &sft) |
16447
54ffc82f38a8
patch 8.1.1228: not possible to process tags with a function
Bram Moolenaar <Bram@vim.org>
parents:
15870
diff
changeset
|
319 if has("eval") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
320 call <SID>AddOption("tagfunc", gettext("a function to be used to perform tag searches")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
321 call append("$", "\t" .. s:local_to_buffer) |
16447
54ffc82f38a8
patch 8.1.1228: not possible to process tags with a function
Bram Moolenaar <Bram@vim.org>
parents:
15870
diff
changeset
|
322 call <SID>OptionL("tfu") |
54ffc82f38a8
patch 8.1.1228: not possible to process tags with a function
Bram Moolenaar <Bram@vim.org>
parents:
15870
diff
changeset
|
323 endif |
7 | 324 if has("cscope") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
325 call <SID>AddOption("cscopeprg", gettext("command for executing cscope")) |
7 | 326 call <SID>OptionG("csprg", &csprg) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
327 call <SID>AddOption("cscopetag", gettext("use cscope for tag commands")) |
7 | 328 call <SID>BinOptionG("cst", &cst) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
329 call <SID>AddOption("cscopetagorder", gettext("0 or 1; the order in which \":cstag\" performs a search")) |
7 | 330 call append("$", " \tset csto=" . &csto) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
331 call <SID>AddOption("cscopeverbose", gettext("give messages when adding a cscope database")) |
7 | 332 call <SID>BinOptionG("csverb", &csverb) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
333 call <SID>AddOption("cscopepathcomp", gettext("how many components of the path to show")) |
7 | 334 call append("$", " \tset cspc=" . &cspc) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
335 call <SID>AddOption("cscopequickfix", gettext("when to open a quickfix window for cscope")) |
7 | 336 call <SID>OptionG("csqf", &csqf) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
337 call <SID>AddOption("cscoperelative", gettext("file names in a cscope file are relative to that file")) |
2908 | 338 call <SID>BinOptionG("csre", &csre) |
7 | 339 endif |
340 | |
341 | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
342 call <SID>Header(gettext("displaying text")) |
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
343 call <SID>AddOption("scroll", gettext("number of lines to scroll for CTRL-U and CTRL-D")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
344 call append("$", "\t" .. s:local_to_window) |
7 | 345 call <SID>OptionL("scr") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
346 call <SID>AddOption("scrolloff", gettext("number of screen lines to show around the cursor")) |
7 | 347 call append("$", " \tset so=" . &so) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
348 call <SID>AddOption("wrap", gettext("long lines wrap")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
349 call append("$", "\t" .. s:local_to_window) |
13946
c2312fc9fbfe
patch 8.0.1843: entry for 'wrap' in options window is wrong
Christian Brabandt <cb@256bit.org>
parents:
13857
diff
changeset
|
350 call <SID>BinOptionL("wrap") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
351 call <SID>AddOption("linebreak", gettext("wrap long lines at a character in 'breakat'")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
352 call append("$", "\t" .. s:local_to_window) |
7 | 353 call <SID>BinOptionL("lbr") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
354 call <SID>AddOption("breakindent", gettext("preserve indentation in wrapped text")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
355 call append("$", "\t" .. s:local_to_window) |
5995 | 356 call <SID>BinOptionL("bri") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
357 call <SID>AddOption("breakindentopt", gettext("adjust breakindent behaviour")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
358 call append("$", "\t" .. s:local_to_window) |
5995 | 359 call <SID>OptionL("briopt") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
360 call <SID>AddOption("breakat", gettext("which characters might cause a line break")) |
7 | 361 call <SID>OptionG("brk", &brk) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
362 call <SID>AddOption("showbreak", gettext("string to put before wrapped screen lines")) |
7 | 363 call <SID>OptionG("sbr", &sbr) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
364 call <SID>AddOption("sidescroll", gettext("minimal number of columns to scroll horizontally")) |
7 | 365 call append("$", " \tset ss=" . &ss) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
366 call <SID>AddOption("sidescrolloff", gettext("minimal number of columns to keep left and right of the cursor")) |
7 | 367 call append("$", " \tset siso=" . &siso) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
368 call <SID>AddOption("display", gettext("include \"lastline\" to show the last line even if it doesn't fit\ninclude \"uhex\" to show unprintable characters as a hex number")) |
7 | 369 call <SID>OptionG("dy", &dy) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
370 call <SID>AddOption("fillchars", gettext("characters to use for the status line, folds and filler lines")) |
7 | 371 call <SID>OptionG("fcs", &fcs) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
372 call <SID>AddOption("cmdheight", gettext("number of lines used for the command-line")) |
7 | 373 call append("$", " \tset ch=" . &ch) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
374 call <SID>AddOption("columns", gettext("width of the display")) |
7 | 375 call append("$", " \tset co=" . &co) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
376 call <SID>AddOption("lines", gettext("number of lines in the display")) |
7 | 377 call append("$", " \tset lines=" . &lines) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
378 call <SID>AddOption("window", gettext("number of lines to scroll for CTRL-F and CTRL-B")) |
2396
6d6d72521a9a
Add 'window' to the options window.
Bram Moolenaar <bram@vim.org>
parents:
2395
diff
changeset
|
379 call append("$", " \tset window=" . &window) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
380 call <SID>AddOption("lazyredraw", gettext("don't redraw while executing macros")) |
7 | 381 call <SID>BinOptionG("lz", &lz) |
1595 | 382 if has("reltime") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
383 call <SID>AddOption("redrawtime", gettext("timeout for 'hlsearch' and :match highlighting in msec")) |
1595 | 384 call append("$", " \tset rdt=" . &rdt) |
385 endif | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
386 call <SID>AddOption("writedelay", gettext("delay in msec for each char written to the display\n(for debugging)")) |
7 | 387 call append("$", " \tset wd=" . &wd) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
388 call <SID>AddOption("list", gettext("show <Tab> as ^I and end-of-line as $")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
389 call append("$", "\t" .. s:local_to_window) |
7 | 390 call <SID>BinOptionL("list") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
391 call <SID>AddOption("listchars", gettext("list of strings used for list mode")) |
7 | 392 call <SID>OptionG("lcs", &lcs) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
393 call <SID>AddOption("number", gettext("show the line number for each line")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
394 call append("$", "\t" .. s:local_to_window) |
7 | 395 call <SID>BinOptionL("nu") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
396 call <SID>AddOption("relativenumber", gettext("show the relative line number for each line")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
397 call append("$", "\t" .. s:local_to_window) |
2178
c6f1aa1e9f32
Add 'relativenumber' patch from Markus Heidelberg.
Bram Moolenaar <bram@vim.org>
parents:
1595
diff
changeset
|
398 call <SID>BinOptionL("rnu") |
13 | 399 if has("linebreak") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
400 call <SID>AddOption("numberwidth", gettext("number of columns to use for the line number")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
401 call append("$", "\t" .. s:local_to_window) |
13 | 402 call <SID>OptionL("nuw") |
403 endif | |
2250
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
404 if has("conceal") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
405 call <SID>AddOption("conceallevel", gettext("controls whether concealable text is hidden")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
406 call append("$", "\t" .. s:local_to_window) |
2385
295d53417fc3
Fix 'autochdir' not showing up in :options window. (Dominique Pelle)
Bram Moolenaar <bram@vim.org>
parents:
2341
diff
changeset
|
407 call <SID>OptionL("cole") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
408 call <SID>AddOption("concealcursor", gettext("modes in which text in the cursor line can be concealed")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
409 call append("$", "\t" .. s:local_to_window) |
2385
295d53417fc3
Fix 'autochdir' not showing up in :options window. (Dominique Pelle)
Bram Moolenaar <bram@vim.org>
parents:
2341
diff
changeset
|
410 call <SID>OptionL("cocu") |
2250
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
411 endif |
7 | 412 |
413 | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
414 call <SID>Header(gettext("syntax, highlighting and spelling")) |
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
415 call <SID>AddOption("background", gettext("\"dark\" or \"light\"; the background color brightness")) |
7 | 416 call <SID>OptionG("bg", &bg) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
417 call <SID>AddOption("filetype", gettext("type of file; triggers the FileType event when set")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
418 call append("$", "\t" .. s:local_to_buffer) |
15729 | 419 call <SID>OptionL("ft") |
7 | 420 if has("syntax") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
421 call <SID>AddOption("syntax", gettext("name of syntax highlighting used")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
422 call append("$", "\t" .. s:local_to_buffer) |
7 | 423 call <SID>OptionL("syn") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
424 call <SID>AddOption("synmaxcol", gettext("maximum column to look for syntax items")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
425 call append("$", "\t" .. s:local_to_buffer) |
409 | 426 call <SID>OptionL("smc") |
7 | 427 endif |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
428 call <SID>AddOption("highlight", gettext("which highlighting to use for various occasions")) |
7 | 429 call <SID>OptionG("hl", &hl) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
430 call <SID>AddOption("hlsearch", gettext("highlight all matches for the last used search pattern")) |
7 | 431 call <SID>BinOptionG("hls", &hls) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
432 call <SID>AddOption("wincolor", gettext("highlight group to use for the window")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
433 call append("$", "\t" .. s:local_to_window) |
16808 | 434 call <SID>OptionL("wcr") |
9046
057fb9d0191b
commit https://github.com/vim/vim/commit/8a24b794b89916c8074892e7b25121a21f1fa9c9
Christian Brabandt <cb@256bit.org>
parents:
9042
diff
changeset
|
435 if has("termguicolors") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
436 call <SID>AddOption("termguicolors", gettext("use GUI colors for the terminal")) |
9048
5bb5569bec60
commit https://github.com/vim/vim/commit/868cfc19bb079a16ca58884b551486566f35419b
Christian Brabandt <cb@256bit.org>
parents:
9046
diff
changeset
|
437 call <SID>BinOptionG("tgc", &tgc) |
9042
21bd2230c5cd
commit https://github.com/vim/vim/commit/8e3d1b6326c103cc92f8d07b1161ee5172acf201
Christian Brabandt <cb@256bit.org>
parents:
8962
diff
changeset
|
438 endif |
381 | 439 if has("syntax") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
440 call <SID>AddOption("cursorcolumn", gettext("highlight the screen column of the cursor")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
441 call append("$", "\t" .. s:local_to_window) |
737 | 442 call <SID>BinOptionL("cuc") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
443 call <SID>AddOption("cursorline", gettext("highlight the screen line of the cursor")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
444 call append("$", "\t" .. s:local_to_window) |
737 | 445 call <SID>BinOptionL("cul") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
446 call <SID>AddOption("cursorlineopt", gettext("specifies which area 'cursorline' highlights")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
447 call append("$", "\t" .. s:local_to_window) |
18047
6650e3dff8d4
patch 8.1.2019: 'cursorline' always highlights the whole line
Bram Moolenaar <Bram@vim.org>
parents:
17791
diff
changeset
|
448 call <SID>OptionL("culopt") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
449 call <SID>AddOption("colorcolumn", gettext("columns to highlight")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
450 call append("$", "\t" .. s:local_to_window) |
2341 | 451 call <SID>OptionL("cc") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
452 call <SID>AddOption("spell", gettext("highlight spelling mistakes")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
453 call append("$", "\t" .. s:local_to_window) |
381 | 454 call <SID>BinOptionL("spell") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
455 call <SID>AddOption("spelllang", gettext("list of accepted languages")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
456 call append("$", "\t" .. s:local_to_buffer) |
381 | 457 call <SID>OptionL("spl") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
458 call <SID>AddOption("spellfile", gettext("file that \"zg\" adds good words to")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
459 call append("$", "\t" .. s:local_to_buffer) |
381 | 460 call <SID>OptionL("spf") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
461 call <SID>AddOption("spellcapcheck", gettext("pattern to locate the end of a sentence")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
462 call append("$", "\t" .. s:local_to_buffer) |
393 | 463 call <SID>OptionL("spc") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
464 call <SID>AddOption("spelloptions", gettext("flags to change how spell checking works")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
465 call append("$", "\t" .. s:local_to_buffer) |
20856 | 466 call <SID>OptionL("spo") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
467 call <SID>AddOption("spellsuggest", gettext("methods used to suggest corrections")) |
381 | 468 call <SID>OptionG("sps", &sps) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
469 call <SID>AddOption("mkspellmem", gettext("amount of memory used by :mkspell before compressing")) |
500 | 470 call <SID>OptionG("msm", &msm) |
381 | 471 endif |
7 | 472 |
473 | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
474 call <SID>Header(gettext("multiple windows")) |
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
475 call <SID>AddOption("laststatus", gettext("0, 1 or 2; when to use a status line for the last window")) |
7 | 476 call append("$", " \tset ls=" . &ls) |
477 if has("statusline") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
478 call <SID>AddOption("statusline", gettext("alternate format to be used for a status line")) |
7 | 479 call <SID>OptionG("stl", &stl) |
480 endif | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
481 call <SID>AddOption("equalalways", gettext("make all windows the same size when adding/removing windows")) |
7 | 482 call <SID>BinOptionG("ea", &ea) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
483 call <SID>AddOption("eadirection", gettext("in which direction 'equalalways' works: \"ver\", \"hor\" or \"both\"")) |
15729 | 484 call <SID>OptionG("ead", &ead) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
485 call <SID>AddOption("winheight", gettext("minimal number of lines used for the current window")) |
7 | 486 call append("$", " \tset wh=" . &wh) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
487 call <SID>AddOption("winminheight", gettext("minimal number of lines used for any window")) |
7 | 488 call append("$", " \tset wmh=" . &wmh) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
489 call <SID>AddOption("winfixheight", gettext("keep the height of the window")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
490 call append("$", "\t" .. s:local_to_window) |
7 | 491 call <SID>BinOptionL("wfh") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
492 call <SID>AddOption("winfixwidth", gettext("keep the width of the window")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
493 call append("$", "\t" .. s:local_to_window) |
779 | 494 call <SID>BinOptionL("wfw") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
495 call <SID>AddOption("winwidth", gettext("minimal number of columns used for the current window")) |
15729 | 496 call append("$", " \tset wiw=" . &wiw) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
497 call <SID>AddOption("winminwidth", gettext("minimal number of columns used for any window")) |
15729 | 498 call append("$", " \tset wmw=" . &wmw) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
499 call <SID>AddOption("helpheight", gettext("initial height of the help window")) |
7 | 500 call append("$", " \tset hh=" . &hh) |
501 if has("quickfix") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
502 call <SID>AddOption("previewpopup", gettext("use a popup window for preview")) |
17433 | 503 call append("$", " \tset pvp=" . &pvp) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
504 call <SID>AddOption("previewheight", gettext("default height for the preview window")) |
7 | 505 call append("$", " \tset pvh=" . &pvh) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
506 call <SID>AddOption("previewwindow", gettext("identifies the preview window")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
507 call append("$", "\t" .. s:local_to_window) |
7 | 508 call <SID>BinOptionL("pvw") |
509 endif | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
510 call <SID>AddOption("hidden", gettext("don't unload a buffer when no longer shown in a window")) |
7 | 511 call <SID>BinOptionG("hid", &hid) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
512 call <SID>AddOption("switchbuf", gettext("\"useopen\" and/or \"split\"; which window to use when jumping\nto a buffer")) |
7 | 513 call <SID>OptionG("swb", &swb) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
514 call <SID>AddOption("splitbelow", gettext("a new window is put below the current one")) |
7 | 515 call <SID>BinOptionG("sb", &sb) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
516 call <SID>AddOption("splitright", gettext("a new window is put right of the current one")) |
15729 | 517 call <SID>BinOptionG("spr", &spr) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
518 call <SID>AddOption("scrollbind", gettext("this window scrolls together with other bound windows")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
519 call append("$", "\t" .. s:local_to_window) |
15729 | 520 call <SID>BinOptionL("scb") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
521 call <SID>AddOption("scrollopt", gettext("\"ver\", \"hor\" and/or \"jump\"; list of options for 'scrollbind'")) |
15729 | 522 call <SID>OptionG("sbo", &sbo) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
523 call <SID>AddOption("cursorbind", gettext("this window's cursor moves together with other bound windows")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
524 call append("$", "\t" .. s:local_to_window) |
15729 | 525 call <SID>BinOptionL("crb") |
11659
49c12c93abf3
Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents:
11077
diff
changeset
|
526 if has("terminal") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
527 call <SID>AddOption("termwinsize", gettext("size of a terminal window")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
528 call append("$", "\t" .. s:local_to_window) |
13742
a34b1323286c
patch 8.0.1743: terminal window options are named inconsistently
Christian Brabandt <cb@256bit.org>
parents:
13346
diff
changeset
|
529 call <SID>OptionL("tws") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
530 call <SID>AddOption("termwinkey", gettext("key that precedes Vim commands in a terminal window")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
531 call append("$", "\t" .. s:local_to_window) |
13742
a34b1323286c
patch 8.0.1743: terminal window options are named inconsistently
Christian Brabandt <cb@256bit.org>
parents:
13346
diff
changeset
|
532 call <SID>OptionL("twk") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
533 call <SID>AddOption("termwinscroll", gettext("max number of lines to keep for scrollback in a terminal window")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
534 call append("$", "\t" .. s:local_to_window) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
535 call <SID>OptionL("twsl") |
15746
c017195b121b
patch 8.1.0880: MS-Windows: inconsistent selection of winpty/conpty
Bram Moolenaar <Bram@vim.org>
parents:
15729
diff
changeset
|
536 if has('win32') |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
537 call <SID>AddOption("termwintype", gettext("type of pty to use for a terminal window")) |
15746
c017195b121b
patch 8.1.0880: MS-Windows: inconsistent selection of winpty/conpty
Bram Moolenaar <Bram@vim.org>
parents:
15729
diff
changeset
|
538 call <SID>OptionG("twt", &twt) |
c017195b121b
patch 8.1.0880: MS-Windows: inconsistent selection of winpty/conpty
Bram Moolenaar <Bram@vim.org>
parents:
15729
diff
changeset
|
539 endif |
12182
7e6185446ea6
patch 8.0.0971: 'winptydll' missing from :options
Christian Brabandt <cb@256bit.org>
parents:
12039
diff
changeset
|
540 if exists("&winptydll") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
541 call <SID>AddOption("winptydll", gettext("name of the winpty dynamic library")) |
12182
7e6185446ea6
patch 8.0.0971: 'winptydll' missing from :options
Christian Brabandt <cb@256bit.org>
parents:
12039
diff
changeset
|
542 call <SID>OptionG("winptydll", &winptydll) |
7e6185446ea6
patch 8.0.0971: 'winptydll' missing from :options
Christian Brabandt <cb@256bit.org>
parents:
12039
diff
changeset
|
543 endif |
11659
49c12c93abf3
Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents:
11077
diff
changeset
|
544 endif |
7 | 545 |
546 | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
547 call <SID>Header(gettext("multiple tab pages")) |
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
548 call <SID>AddOption("showtabline", gettext("0, 1 or 2; when to use a tab pages line")) |
714 | 549 call append("$", " \tset stal=" . &stal) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
550 call <SID>AddOption("tabpagemax", gettext("maximum number of tab pages to open for -p and \"tab all\"")) |
714 | 551 call append("$", " \tset tpm=" . &tpm) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
552 call <SID>AddOption("tabline", gettext("custom tab pages line")) |
714 | 553 call <SID>OptionG("tal", &tal) |
842 | 554 if has("gui") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
555 call <SID>AddOption("guitablabel", gettext("custom tab page label for the GUI")) |
842 | 556 call <SID>OptionG("gtl", >l) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
557 call <SID>AddOption("guitabtooltip", gettext("custom tab page tooltip for the GUI")) |
842 | 558 call <SID>OptionG("gtt", >t) |
559 endif | |
714 | 560 |
561 | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
562 call <SID>Header(gettext("terminal")) |
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
563 call <SID>AddOption("term", gettext("name of the used terminal")) |
7 | 564 call <SID>OptionG("term", &term) |
26670
a77b661439f9
patch 8.2.3864: cannot disable requesting key codes from xterm
Bram Moolenaar <Bram@vim.org>
parents:
26591
diff
changeset
|
565 |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
566 call <SID>AddOption("ttytype", gettext("alias for 'term'")) |
7 | 567 call <SID>OptionG("tty", &tty) |
26670
a77b661439f9
patch 8.2.3864: cannot disable requesting key codes from xterm
Bram Moolenaar <Bram@vim.org>
parents:
26591
diff
changeset
|
568 |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
569 call <SID>AddOption("ttybuiltin", gettext("check built-in termcaps first")) |
7 | 570 call <SID>BinOptionG("tbi", &tbi) |
26670
a77b661439f9
patch 8.2.3864: cannot disable requesting key codes from xterm
Bram Moolenaar <Bram@vim.org>
parents:
26591
diff
changeset
|
571 |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
572 call <SID>AddOption("ttyfast", gettext("terminal connection is fast")) |
7 | 573 call <SID>BinOptionG("tf", &tf) |
26670
a77b661439f9
patch 8.2.3864: cannot disable requesting key codes from xterm
Bram Moolenaar <Bram@vim.org>
parents:
26591
diff
changeset
|
574 |
a77b661439f9
patch 8.2.3864: cannot disable requesting key codes from xterm
Bram Moolenaar <Bram@vim.org>
parents:
26591
diff
changeset
|
575 call <SID>AddOption("xtermcodes", gettext("request terminal key codes when an xterm is detected")) |
a77b661439f9
patch 8.2.3864: cannot disable requesting key codes from xterm
Bram Moolenaar <Bram@vim.org>
parents:
26591
diff
changeset
|
576 call <SID>BinOptionG("xtermcodes", &xtermcodes) |
a77b661439f9
patch 8.2.3864: cannot disable requesting key codes from xterm
Bram Moolenaar <Bram@vim.org>
parents:
26591
diff
changeset
|
577 |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
578 call <SID>AddOption("weirdinvert", gettext("terminal that requires extra redrawing")) |
7 | 579 call <SID>BinOptionG("wiv", &wiv) |
26670
a77b661439f9
patch 8.2.3864: cannot disable requesting key codes from xterm
Bram Moolenaar <Bram@vim.org>
parents:
26591
diff
changeset
|
580 |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
581 call <SID>AddOption("esckeys", gettext("recognize keys that start with <Esc> in Insert mode")) |
7 | 582 call <SID>BinOptionG("ek", &ek) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
583 call <SID>AddOption("scrolljump", gettext("minimal number of lines to scroll at a time")) |
7 | 584 call append("$", " \tset sj=" . &sj) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
585 call <SID>AddOption("ttyscroll", gettext("maximum number of lines to use scrolling instead of redrawing")) |
7 | 586 call append("$", " \tset tsl=" . &tsl) |
9536
b2aada04d84e
commit https://github.com/vim/vim/commit/a06ecab7a5159e744448ace731036f0dc5f87dd4
Christian Brabandt <cb@256bit.org>
parents:
9048
diff
changeset
|
587 if has("gui") || has("win32") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
588 call <SID>AddOption("guicursor", gettext("specifies what the cursor looks like in different modes")) |
7 | 589 call <SID>OptionG("gcr", &gcr) |
590 endif | |
591 if has("title") | |
592 let &title = s:old_title | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
593 call <SID>AddOption("title", gettext("show info in the window title")) |
7 | 594 call <SID>BinOptionG("title", &title) |
595 set notitle | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
596 call <SID>AddOption("titlelen", gettext("percentage of 'columns' used for the window title")) |
7 | 597 call append("$", " \tset titlelen=" . &titlelen) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
598 call <SID>AddOption("titlestring", gettext("when not empty, string to be used for the window title")) |
7 | 599 call <SID>OptionG("titlestring", &titlestring) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
600 call <SID>AddOption("titleold", gettext("string to restore the title to when exiting Vim")) |
7 | 601 call <SID>OptionG("titleold", &titleold) |
602 let &icon = s:old_icon | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
603 call <SID>AddOption("icon", gettext("set the text of the icon for this window")) |
7 | 604 call <SID>BinOptionG("icon", &icon) |
605 set noicon | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
606 call <SID>AddOption("iconstring", gettext("when not empty, text for the icon of this window")) |
7 | 607 call <SID>OptionG("iconstring", &iconstring) |
608 endif | |
609 if has("win32") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
610 call <SID>AddOption("restorescreen", gettext("restore the screen contents when exiting Vim")) |
7 | 611 call <SID>BinOptionG("rs", &rs) |
612 endif | |
613 | |
614 | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
615 call <SID>Header(gettext("using the mouse")) |
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
616 call <SID>AddOption("mouse", gettext("list of flags for using the mouse")) |
7 | 617 call <SID>OptionG("mouse", &mouse) |
618 if has("gui") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
619 call <SID>AddOption("mousefocus", gettext("the window with the mouse pointer becomes the current one")) |
7 | 620 call <SID>BinOptionG("mousef", &mousef) |
18594 | 621 endif |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
622 call <SID>AddOption("scrollfocus", gettext("the window with the mouse pointer scrolls with the mouse wheel")) |
18594 | 623 call <SID>BinOptionG("scf", &scf) |
624 if has("gui") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
625 call <SID>AddOption("mousehide", gettext("hide the mouse pointer while typing")) |
7 | 626 call <SID>BinOptionG("mh", &mh) |
28353
8bc8071928ed
patch 8.2.4702: C++ scope labels are hard-coded
Bram Moolenaar <Bram@vim.org>
parents:
26708
diff
changeset
|
627 call <SID>AddOption("mousemoveevent", gettext("report mouse movement events")) |
8bc8071928ed
patch 8.2.4702: C++ scope labels are hard-coded
Bram Moolenaar <Bram@vim.org>
parents:
26708
diff
changeset
|
628 call <SID>BinOptionG("mousemev", &mousemev) |
7 | 629 endif |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
630 call <SID>AddOption("mousemodel", gettext("\"extend\", \"popup\" or \"popup_setpos\"; what the right\nmouse button is used for")) |
7 | 631 call <SID>OptionG("mousem", &mousem) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
632 call <SID>AddOption("mousetime", gettext("maximum time in msec to recognize a double-click")) |
7 | 633 call append("$", " \tset mouset=" . &mouset) |
22723 | 634 call <SID>AddOption("ttymouse", gettext("\"xterm\", \"xterm2\", \"sgr\", etc.; type of mouse")) |
7 | 635 call <SID>OptionG("ttym", &ttym) |
636 if has("mouseshape") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
637 call <SID>AddOption("mouseshape", gettext("what the mouse pointer looks like in different modes")) |
7 | 638 call <SID>OptionG("mouses", &mouses) |
639 endif | |
640 | |
641 | |
642 if has("gui") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
643 call <SID>Header(gettext("GUI")) |
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
644 call <SID>AddOption("guifont", gettext("list of font names to be used in the GUI")) |
7 | 645 call <SID>OptionG("gfn", &gfn) |
646 if has("xfontset") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
647 call <SID>AddOption("guifontset", gettext("pair of fonts to be used, for multibyte editing")) |
7 | 648 call <SID>OptionG("gfs", &gfs) |
649 endif | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
650 call <SID>AddOption("guifontwide", gettext("list of font names to be used for double-wide characters")) |
7 | 651 call <SID>OptionG("gfw", &gfw) |
652 if has("mac") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
653 call <SID>AddOption("antialias", gettext("use smooth, antialiased fonts")) |
7 | 654 call <SID>BinOptionG("anti", &anti) |
655 endif | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
656 call <SID>AddOption("guioptions", gettext("list of flags that specify how the GUI works")) |
7 | 657 call <SID>OptionG("go", &go) |
658 if has("gui_gtk") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
659 call <SID>AddOption("toolbar", gettext("\"icons\", \"text\" and/or \"tooltips\"; how to show the toolbar")) |
7 | 660 call <SID>OptionG("tb", &tb) |
661 if has("gui_gtk2") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
662 call <SID>AddOption("toolbariconsize", gettext("size of toolbar icons")) |
7 | 663 call <SID>OptionG("tbis", &tbis) |
664 endif | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
665 call <SID>AddOption("guiheadroom", gettext("room (in pixels) left above/below the window")) |
7 | 666 call append("$", " \tset ghr=" . &ghr) |
26100 | 667 call <SID>AddOption("guiligatures", gettext("list of ASCII characters that can be combined into complex shapes")) |
26050 | 668 call <SID>OptionG("gli", &gli) |
7 | 669 endif |
6153 | 670 if has("directx") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
671 call <SID>AddOption("renderoptions", gettext("options for text rendering")) |
6153 | 672 call <SID>OptionG("rop", &rop) |
673 endif | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
674 call <SID>AddOption("guipty", gettext("use a pseudo-tty for I/O to external commands")) |
7 | 675 call <SID>BinOptionG("guipty", &guipty) |
676 if has("browse") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
677 call <SID>AddOption("browsedir", gettext("\"last\", \"buffer\" or \"current\": which directory used for the file browser")) |
7 | 678 call <SID>OptionG("bsdir", &bsdir) |
679 endif | |
680 if has("multi_lang") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
681 call <SID>AddOption("langmenu", gettext("language to be used for the menus")) |
7 | 682 call <SID>OptionG("langmenu", &lm) |
683 endif | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
684 call <SID>AddOption("menuitems", gettext("maximum number of items in one menu")) |
7 | 685 call append("$", " \tset mis=" . &mis) |
686 if has("winaltkeys") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
687 call <SID>AddOption("winaltkeys", gettext("\"no\", \"yes\" or \"menu\"; how to use the ALT key")) |
7 | 688 call <SID>OptionG("wak", &wak) |
689 endif | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
690 call <SID>AddOption("linespace", gettext("number of pixel lines to use between characters")) |
7 | 691 call append("$", " \tset lsp=" . &lsp) |
12909 | 692 if has("balloon_eval") || has("balloon_eval_term") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
693 call <SID>AddOption("balloondelay", gettext("delay in milliseconds before a balloon may pop up")) |
7 | 694 call append("$", " \tset bdlay=" . &bdlay) |
12909 | 695 if has("balloon_eval") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
696 call <SID>AddOption("ballooneval", gettext("use balloon evaluation in the GUI")) |
12909 | 697 call <SID>BinOptionG("beval", &beval) |
698 endif | |
699 if has("balloon_eval_term") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
700 call <SID>AddOption("balloonevalterm", gettext("use balloon evaluation in the terminal")) |
12909 | 701 call <SID>BinOptionG("bevalterm", &beval) |
702 endif | |
184 | 703 if has("eval") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
704 call <SID>AddOption("balloonexpr", gettext("expression to show in balloon eval")) |
184 | 705 call append("$", " \tset bexpr=" . &bexpr) |
7 | 706 endif |
707 endif | |
708 endif | |
709 | |
710 if has("printer") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
711 call <SID>Header(gettext("printing")) |
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
712 call <SID>AddOption("printoptions", gettext("list of items that control the format of :hardcopy output")) |
15 | 713 call <SID>OptionG("popt", &popt) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
714 call <SID>AddOption("printdevice", gettext("name of the printer to be used for :hardcopy")) |
7 | 715 call <SID>OptionG("pdev", &pdev) |
15 | 716 if has("postscript") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
717 call <SID>AddOption("printexpr", gettext("expression used to print the PostScript file for :hardcopy")) |
15 | 718 call <SID>OptionG("pexpr", &pexpr) |
719 endif | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
720 call <SID>AddOption("printfont", gettext("name of the font to be used for :hardcopy")) |
7 | 721 call <SID>OptionG("pfn", &pfn) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
722 call <SID>AddOption("printheader", gettext("format of the header used for :hardcopy")) |
7 | 723 call <SID>OptionG("pheader", &pheader) |
15 | 724 if has("postscript") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
725 call <SID>AddOption("printencoding", gettext("encoding used to print the PostScript file for :hardcopy")) |
15 | 726 call <SID>OptionG("penc", &penc) |
727 endif | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
728 call <SID>AddOption("printmbcharset", gettext("the CJK character set to be used for CJK output from :hardcopy")) |
15870
df0426d67bb3
patch 8.1.0942: options window still checks for the multi_byte feature
Bram Moolenaar <Bram@vim.org>
parents:
15746
diff
changeset
|
729 call <SID>OptionG("pmbcs", &pmbcs) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
730 call <SID>AddOption("printmbfont", gettext("list of font names to be used for CJK output from :hardcopy")) |
15870
df0426d67bb3
patch 8.1.0942: options window still checks for the multi_byte feature
Bram Moolenaar <Bram@vim.org>
parents:
15746
diff
changeset
|
731 call <SID>OptionG("pmbfn", &pmbfn) |
7 | 732 endif |
733 | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
734 call <SID>Header(gettext("messages and info")) |
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
735 call <SID>AddOption("terse", gettext("add 's' flag in 'shortmess' (don't show search message)")) |
7 | 736 call <SID>BinOptionG("terse", &terse) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
737 call <SID>AddOption("shortmess", gettext("list of flags to make messages shorter")) |
7 | 738 call <SID>OptionG("shm", &shm) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
739 call <SID>AddOption("showcmd", gettext("show (partial) command keys in the status line")) |
7 | 740 let &sc = s:old_sc |
741 call <SID>BinOptionG("sc", &sc) | |
742 set nosc | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
743 call <SID>AddOption("showmode", gettext("display the current mode in the status line")) |
7 | 744 call <SID>BinOptionG("smd", &smd) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
745 call <SID>AddOption("ruler", gettext("show cursor position below each window")) |
7 | 746 let &ru = s:old_ru |
747 call <SID>BinOptionG("ru", &ru) | |
748 set noru | |
749 if has("statusline") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
750 call <SID>AddOption("rulerformat", gettext("alternate format to be used for the ruler")) |
7 | 751 call <SID>OptionG("ruf", &ruf) |
752 endif | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
753 call <SID>AddOption("report", gettext("threshold for reporting number of changed lines")) |
7 | 754 call append("$", " \tset report=" . &report) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
755 call <SID>AddOption("verbose", gettext("the higher the more messages are given")) |
7 | 756 call append("$", " \tset vbs=" . &vbs) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
757 call <SID>AddOption("verbosefile", gettext("file to write messages in")) |
381 | 758 call <SID>OptionG("vfile", &vfile) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
759 call <SID>AddOption("more", gettext("pause listings when the screen is full")) |
7 | 760 call <SID>BinOptionG("more", &more) |
761 if has("dialog_con") || has("dialog_gui") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
762 call <SID>AddOption("confirm", gettext("start a dialog when a command fails")) |
7 | 763 call <SID>BinOptionG("cf", &cf) |
764 endif | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
765 call <SID>AddOption("errorbells", gettext("ring the bell for error messages")) |
7 | 766 call <SID>BinOptionG("eb", &eb) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
767 call <SID>AddOption("visualbell", gettext("use a visual bell instead of beeping")) |
7 | 768 call <SID>BinOptionG("vb", &vb) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
769 call <SID>AddOption("belloff", gettext("do not ring the bell for these reasons")) |
6956
ad7ee058c03b
Correct optwin script, update PHP complete.
Bram Moolenaar <bram@vim.org>
parents:
6951
diff
changeset
|
770 call <SID>OptionG("belloff", &belloff) |
7 | 771 if has("multi_lang") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
772 call <SID>AddOption("helplang", gettext("list of preferred languages for finding help")) |
7 | 773 call <SID>OptionG("hlg", &hlg) |
774 endif | |
775 | |
776 | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
777 call <SID>Header(gettext("selecting text")) |
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
778 call <SID>AddOption("selection", gettext("\"old\", \"inclusive\" or \"exclusive\"; how selecting text behaves")) |
7 | 779 call <SID>OptionG("sel", &sel) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
780 call <SID>AddOption("selectmode", gettext("\"mouse\", \"key\" and/or \"cmd\"; when to start Select mode\ninstead of Visual mode")) |
7 | 781 call <SID>OptionG("slm", &slm) |
782 if has("clipboard") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
783 call <SID>AddOption("clipboard", gettext("\"unnamed\" to use the * register like unnamed register\n\"autoselect\" to always put selected text on the clipboard")) |
7 | 784 call <SID>OptionG("cb", &cb) |
785 endif | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
786 call <SID>AddOption("keymodel", gettext("\"startsel\" and/or \"stopsel\"; what special keys can do")) |
7 | 787 call <SID>OptionG("km", &km) |
788 | |
789 | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
790 call <SID>Header(gettext("editing text")) |
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
791 call <SID>AddOption("undolevels", gettext("maximum number of changes that can be undone")) |
22335
8e535ffc8a38
patch 8.2.1716: options window has duplicate translations
Bram Moolenaar <Bram@vim.org>
parents:
22228
diff
changeset
|
792 call append("$", "\t" .. s:global_or_local) |
13346
4dbf2a6972e6
patch 8.0.1547: undo in the options window makes it empty
Christian Brabandt <cb@256bit.org>
parents:
13341
diff
changeset
|
793 call append("$", " \tset ul=" . s:old_ul) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
794 call <SID>AddOption("undofile", gettext("automatically save and restore undo history")) |
8958
12392eb2923a
commit https://github.com/vim/vim/commit/4694a17d1ec08382f996990a7fac1ac60197ec81
Christian Brabandt <cb@256bit.org>
parents:
8673
diff
changeset
|
795 call <SID>BinOptionG("udf", &udf) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
796 call <SID>AddOption("undodir", gettext("list of directories for undo files")) |
8958
12392eb2923a
commit https://github.com/vim/vim/commit/4694a17d1ec08382f996990a7fac1ac60197ec81
Christian Brabandt <cb@256bit.org>
parents:
8673
diff
changeset
|
797 call <SID>OptionG("udir", &udir) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
798 call <SID>AddOption("undoreload", gettext("maximum number lines to save for undo on a buffer reload")) |
2394
a3aca345aafa
Add the 'undoreload' option to be able to undo a file reload.
Bram Moolenaar <bram@vim.org>
parents:
2386
diff
changeset
|
799 call append("$", " \tset ur=" . &ur) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
800 call <SID>AddOption("modified", gettext("changes have been made and not written to a file")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
801 call append("$", "\t" .. s:local_to_buffer) |
7 | 802 call <SID>BinOptionL("mod") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
803 call <SID>AddOption("readonly", gettext("buffer is not to be written")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
804 call append("$", "\t" .. s:local_to_buffer) |
7 | 805 call <SID>BinOptionL("ro") |
22723 | 806 call <SID>AddOption("modifiable", gettext("changes to the text are possible")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
807 call append("$", "\t" .. s:local_to_buffer) |
7 | 808 call <SID>BinOptionL("ma") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
809 call <SID>AddOption("textwidth", gettext("line length above which to break a line")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
810 call append("$", "\t" .. s:local_to_buffer) |
7 | 811 call <SID>OptionL("tw") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
812 call <SID>AddOption("wrapmargin", gettext("margin from the right in which to break a line")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
813 call append("$", "\t" .. s:local_to_buffer) |
7 | 814 call <SID>OptionL("wm") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
815 call <SID>AddOption("backspace", gettext("specifies what <BS>, CTRL-W, etc. can do in Insert mode")) |
7 | 816 call append("$", " \tset bs=" . &bs) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
817 call <SID>AddOption("comments", gettext("definition of what comment lines look like")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
818 call append("$", "\t" .. s:local_to_buffer) |
7 | 819 call <SID>OptionL("com") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
820 call <SID>AddOption("formatoptions", gettext("list of flags that tell how automatic formatting works")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
821 call append("$", "\t" .. s:local_to_buffer) |
7 | 822 call <SID>OptionL("fo") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
823 call <SID>AddOption("formatlistpat", gettext("pattern to recognize a numbered list")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
824 call append("$", "\t" .. s:local_to_buffer) |
41 | 825 call <SID>OptionL("flp") |
714 | 826 if has("eval") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
827 call <SID>AddOption("formatexpr", gettext("expression used for \"gq\" to format lines")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
828 call append("$", "\t" .. s:local_to_buffer) |
714 | 829 call <SID>OptionL("fex") |
830 endif | |
7 | 831 if has("insert_expand") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
832 call <SID>AddOption("complete", gettext("specifies how Insert mode completion works for CTRL-N and CTRL-P")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
833 call append("$", "\t" .. s:local_to_buffer) |
7 | 834 call <SID>OptionL("cpt") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
835 call <SID>AddOption("completeopt", gettext("whether to use a popup menu for Insert mode completion")) |
539 | 836 call <SID>OptionG("cot", &cot) |
17791
55c167b08c2b
patch 8.1.1892: missing index entry and option menu for 'completepopup'
Bram Moolenaar <Bram@vim.org>
parents:
17667
diff
changeset
|
837 if exists("+completepopup") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
838 call <SID>AddOption("completepopup", gettext("options for the Insert mode completion info popup")) |
17791
55c167b08c2b
patch 8.1.1892: missing index entry and option menu for 'completepopup'
Bram Moolenaar <Bram@vim.org>
parents:
17667
diff
changeset
|
839 call <SID>OptionG("cpp", &cpp) |
55c167b08c2b
patch 8.1.1892: missing index entry and option menu for 'completepopup'
Bram Moolenaar <Bram@vim.org>
parents:
17667
diff
changeset
|
840 endif |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
841 call <SID>AddOption("pumheight", gettext("maximum height of the popup menu")) |
771 | 842 call <SID>OptionG("ph", &ph) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
843 call <SID>AddOption("pumwidth", gettext("minimum width of the popup menu")) |
13341
acd7eaa13d2b
Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents:
13154
diff
changeset
|
844 call <SID>OptionG("pw", &pw) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
845 call <SID>AddOption("completefunc", gettext("user defined function for Insert mode completion")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
846 call append("$", "\t" .. s:local_to_buffer) |
12 | 847 call <SID>OptionL("cfu") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
848 call <SID>AddOption("omnifunc", gettext("function for filetype-specific Insert mode completion")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
849 call append("$", "\t" .. s:local_to_buffer) |
502 | 850 call <SID>OptionL("ofu") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
851 call <SID>AddOption("dictionary", gettext("list of dictionary files for keyword completion")) |
22335
8e535ffc8a38
patch 8.2.1716: options window has duplicate translations
Bram Moolenaar <Bram@vim.org>
parents:
22228
diff
changeset
|
852 call append("$", "\t" .. s:global_or_local) |
7 | 853 call <SID>OptionG("dict", &dict) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
854 call <SID>AddOption("thesaurus", gettext("list of thesaurus files for keyword completion")) |
22335
8e535ffc8a38
patch 8.2.1716: options window has duplicate translations
Bram Moolenaar <Bram@vim.org>
parents:
22228
diff
changeset
|
855 call append("$", "\t" .. s:global_or_local) |
7 | 856 call <SID>OptionG("tsr", &tsr) |
26050 | 857 call <SID>AddOption("thesaurusfunc", gettext("function used for thesaurus completion")) |
858 call append("$", "\t" .. s:global_or_local) | |
859 call <SID>OptionG("tsrfu", &tsrfu) | |
7 | 860 endif |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
861 call <SID>AddOption("infercase", gettext("adjust case of a keyword completion match")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
862 call append("$", "\t" .. s:local_to_buffer) |
7 | 863 call <SID>BinOptionL("inf") |
864 if has("digraphs") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
865 call <SID>AddOption("digraph", gettext("enable entering digraphs with c1 <BS> c2")) |
7 | 866 call <SID>BinOptionG("dg", &dg) |
867 endif | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
868 call <SID>AddOption("tildeop", gettext("the \"~\" command behaves like an operator")) |
7 | 869 call <SID>BinOptionG("top", &top) |
22824 | 870 call <SID>AddOption("operatorfunc", gettext("function called for the \"g@\" operator")) |
625 | 871 call <SID>OptionG("opfunc", &opfunc) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
872 call <SID>AddOption("showmatch", gettext("when inserting a bracket, briefly jump to its match")) |
7 | 873 call <SID>BinOptionG("sm", &sm) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
874 call <SID>AddOption("matchtime", gettext("tenth of a second to show a match for 'showmatch'")) |
7 | 875 call append("$", " \tset mat=" . &mat) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
876 call <SID>AddOption("matchpairs", gettext("list of pairs that match for the \"%\" command")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
877 call append("$", "\t" .. s:local_to_buffer) |
7 | 878 call <SID>OptionL("mps") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
879 call <SID>AddOption("joinspaces", gettext("use two spaces after '.' when joining a line")) |
7 | 880 call <SID>BinOptionG("js", &js) |
22723 | 881 call <SID>AddOption("nrformats", gettext("\"alpha\", \"octal\", \"hex\", \"bin\" and/or \"unsigned\"; number formats\nrecognized for CTRL-A and CTRL-X commands")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
882 call append("$", "\t" .. s:local_to_buffer) |
7 | 883 call <SID>OptionL("nf") |
884 | |
885 | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
886 call <SID>Header(gettext("tabs and indenting")) |
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
887 call <SID>AddOption("tabstop", gettext("number of spaces a <Tab> in the text stands for")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
888 call append("$", "\t" .. s:local_to_buffer) |
7 | 889 call <SID>OptionL("ts") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
890 call <SID>AddOption("shiftwidth", gettext("number of spaces used for each step of (auto)indent")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
891 call append("$", "\t" .. s:local_to_buffer) |
7 | 892 call <SID>OptionL("sw") |
14175
2ad722003b36
patch 8.1.0105: all tab stops are the same
Christian Brabandt <cb@256bit.org>
parents:
13946
diff
changeset
|
893 if has("vartabs") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
894 call <SID>AddOption("vartabstop", gettext("list of number of spaces a tab counts for")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
895 call append("$", "\t" .. s:local_to_buffer) |
14175
2ad722003b36
patch 8.1.0105: all tab stops are the same
Christian Brabandt <cb@256bit.org>
parents:
13946
diff
changeset
|
896 call <SID>OptionL("vts") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
897 call <SID>AddOption("varsofttabstop", gettext("list of number of spaces a soft tabsstop counts for")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
898 call append("$", "\t" .. s:local_to_buffer) |
14175
2ad722003b36
patch 8.1.0105: all tab stops are the same
Christian Brabandt <cb@256bit.org>
parents:
13946
diff
changeset
|
899 call <SID>OptionL("vsts") |
2ad722003b36
patch 8.1.0105: all tab stops are the same
Christian Brabandt <cb@256bit.org>
parents:
13946
diff
changeset
|
900 endif |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
901 call <SID>AddOption("smarttab", gettext("a <Tab> in an indent inserts 'shiftwidth' spaces")) |
7 | 902 call <SID>BinOptionG("sta", &sta) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
903 call <SID>AddOption("softtabstop", gettext("if non-zero, number of spaces to insert for a <Tab>")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
904 call append("$", "\t" .. s:local_to_buffer) |
7 | 905 call <SID>OptionL("sts") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
906 call <SID>AddOption("shiftround", gettext("round to 'shiftwidth' for \"<<\" and \">>\"")) |
7 | 907 call <SID>BinOptionG("sr", &sr) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
908 call <SID>AddOption("expandtab", gettext("expand <Tab> to spaces in Insert mode")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
909 call append("$", "\t" .. s:local_to_buffer) |
7 | 910 call <SID>BinOptionL("et") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
911 call <SID>AddOption("autoindent", gettext("automatically set the indent of a new line")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
912 call append("$", "\t" .. s:local_to_buffer) |
7 | 913 call <SID>BinOptionL("ai") |
914 if has("smartindent") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
915 call <SID>AddOption("smartindent", gettext("do clever autoindenting")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
916 call append("$", "\t" .. s:local_to_buffer) |
7 | 917 call <SID>BinOptionL("si") |
918 endif | |
919 if has("cindent") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
920 call <SID>AddOption("cindent", gettext("enable specific indenting for C code")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
921 call append("$", "\t" .. s:local_to_buffer) |
7 | 922 call <SID>BinOptionL("cin") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
923 call <SID>AddOption("cinoptions", gettext("options for C-indenting")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
924 call append("$", "\t" .. s:local_to_buffer) |
7 | 925 call <SID>OptionL("cino") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
926 call <SID>AddOption("cinkeys", gettext("keys that trigger C-indenting in Insert mode")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
927 call append("$", "\t" .. s:local_to_buffer) |
7 | 928 call <SID>OptionL("cink") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
929 call <SID>AddOption("cinwords", gettext("list of words that cause more C-indent")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
930 call append("$", "\t" .. s:local_to_buffer) |
7 | 931 call <SID>OptionL("cinw") |
28353
8bc8071928ed
patch 8.2.4702: C++ scope labels are hard-coded
Bram Moolenaar <Bram@vim.org>
parents:
26708
diff
changeset
|
932 call <SID>AddOption("cinscopedecls", gettext("list of scope declaration names used by cino-g")) |
8bc8071928ed
patch 8.2.4702: C++ scope labels are hard-coded
Bram Moolenaar <Bram@vim.org>
parents:
26708
diff
changeset
|
933 call append("$", "\t" .. s:local_to_buffer) |
8bc8071928ed
patch 8.2.4702: C++ scope labels are hard-coded
Bram Moolenaar <Bram@vim.org>
parents:
26708
diff
changeset
|
934 call <SID>OptionL("cinsd") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
935 call <SID>AddOption("indentexpr", gettext("expression used to obtain the indent of a line")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
936 call append("$", "\t" .. s:local_to_buffer) |
7 | 937 call <SID>OptionL("inde") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
938 call <SID>AddOption("indentkeys", gettext("keys that trigger indenting with 'indentexpr' in Insert mode")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
939 call append("$", "\t" .. s:local_to_buffer) |
7 | 940 call <SID>OptionL("indk") |
941 endif | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
942 call <SID>AddOption("copyindent", gettext("copy whitespace for indenting from previous line")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
943 call append("$", "\t" .. s:local_to_buffer) |
7 | 944 call <SID>BinOptionL("ci") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
945 call <SID>AddOption("preserveindent", gettext("preserve kind of whitespace when changing indent")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
946 call append("$", "\t" .. s:local_to_buffer) |
7 | 947 call <SID>BinOptionL("pi") |
948 if has("lispindent") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
949 call <SID>AddOption("lisp", gettext("enable lisp mode")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
950 call append("$", "\t" .. s:local_to_buffer) |
7 | 951 call <SID>BinOptionL("lisp") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
952 call <SID>AddOption("lispwords", gettext("words that change how lisp indenting works")) |
5772 | 953 call <SID>OptionL("lw") |
7 | 954 endif |
955 | |
956 | |
957 if has("folding") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
958 call <SID>Header(gettext("folding")) |
22723 | 959 call <SID>AddOption("foldenable", gettext("unset to display all folds open")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
960 call append("$", "\t" .. s:local_to_window) |
7 | 961 call <SID>BinOptionL("fen") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
962 call <SID>AddOption("foldlevel", gettext("folds with a level higher than this number will be closed")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
963 call append("$", "\t" .. s:local_to_window) |
7 | 964 call <SID>OptionL("fdl") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
965 call <SID>AddOption("foldlevelstart", gettext("value for 'foldlevel' when starting to edit a file")) |
7 | 966 call append("$", " \tset fdls=" . &fdls) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
967 call <SID>AddOption("foldcolumn", gettext("width of the column used to indicate folds")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
968 call append("$", "\t" .. s:local_to_window) |
7 | 969 call <SID>OptionL("fdc") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
970 call <SID>AddOption("foldtext", gettext("expression used to display the text of a closed fold")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
971 call append("$", "\t" .. s:local_to_window) |
7 | 972 call <SID>OptionL("fdt") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
973 call <SID>AddOption("foldclose", gettext("set to \"all\" to close a fold when the cursor leaves it")) |
7 | 974 call <SID>OptionG("fcl", &fcl) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
975 call <SID>AddOption("foldopen", gettext("specifies for which commands a fold will be opened")) |
7 | 976 call <SID>OptionG("fdo", &fdo) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
977 call <SID>AddOption("foldminlines", gettext("minimum number of screen lines for a fold to be closed")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
978 call append("$", "\t" .. s:local_to_window) |
7 | 979 call <SID>OptionL("fml") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
980 call <SID>AddOption("commentstring", gettext("template for comments; used to put the marker in")) |
7 | 981 call <SID>OptionL("cms") |
22723 | 982 call <SID>AddOption("foldmethod", gettext("folding type: \"manual\", \"indent\", \"expr\", \"marker\",\n\"syntax\" or \"diff\"")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
983 call append("$", "\t" .. s:local_to_window) |
7 | 984 call <SID>OptionL("fdm") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
985 call <SID>AddOption("foldexpr", gettext("expression used when 'foldmethod' is \"expr\"")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
986 call append("$", "\t" .. s:local_to_window) |
7 | 987 call <SID>OptionL("fde") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
988 call <SID>AddOption("foldignore", gettext("used to ignore lines when 'foldmethod' is \"indent\"")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
989 call append("$", "\t" .. s:local_to_window) |
7 | 990 call <SID>OptionL("fdi") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
991 call <SID>AddOption("foldmarker", gettext("markers used when 'foldmethod' is \"marker\"")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
992 call append("$", "\t" .. s:local_to_window) |
7 | 993 call <SID>OptionL("fmr") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
994 call <SID>AddOption("foldnestmax", gettext("maximum fold depth for when 'foldmethod' is \"indent\" or \"syntax\"")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
995 call append("$", "\t" .. s:local_to_window) |
7 | 996 call <SID>OptionL("fdn") |
997 endif | |
998 | |
999 | |
1000 if has("diff") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1001 call <SID>Header(gettext("diff mode")) |
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1002 call <SID>AddOption("diff", gettext("use diff mode for the current window")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
1003 call append("$", "\t" .. s:local_to_window) |
7 | 1004 call <SID>BinOptionL("diff") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1005 call <SID>AddOption("diffopt", gettext("options for using diff mode")) |
7 | 1006 call <SID>OptionG("dip", &dip) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1007 call <SID>AddOption("diffexpr", gettext("expression used to obtain a diff file")) |
7 | 1008 call <SID>OptionG("dex", &dex) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1009 call <SID>AddOption("patchexpr", gettext("expression used to patch a file")) |
7 | 1010 call <SID>OptionG("pex", &pex) |
1011 endif | |
1012 | |
1013 | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1014 call <SID>Header(gettext("mapping")) |
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1015 call <SID>AddOption("maxmapdepth", gettext("maximum depth of mapping")) |
7 | 1016 call append("$", " \tset mmd=" . &mmd) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1017 call <SID>AddOption("remap", gettext("recognize mappings in mapped keys")) |
7 | 1018 call <SID>BinOptionG("remap", &remap) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1019 call <SID>AddOption("timeout", gettext("allow timing out halfway into a mapping")) |
7 | 1020 call <SID>BinOptionG("to", &to) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1021 call <SID>AddOption("ttimeout", gettext("allow timing out halfway into a key code")) |
7 | 1022 call <SID>BinOptionG("ttimeout", &ttimeout) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1023 call <SID>AddOption("timeoutlen", gettext("time in msec for 'timeout'")) |
7 | 1024 call append("$", " \tset tm=" . &tm) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1025 call <SID>AddOption("ttimeoutlen", gettext("time in msec for 'ttimeout'")) |
7 | 1026 call append("$", " \tset ttm=" . &ttm) |
1027 | |
1028 | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1029 call <SID>Header(gettext("reading and writing files")) |
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1030 call <SID>AddOption("modeline", gettext("enable using settings from modelines when reading a file")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
1031 call append("$", "\t" .. s:local_to_buffer) |
7 | 1032 call <SID>BinOptionL("ml") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1033 call <SID>AddOption("modelineexpr", gettext("allow setting expression options from a modeline")) |
16808 | 1034 call <SID>BinOptionG("mle", &mle) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1035 call <SID>AddOption("modelines", gettext("number of lines to check for modelines")) |
7 | 1036 call append("$", " \tset mls=" . &mls) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1037 call <SID>AddOption("binary", gettext("binary file editing")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
1038 call append("$", "\t" .. s:local_to_buffer) |
7 | 1039 call <SID>BinOptionL("bin") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1040 call <SID>AddOption("endofline", gettext("last line in the file has an end-of-line")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
1041 call append("$", "\t" .. s:local_to_buffer) |
7 | 1042 call <SID>BinOptionL("eol") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1043 call <SID>AddOption("fixendofline", gettext("fixes missing end-of-line at end of text file")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
1044 call append("$", "\t" .. s:local_to_buffer) |
6933 | 1045 call <SID>BinOptionL("fixeol") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1046 call <SID>AddOption("bomb", gettext("prepend a Byte Order Mark to the file")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
1047 call append("$", "\t" .. s:local_to_buffer) |
15870
df0426d67bb3
patch 8.1.0942: options window still checks for the multi_byte feature
Bram Moolenaar <Bram@vim.org>
parents:
15746
diff
changeset
|
1048 call <SID>BinOptionL("bomb") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1049 call <SID>AddOption("fileformat", gettext("end-of-line format: \"dos\", \"unix\" or \"mac\"")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
1050 call append("$", "\t" .. s:local_to_buffer) |
7 | 1051 call <SID>OptionL("ff") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1052 call <SID>AddOption("fileformats", gettext("list of file formats to look for when editing a file")) |
7 | 1053 call <SID>OptionG("ffs", &ffs) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1054 call <SID>AddOption("textmode", gettext("obsolete, use 'fileformat'")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
1055 call append("$", "\t" .. s:local_to_buffer) |
7 | 1056 call <SID>BinOptionL("tx") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1057 call <SID>AddOption("textauto", gettext("obsolete, use 'fileformats'")) |
7 | 1058 call <SID>BinOptionG("ta", &ta) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1059 call <SID>AddOption("write", gettext("writing files is allowed")) |
7 | 1060 call <SID>BinOptionG("write", &write) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1061 call <SID>AddOption("writebackup", gettext("write a backup file before overwriting a file")) |
7 | 1062 call <SID>BinOptionG("wb", &wb) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1063 call <SID>AddOption("backup", gettext("keep a backup after overwriting a file")) |
7 | 1064 call <SID>BinOptionG("bk", &bk) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1065 call <SID>AddOption("backupskip", gettext("patterns that specify for which files a backup is not made")) |
7 | 1066 call append("$", " \tset bsk=" . &bsk) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1067 call <SID>AddOption("backupcopy", gettext("whether to make the backup as a copy or rename the existing file")) |
22335
8e535ffc8a38
patch 8.2.1716: options window has duplicate translations
Bram Moolenaar <Bram@vim.org>
parents:
22228
diff
changeset
|
1068 call append("$", "\t" .. s:global_or_local) |
7 | 1069 call append("$", " \tset bkc=" . &bkc) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1070 call <SID>AddOption("backupdir", gettext("list of directories to put backup files in")) |
7 | 1071 call <SID>OptionG("bdir", &bdir) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1072 call <SID>AddOption("backupext", gettext("file name extension for the backup file")) |
7 | 1073 call <SID>OptionG("bex", &bex) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1074 call <SID>AddOption("autowrite", gettext("automatically write a file when leaving a modified buffer")) |
7 | 1075 call <SID>BinOptionG("aw", &aw) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1076 call <SID>AddOption("autowriteall", gettext("as 'autowrite', but works with more commands")) |
7 | 1077 call <SID>BinOptionG("awa", &awa) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1078 call <SID>AddOption("writeany", gettext("always write without asking for confirmation")) |
7 | 1079 call <SID>BinOptionG("wa", &wa) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1080 call <SID>AddOption("autoread", gettext("automatically read a file when it was modified outside of Vim")) |
22335
8e535ffc8a38
patch 8.2.1716: options window has duplicate translations
Bram Moolenaar <Bram@vim.org>
parents:
22228
diff
changeset
|
1081 call append("$", "\t" .. s:global_or_local) |
7 | 1082 call <SID>BinOptionG("ar", &ar) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1083 call <SID>AddOption("patchmode", gettext("keep oldest version of a file; specifies file name extension")) |
7 | 1084 call <SID>OptionG("pm", &pm) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1085 call <SID>AddOption("fsync", gettext("forcibly sync the file to disk after writing it")) |
36 | 1086 call <SID>BinOptionG("fs", &fs) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1087 call <SID>AddOption("shortname", gettext("use 8.3 file names")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
1088 call append("$", "\t" .. s:local_to_buffer) |
9536
b2aada04d84e
commit https://github.com/vim/vim/commit/a06ecab7a5159e744448ace731036f0dc5f87dd4
Christian Brabandt <cb@256bit.org>
parents:
9048
diff
changeset
|
1089 call <SID>BinOptionL("sn") |
22723 | 1090 call <SID>AddOption("cryptmethod", gettext("encryption method for file writing: zip, blowfish or blowfish2")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
1091 call append("$", "\t" .. s:local_to_buffer) |
2198
e741fe7a0547
Updated a few runtime files.
Bram Moolenaar <bram@vim.org>
parents:
2178
diff
changeset
|
1092 call <SID>OptionL("cm") |
7 | 1093 |
1094 | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1095 call <SID>Header(gettext("the swap file")) |
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1096 call <SID>AddOption("directory", gettext("list of directories for the swap file")) |
7 | 1097 call <SID>OptionG("dir", &dir) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1098 call <SID>AddOption("swapfile", gettext("use a swap file for this buffer")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
1099 call append("$", "\t" .. s:local_to_buffer) |
7 | 1100 call <SID>BinOptionL("swf") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1101 call <SID>AddOption("swapsync", gettext("\"sync\", \"fsync\" or empty; how to flush a swap file to disk")) |
7 | 1102 call <SID>OptionG("sws", &sws) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1103 call <SID>AddOption("updatecount", gettext("number of characters typed to cause a swap file update")) |
7 | 1104 call append("$", " \tset uc=" . &uc) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1105 call <SID>AddOption("updatetime", gettext("time in msec after which the swap file will be updated")) |
7 | 1106 call append("$", " \tset ut=" . &ut) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1107 call <SID>AddOption("maxmem", gettext("maximum amount of memory in Kbyte used for one buffer")) |
7 | 1108 call append("$", " \tset mm=" . &mm) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1109 call <SID>AddOption("maxmemtot", gettext("maximum amount of memory in Kbyte used for all buffers")) |
7 | 1110 call append("$", " \tset mmt=" . &mmt) |
1111 | |
1112 | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1113 call <SID>Header(gettext("command line editing")) |
22723 | 1114 call <SID>AddOption("history", gettext("how many command lines are remembered")) |
7 | 1115 call append("$", " \tset hi=" . &hi) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1116 call <SID>AddOption("wildchar", gettext("key that triggers command-line expansion")) |
7 | 1117 call append("$", " \tset wc=" . &wc) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1118 call <SID>AddOption("wildcharm", gettext("like 'wildchar' but can also be used in a mapping")) |
7 | 1119 call append("$", " \tset wcm=" . &wcm) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1120 call <SID>AddOption("wildmode", gettext("specifies how command line completion works")) |
7 | 1121 call <SID>OptionG("wim", &wim) |
40 | 1122 if has("wildoptions") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1123 call <SID>AddOption("wildoptions", gettext("empty or \"tagfile\" to list file name of matching tags")) |
40 | 1124 call <SID>OptionG("wop", &wop) |
1125 endif | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1126 call <SID>AddOption("suffixes", gettext("list of file name extensions that have a lower priority")) |
7 | 1127 call <SID>OptionG("su", &su) |
1128 if has("file_in_path") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1129 call <SID>AddOption("suffixesadd", gettext("list of file name extensions added when searching for a file")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
1130 call append("$", "\t" .. s:local_to_buffer) |
7 | 1131 call <SID>OptionL("sua") |
1132 endif | |
1133 if has("wildignore") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1134 call <SID>AddOption("wildignore", gettext("list of patterns to ignore files for file name completion")) |
7 | 1135 call <SID>OptionG("wig", &wig) |
1136 endif | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1137 call <SID>AddOption("fileignorecase", gettext("ignore case when using file names")) |
4254 | 1138 call <SID>BinOptionG("fic", &fic) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1139 call <SID>AddOption("wildignorecase", gettext("ignore case when completing file names")) |
2662 | 1140 call <SID>BinOptionG("wic", &wic) |
7 | 1141 if has("wildmenu") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1142 call <SID>AddOption("wildmenu", gettext("command-line completion shows a list of matches")) |
7 | 1143 call <SID>BinOptionG("wmnu", &wmnu) |
1144 endif | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1145 call <SID>AddOption("cedit", gettext("key used to open the command-line window")) |
15729 | 1146 call <SID>OptionG("cedit", &cedit) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1147 call <SID>AddOption("cmdwinheight", gettext("height of the command-line window")) |
15729 | 1148 call <SID>OptionG("cwh", &cwh) |
7 | 1149 |
1150 | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1151 call <SID>Header(gettext("executing external commands")) |
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1152 call <SID>AddOption("shell", gettext("name of the shell program used for external commands")) |
7 | 1153 call <SID>OptionG("sh", &sh) |
1154 if has("amiga") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1155 call <SID>AddOption("shelltype", gettext("when to use the shell or directly execute a command")) |
7 | 1156 call append("$", " \tset st=" . &st) |
1157 endif | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1158 call <SID>AddOption("shellquote", gettext("character(s) to enclose a shell command in")) |
7 | 1159 call <SID>OptionG("shq", &shq) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1160 call <SID>AddOption("shellxquote", gettext("like 'shellquote' but include the redirection")) |
7 | 1161 call <SID>OptionG("sxq", &sxq) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1162 call <SID>AddOption("shellxescape", gettext("characters to escape when 'shellxquote' is (")) |
3371 | 1163 call <SID>OptionG("sxe", &sxe) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1164 call <SID>AddOption("shellcmdflag", gettext("argument for 'shell' to execute a command")) |
7 | 1165 call <SID>OptionG("shcf", &shcf) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1166 call <SID>AddOption("shellredir", gettext("used to redirect command output to a file")) |
7 | 1167 call <SID>OptionG("srr", &srr) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1168 call <SID>AddOption("shelltemp", gettext("use a temp file for shell commands instead of using a pipe")) |
393 | 1169 call <SID>BinOptionG("stmp", &stmp) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1170 call <SID>AddOption("equalprg", gettext("program used for \"=\" command")) |
22335
8e535ffc8a38
patch 8.2.1716: options window has duplicate translations
Bram Moolenaar <Bram@vim.org>
parents:
22228
diff
changeset
|
1171 call append("$", "\t" .. s:global_or_local) |
7 | 1172 call <SID>OptionG("ep", &ep) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1173 call <SID>AddOption("formatprg", gettext("program used to format lines with \"gq\" command")) |
7 | 1174 call <SID>OptionG("fp", &fp) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1175 call <SID>AddOption("keywordprg", gettext("program used for the \"K\" command")) |
7 | 1176 call <SID>OptionG("kp", &kp) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1177 call <SID>AddOption("warn", gettext("warn when using a shell command and a buffer has changes")) |
7 | 1178 call <SID>BinOptionG("warn", &warn) |
1179 | |
1180 | |
1181 if has("quickfix") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1182 call <SID>Header(gettext("running make and jumping to errors (quickfix)")) |
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1183 call <SID>AddOption("errorfile", gettext("name of the file that contains error messages")) |
7 | 1184 call <SID>OptionG("ef", &ef) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1185 call <SID>AddOption("errorformat", gettext("list of formats for error messages")) |
22335
8e535ffc8a38
patch 8.2.1716: options window has duplicate translations
Bram Moolenaar <Bram@vim.org>
parents:
22228
diff
changeset
|
1186 call append("$", "\t" .. s:global_or_local) |
7 | 1187 call <SID>OptionG("efm", &efm) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1188 call <SID>AddOption("makeprg", gettext("program used for the \":make\" command")) |
22335
8e535ffc8a38
patch 8.2.1716: options window has duplicate translations
Bram Moolenaar <Bram@vim.org>
parents:
22228
diff
changeset
|
1189 call append("$", "\t" .. s:global_or_local) |
7 | 1190 call <SID>OptionG("mp", &mp) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1191 call <SID>AddOption("shellpipe", gettext("string used to put the output of \":make\" in the error file")) |
7 | 1192 call <SID>OptionG("sp", &sp) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1193 call <SID>AddOption("makeef", gettext("name of the errorfile for the 'makeprg' command")) |
7 | 1194 call <SID>OptionG("mef", &mef) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1195 call <SID>AddOption("grepprg", gettext("program used for the \":grep\" command")) |
22335
8e535ffc8a38
patch 8.2.1716: options window has duplicate translations
Bram Moolenaar <Bram@vim.org>
parents:
22228
diff
changeset
|
1196 call append("$", "\t" .. s:global_or_local) |
7 | 1197 call <SID>OptionG("gp", &gp) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1198 call <SID>AddOption("grepformat", gettext("list of formats for output of 'grepprg'")) |
7 | 1199 call <SID>OptionG("gfm", &gfm) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1200 call <SID>AddOption("makeencoding", gettext("encoding of the \":make\" and \":grep\" output")) |
22335
8e535ffc8a38
patch 8.2.1716: options window has duplicate translations
Bram Moolenaar <Bram@vim.org>
parents:
22228
diff
changeset
|
1201 call append("$", "\t" .. s:global_or_local) |
11077
746c1e1be45f
patch 8.0.0427: 'makeencoding' missing from the options window
Christian Brabandt <cb@256bit.org>
parents:
10895
diff
changeset
|
1202 call <SID>OptionG("menc", &menc) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1203 call <SID>AddOption("quickfixtextfunc", gettext("function to display text in the quickfix window")) |
20753 | 1204 call <SID>OptionG("qftf", &qftf) |
7 | 1205 endif |
1206 | |
1207 | |
22723 | 1208 if has("win32") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1209 call <SID>Header(gettext("system specific")) |
22723 | 1210 call <SID>AddOption("shellslash", gettext("use forward slashes in file names; for Unix-like shells")) |
1211 call <SID>BinOptionG("ssl", &ssl) | |
1212 call <SID>AddOption("completeslash", gettext("specifies slash/backslash used for completion")) | |
1213 call <SID>OptionG("csl", &csl) | |
7 | 1214 endif |
1215 | |
1216 | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1217 call <SID>Header(gettext("language specific")) |
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1218 call <SID>AddOption("isfname", gettext("specifies the characters in a file name")) |
7 | 1219 call <SID>OptionG("isf", &isf) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1220 call <SID>AddOption("isident", gettext("specifies the characters in an identifier")) |
7 | 1221 call <SID>OptionG("isi", &isi) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1222 call <SID>AddOption("iskeyword", gettext("specifies the characters in a keyword")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
1223 call append("$", "\t" .. s:local_to_buffer) |
7 | 1224 call <SID>OptionL("isk") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1225 call <SID>AddOption("isprint", gettext("specifies printable characters")) |
7 | 1226 call <SID>OptionG("isp", &isp) |
12 | 1227 if has("textobjects") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1228 call <SID>AddOption("quoteescape", gettext("specifies escape characters in a string")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
1229 call append("$", "\t" .. s:local_to_buffer) |
12 | 1230 call <SID>OptionL("qe") |
1231 endif | |
7 | 1232 if has("rightleft") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1233 call <SID>AddOption("rightleft", gettext("display the buffer right-to-left")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
1234 call append("$", "\t" .. s:local_to_window) |
7 | 1235 call <SID>BinOptionL("rl") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1236 call <SID>AddOption("rightleftcmd", gettext("when to edit the command-line right-to-left")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
1237 call append("$", "\t" .. s:local_to_window) |
7 | 1238 call <SID>OptionL("rlc") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1239 call <SID>AddOption("revins", gettext("insert characters backwards")) |
7 | 1240 call <SID>BinOptionG("ri", &ri) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1241 call <SID>AddOption("allowrevins", gettext("allow CTRL-_ in Insert and Command-line mode to toggle 'revins'")) |
7 | 1242 call <SID>BinOptionG("ari", &ari) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1243 call <SID>AddOption("aleph", gettext("the ASCII code for the first letter of the Hebrew alphabet")) |
7 | 1244 call append("$", " \tset al=" . &al) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1245 call <SID>AddOption("hkmap", gettext("use Hebrew keyboard mapping")) |
7 | 1246 call <SID>BinOptionG("hk", &hk) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1247 call <SID>AddOption("hkmapp", gettext("use phonetic Hebrew keyboard mapping")) |
7 | 1248 call <SID>BinOptionG("hkp", &hkp) |
1249 endif | |
1250 if has("arabic") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1251 call <SID>AddOption("arabic", gettext("prepare for editing Arabic text")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
1252 call append("$", "\t" .. s:local_to_window) |
7 | 1253 call <SID>BinOptionL("arab") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1254 call <SID>AddOption("arabicshape", gettext("perform shaping of Arabic characters")) |
7 | 1255 call <SID>BinOptionG("arshape", &arshape) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1256 call <SID>AddOption("termbidi", gettext("terminal will perform bidi handling")) |
7 | 1257 call <SID>BinOptionG("tbidi", &tbidi) |
1258 endif | |
1259 if has("keymap") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1260 call <SID>AddOption("keymap", gettext("name of a keyboard mapping")) |
7 | 1261 call <SID>OptionL("kmp") |
1262 endif | |
1263 if has("langmap") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1264 call <SID>AddOption("langmap", gettext("list of characters that are translated in Normal mode")) |
7 | 1265 call <SID>OptionG("lmap", &lmap) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1266 call <SID>AddOption("langremap", gettext("apply 'langmap' to mapped characters")) |
9975
03fa8a51e9dc
commit https://github.com/vim/vim/commit/e4a3bcf28d92d0bde9ca227ccb40d401038185e5
Christian Brabandt <cb@256bit.org>
parents:
9860
diff
changeset
|
1267 call <SID>BinOptionG("lrm", &lrm) |
7 | 1268 endif |
1269 if has("xim") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1270 call <SID>AddOption("imdisable", gettext("when set never use IM; overrules following IM options")) |
7 | 1271 call <SID>BinOptionG("imd", &imd) |
1272 endif | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1273 call <SID>AddOption("iminsert", gettext("in Insert mode: 1: use :lmap; 2: use IM; 0: neither")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
1274 call append("$", "\t" .. s:local_to_window) |
7 | 1275 call <SID>OptionL("imi") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1276 call <SID>AddOption("imstyle", gettext("input method style, 0: on-the-spot, 1: over-the-spot")) |
12499 | 1277 call <SID>OptionG("imst", &imst) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1278 call <SID>AddOption("imsearch", gettext("entering a search pattern: 1: use :lmap; 2: use IM; 0: neither")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
1279 call append("$", "\t" .. s:local_to_window) |
7 | 1280 call <SID>OptionL("ims") |
1281 if has("xim") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1282 call <SID>AddOption("imcmdline", gettext("when set always use IM when starting to edit a command line")) |
7 | 1283 call <SID>BinOptionG("imc", &imc) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1284 call <SID>AddOption("imstatusfunc", gettext("function to obtain IME status")) |
5055 | 1285 call <SID>OptionG("imsf", &imsf) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1286 call <SID>AddOption("imactivatefunc", gettext("function to enable/disable IME")) |
5055 | 1287 call <SID>OptionG("imaf", &imaf) |
7 | 1288 endif |
1289 | |
1290 | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1291 call <SID>Header(gettext("multi-byte characters")) |
22824 | 1292 call <SID>AddOption("encoding", gettext("character encoding used in Vim: \"latin1\", \"utf-8\",\n\"euc-jp\", \"big5\", etc.")) |
15870
df0426d67bb3
patch 8.1.0942: options window still checks for the multi_byte feature
Bram Moolenaar <Bram@vim.org>
parents:
15746
diff
changeset
|
1293 call <SID>OptionG("enc", &enc) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1294 call <SID>AddOption("fileencoding", gettext("character encoding for the current file")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
1295 call append("$", "\t" .. s:local_to_buffer) |
15870
df0426d67bb3
patch 8.1.0942: options window still checks for the multi_byte feature
Bram Moolenaar <Bram@vim.org>
parents:
15746
diff
changeset
|
1296 call <SID>OptionL("fenc") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1297 call <SID>AddOption("fileencodings", gettext("automatically detected character encodings")) |
15870
df0426d67bb3
patch 8.1.0942: options window still checks for the multi_byte feature
Bram Moolenaar <Bram@vim.org>
parents:
15746
diff
changeset
|
1298 call <SID>OptionG("fencs", &fencs) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1299 call <SID>AddOption("termencoding", gettext("character encoding used by the terminal")) |
15870
df0426d67bb3
patch 8.1.0942: options window still checks for the multi_byte feature
Bram Moolenaar <Bram@vim.org>
parents:
15746
diff
changeset
|
1300 call <SID>OptionG("tenc", &tenc) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1301 call <SID>AddOption("charconvert", gettext("expression used for character encoding conversion")) |
15870
df0426d67bb3
patch 8.1.0942: options window still checks for the multi_byte feature
Bram Moolenaar <Bram@vim.org>
parents:
15746
diff
changeset
|
1302 call <SID>OptionG("ccv", &ccv) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1303 call <SID>AddOption("delcombine", gettext("delete combining (composing) characters on their own")) |
15870
df0426d67bb3
patch 8.1.0942: options window still checks for the multi_byte feature
Bram Moolenaar <Bram@vim.org>
parents:
15746
diff
changeset
|
1304 call <SID>BinOptionG("deco", &deco) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1305 call <SID>AddOption("maxcombine", gettext("maximum number of combining (composing) characters displayed")) |
15870
df0426d67bb3
patch 8.1.0942: options window still checks for the multi_byte feature
Bram Moolenaar <Bram@vim.org>
parents:
15746
diff
changeset
|
1306 call <SID>OptionG("mco", &mco) |
df0426d67bb3
patch 8.1.0942: options window still checks for the multi_byte feature
Bram Moolenaar <Bram@vim.org>
parents:
15746
diff
changeset
|
1307 if has("xim") && has("gui_gtk") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1308 call <SID>AddOption("imactivatekey", gettext("key that activates the X input method")) |
15870
df0426d67bb3
patch 8.1.0942: options window still checks for the multi_byte feature
Bram Moolenaar <Bram@vim.org>
parents:
15746
diff
changeset
|
1309 call <SID>OptionG("imak", &imak) |
7 | 1310 endif |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1311 call <SID>AddOption("ambiwidth", gettext("width of ambiguous width characters")) |
15870
df0426d67bb3
patch 8.1.0942: options window still checks for the multi_byte feature
Bram Moolenaar <Bram@vim.org>
parents:
15746
diff
changeset
|
1312 call <SID>OptionG("ambw", &ambw) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1313 call <SID>AddOption("emoji", gettext("emoji characters are full width")) |
15870
df0426d67bb3
patch 8.1.0942: options window still checks for the multi_byte feature
Bram Moolenaar <Bram@vim.org>
parents:
15746
diff
changeset
|
1314 call <SID>BinOptionG("emo", &emo) |
7 | 1315 |
1316 | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1317 call <SID>Header(gettext("various")) |
22723 | 1318 call <SID>AddOption("virtualedit", gettext("when to use virtual editing: \"block\", \"insert\", \"all\"\nand/or \"onemore\"")) |
15729 | 1319 call <SID>OptionG("ve", &ve) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1320 call <SID>AddOption("eventignore", gettext("list of autocommand events which are to be ignored")) |
15729 | 1321 call <SID>OptionG("ei", &ei) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1322 call <SID>AddOption("loadplugins", gettext("load plugin scripts when starting up")) |
7 | 1323 call <SID>BinOptionG("lpl", &lpl) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1324 call <SID>AddOption("exrc", gettext("enable reading .vimrc/.exrc/.gvimrc in the current directory")) |
7 | 1325 call <SID>BinOptionG("ex", &ex) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1326 call <SID>AddOption("secure", gettext("safer working with script files in the current directory")) |
7 | 1327 call <SID>BinOptionG("secure", &secure) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1328 call <SID>AddOption("gdefault", gettext("use the 'g' flag for \":substitute\"")) |
7 | 1329 call <SID>BinOptionG("gd", &gd) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1330 call <SID>AddOption("edcompatible", gettext("'g' and 'c' flags of \":substitute\" toggle")) |
7 | 1331 call <SID>BinOptionG("ed", &ed) |
1120 | 1332 if exists("+opendevice") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1333 call <SID>AddOption("opendevice", gettext("allow reading/writing devices")) |
1120 | 1334 call <SID>BinOptionG("odev", &odev) |
1335 endif | |
1336 if exists("+maxfuncdepth") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1337 call <SID>AddOption("maxfuncdepth", gettext("maximum depth of function calls")) |
7 | 1338 call append("$", " \tset mfd=" . &mfd) |
1120 | 1339 endif |
7 | 1340 if has("mksession") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1341 call <SID>AddOption("sessionoptions", gettext("list of words that specifies what to put in a session file")) |
7 | 1342 call <SID>OptionG("ssop", &ssop) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1343 call <SID>AddOption("viewoptions", gettext("list of words that specifies what to save for :mkview")) |
7 | 1344 call <SID>OptionG("vop", &vop) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1345 call <SID>AddOption("viewdir", gettext("directory where to store files with :mkview")) |
7 | 1346 call <SID>OptionG("vdir", &vdir) |
1347 endif | |
1348 if has("viminfo") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1349 call <SID>AddOption("viminfo", gettext("list that specifies what to write in the viminfo file")) |
7 | 1350 call <SID>OptionG("vi", &vi) |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1351 call <SID>AddOption("viminfofile", gettext("file name used for the viminfo file")) |
11914 | 1352 call <SID>OptionG("vif", &vif) |
7 | 1353 endif |
1354 if has("quickfix") | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1355 call <SID>AddOption("bufhidden", gettext("what happens with a buffer when it's no longer in a window")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
1356 call append("$", "\t" .. s:local_to_buffer) |
7 | 1357 call <SID>OptionL("bh") |
22723 | 1358 call <SID>AddOption("buftype", gettext("empty, \"nofile\", \"nowrite\", \"quickfix\", etc.: type of buffer")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
1359 call append("$", "\t" .. s:local_to_buffer) |
7 | 1360 call <SID>OptionL("bt") |
1361 endif | |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1362 call <SID>AddOption("buflisted", gettext("whether the buffer shows up in the buffer list")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
1363 call append("$", "\t" .. s:local_to_buffer) |
7 | 1364 call <SID>BinOptionL("bl") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1365 call <SID>AddOption("debug", gettext("set to \"msg\" to see all error messages")) |
7 | 1366 call append("$", " \tset debug=" . &debug) |
9852
4eea48b76d03
commit https://github.com/vim/vim/commit/95ec9d6a6ab3117d60ff638670a803d43974ba51
Christian Brabandt <cb@256bit.org>
parents:
9536
diff
changeset
|
1367 if has("signs") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1368 call <SID>AddOption("signcolumn", gettext("whether to show the signcolumn")) |
22180
786ca9e1dc9a
patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
21989
diff
changeset
|
1369 call append("$", "\t" .. s:local_to_window) |
9852
4eea48b76d03
commit https://github.com/vim/vim/commit/95ec9d6a6ab3117d60ff638670a803d43974ba51
Christian Brabandt <cb@256bit.org>
parents:
9536
diff
changeset
|
1370 call <SID>OptionL("scl") |
4eea48b76d03
commit https://github.com/vim/vim/commit/95ec9d6a6ab3117d60ff638670a803d43974ba51
Christian Brabandt <cb@256bit.org>
parents:
9536
diff
changeset
|
1371 endif |
14 | 1372 if has("mzscheme") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1373 call <SID>AddOption("mzquantum", gettext("interval in milliseconds between polls for MzScheme threads")) |
14 | 1374 call append("$", " \tset mzq=" . &mzq) |
1375 endif | |
7220
1931b890e7d7
commit https://github.com/vim/vim/commit/d4ece23e2e602d820ab7367c383dc0d72dd87029
Christian Brabandt <cb@256bit.org>
parents:
6956
diff
changeset
|
1376 if exists("&luadll") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1377 call <SID>AddOption("luadll", gettext("name of the Lua dynamic library")) |
7220
1931b890e7d7
commit https://github.com/vim/vim/commit/d4ece23e2e602d820ab7367c383dc0d72dd87029
Christian Brabandt <cb@256bit.org>
parents:
6956
diff
changeset
|
1378 call <SID>OptionG("luadll", &luadll) |
1931b890e7d7
commit https://github.com/vim/vim/commit/d4ece23e2e602d820ab7367c383dc0d72dd87029
Christian Brabandt <cb@256bit.org>
parents:
6956
diff
changeset
|
1379 endif |
1931b890e7d7
commit https://github.com/vim/vim/commit/d4ece23e2e602d820ab7367c383dc0d72dd87029
Christian Brabandt <cb@256bit.org>
parents:
6956
diff
changeset
|
1380 if exists("&perldll") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1381 call <SID>AddOption("perldll", gettext("name of the Perl dynamic library")) |
7220
1931b890e7d7
commit https://github.com/vim/vim/commit/d4ece23e2e602d820ab7367c383dc0d72dd87029
Christian Brabandt <cb@256bit.org>
parents:
6956
diff
changeset
|
1382 call <SID>OptionG("perldll", &perldll) |
1931b890e7d7
commit https://github.com/vim/vim/commit/d4ece23e2e602d820ab7367c383dc0d72dd87029
Christian Brabandt <cb@256bit.org>
parents:
6956
diff
changeset
|
1383 endif |
10722
7598ce51bf2a
patch 8.0.0251: not easy to select Python 2 or 3
Christian Brabandt <cb@256bit.org>
parents:
9975
diff
changeset
|
1384 if has('pythonx') |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1385 call <SID>AddOption("pyxversion", gettext("whether to use Python 2 or 3")) |
10722
7598ce51bf2a
patch 8.0.0251: not easy to select Python 2 or 3
Christian Brabandt <cb@256bit.org>
parents:
9975
diff
changeset
|
1386 call append("$", " \tset pyx=" . &wd) |
7598ce51bf2a
patch 8.0.0251: not easy to select Python 2 or 3
Christian Brabandt <cb@256bit.org>
parents:
9975
diff
changeset
|
1387 endif |
7220
1931b890e7d7
commit https://github.com/vim/vim/commit/d4ece23e2e602d820ab7367c383dc0d72dd87029
Christian Brabandt <cb@256bit.org>
parents:
6956
diff
changeset
|
1388 if exists("&pythondll") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1389 call <SID>AddOption("pythondll", gettext("name of the Python 2 dynamic library")) |
7220
1931b890e7d7
commit https://github.com/vim/vim/commit/d4ece23e2e602d820ab7367c383dc0d72dd87029
Christian Brabandt <cb@256bit.org>
parents:
6956
diff
changeset
|
1390 call <SID>OptionG("pythondll", &pythondll) |
1931b890e7d7
commit https://github.com/vim/vim/commit/d4ece23e2e602d820ab7367c383dc0d72dd87029
Christian Brabandt <cb@256bit.org>
parents:
6956
diff
changeset
|
1391 endif |
13154
53cc7ea77c54
patch 8.0.1451: difficult to set the python home directories properly
Christian Brabandt <cb@256bit.org>
parents:
12909
diff
changeset
|
1392 if exists("&pythonhome") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1393 call <SID>AddOption("pythonhome", gettext("name of the Python 2 home directory")) |
13154
53cc7ea77c54
patch 8.0.1451: difficult to set the python home directories properly
Christian Brabandt <cb@256bit.org>
parents:
12909
diff
changeset
|
1394 call <SID>OptionG("pythonhome", &pythonhome) |
53cc7ea77c54
patch 8.0.1451: difficult to set the python home directories properly
Christian Brabandt <cb@256bit.org>
parents:
12909
diff
changeset
|
1395 endif |
7220
1931b890e7d7
commit https://github.com/vim/vim/commit/d4ece23e2e602d820ab7367c383dc0d72dd87029
Christian Brabandt <cb@256bit.org>
parents:
6956
diff
changeset
|
1396 if exists("&pythonthreedll") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1397 call <SID>AddOption("pythonthreedll", gettext("name of the Python 3 dynamic library")) |
7220
1931b890e7d7
commit https://github.com/vim/vim/commit/d4ece23e2e602d820ab7367c383dc0d72dd87029
Christian Brabandt <cb@256bit.org>
parents:
6956
diff
changeset
|
1398 call <SID>OptionG("pythonthreedll", &pythonthreedll) |
1931b890e7d7
commit https://github.com/vim/vim/commit/d4ece23e2e602d820ab7367c383dc0d72dd87029
Christian Brabandt <cb@256bit.org>
parents:
6956
diff
changeset
|
1399 endif |
13154
53cc7ea77c54
patch 8.0.1451: difficult to set the python home directories properly
Christian Brabandt <cb@256bit.org>
parents:
12909
diff
changeset
|
1400 if exists("&pythonthreehome") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1401 call <SID>AddOption("pythonthreehome", gettext("name of the Python 3 home directory")) |
13154
53cc7ea77c54
patch 8.0.1451: difficult to set the python home directories properly
Christian Brabandt <cb@256bit.org>
parents:
12909
diff
changeset
|
1402 call <SID>OptionG("pythonthreehome", &pythonthreehome) |
53cc7ea77c54
patch 8.0.1451: difficult to set the python home directories properly
Christian Brabandt <cb@256bit.org>
parents:
12909
diff
changeset
|
1403 endif |
7222
4e86d5700260
commit https://github.com/vim/vim/commit/a93f975e8b39d7cfc8145dbe181cc4e5e4ec0bdf
Christian Brabandt <cb@256bit.org>
parents:
7220
diff
changeset
|
1404 if exists("&rubydll") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1405 call <SID>AddOption("rubydll", gettext("name of the Ruby dynamic library")) |
7222
4e86d5700260
commit https://github.com/vim/vim/commit/a93f975e8b39d7cfc8145dbe181cc4e5e4ec0bdf
Christian Brabandt <cb@256bit.org>
parents:
7220
diff
changeset
|
1406 call <SID>OptionG("rubydll", &rubydll) |
4e86d5700260
commit https://github.com/vim/vim/commit/a93f975e8b39d7cfc8145dbe181cc4e5e4ec0bdf
Christian Brabandt <cb@256bit.org>
parents:
7220
diff
changeset
|
1407 endif |
7538
c9fc24b76293
commit https://github.com/vim/vim/commit/8a5115cf18751022387af2085f374d38c60dde83
Christian Brabandt <cb@256bit.org>
parents:
7511
diff
changeset
|
1408 if exists("&tcldll") |
22228
222f8e19ed01
patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents:
22206
diff
changeset
|
1409 call <SID>AddOption("tcldll", gettext("name of the Tcl dynamic library")) |
7538
c9fc24b76293
commit https://github.com/vim/vim/commit/8a5115cf18751022387af2085f374d38c60dde83
Christian Brabandt <cb@256bit.org>
parents:
7511
diff
changeset
|
1410 call <SID>OptionG("tcldll", &tcldll) |
c9fc24b76293
commit https://github.com/vim/vim/commit/8a5115cf18751022387af2085f374d38c60dde83
Christian Brabandt <cb@256bit.org>
parents:
7511
diff
changeset
|
1411 endif |
12756
3b26420fc639
Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
12499
diff
changeset
|
1412 if exists("&mzschemedll") |
22335
8e535ffc8a38
patch 8.2.1716: options window has duplicate translations
Bram Moolenaar <Bram@vim.org>
parents:
22228
diff
changeset
|
1413 call <SID>AddOption("mzschemedll", gettext("name of the MzScheme dynamic library")) |
12756
3b26420fc639
Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
12499
diff
changeset
|
1414 call <SID>OptionG("mzschemedll", &mzschemedll) |
22335
8e535ffc8a38
patch 8.2.1716: options window has duplicate translations
Bram Moolenaar <Bram@vim.org>
parents:
22228
diff
changeset
|
1415 call <SID>AddOption("mzschemegcdll", gettext("name of the MzScheme GC dynamic library")) |
12756
3b26420fc639
Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
12499
diff
changeset
|
1416 call <SID>OptionG("mzschemegcdll", &mzschemegcdll) |
3b26420fc639
Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents:
12499
diff
changeset
|
1417 endif |
7 | 1418 |
1419 set cpo&vim | |
1420 | |
1421 " go to first line | |
1422 1 | |
1423 | |
1424 " reset 'modified', so that ":q" can be used to close the window | |
1425 setlocal nomodified | |
1426 | |
1427 if has("syntax") | |
1428 " Use Vim highlighting, with some additional stuff | |
1429 setlocal ft=vim | |
1430 syn match optwinHeader "^ \=[0-9].*" | |
1431 syn match optwinName "^[a-z]*\t" nextgroup=optwinComment | |
1432 syn match optwinComment ".*" contained | |
1433 syn match optwinComment "^\t.*" | |
1434 if !exists("did_optwin_syntax_inits") | |
1435 let did_optwin_syntax_inits = 1 | |
1436 hi link optwinHeader Title | |
1437 hi link optwinName Identifier | |
1438 hi link optwinComment Comment | |
1439 endif | |
1440 endif | |
1441 | |
1442 " Install autocommands to enable mappings in option-window | |
1443 noremap <silent> <buffer> <CR> <C-\><C-N>:call <SID>CR()<CR> | |
1444 inoremap <silent> <buffer> <CR> <Esc>:call <SID>CR()<CR> | |
1445 noremap <silent> <buffer> <Space> :call <SID>Space()<CR> | |
1446 | |
1447 " Make the buffer be deleted when the window is closed. | |
1448 setlocal buftype=nofile bufhidden=delete noswapfile | |
1449 | |
1450 augroup optwin | |
1451 au! BufUnload,BufHidden option-window nested | |
1452 \ call <SID>unload() | delfun <SID>unload | |
1453 augroup END | |
1454 | |
22206
5251a6592aaa
patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents:
22186
diff
changeset
|
1455 func <SID>unload() |
7 | 1456 delfun <SID>CR |
1457 delfun <SID>Space | |
1458 delfun <SID>Find | |
1459 delfun <SID>Update | |
1460 delfun <SID>OptionL | |
1461 delfun <SID>OptionG | |
1462 delfun <SID>BinOptionL | |
1463 delfun <SID>BinOptionG | |
1464 delfun <SID>Header | |
1465 au! optwin | |
22206
5251a6592aaa
patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents:
22186
diff
changeset
|
1466 endfunc |
7 | 1467 |
1468 " Restore the previous value of 'title' and 'icon'. | |
1469 let &title = s:old_title | |
1470 let &icon = s:old_icon | |
1471 let &ru = s:old_ru | |
1472 let &sc = s:old_sc | |
1473 let &cpo = s:cpo_save | |
13346
4dbf2a6972e6
patch 8.0.1547: undo in the options window makes it empty
Christian Brabandt <cb@256bit.org>
parents:
13341
diff
changeset
|
1474 let &ul = s:old_ul |
4dbf2a6972e6
patch 8.0.1547: undo in the options window makes it empty
Christian Brabandt <cb@256bit.org>
parents:
13341
diff
changeset
|
1475 unlet s:old_title s:old_icon s:old_ru s:old_sc s:cpo_save s:idx s:lnum s:old_ul |
2908 | 1476 |
1477 " vim: ts=8 sw=2 sts=2 |