annotate runtime/optwin.vim @ 35075:43739470fe40 default tip

runtime(asm): missing setlocal in indent plugin (#14658) Commit: https://github.com/vim/vim/commit/2e9b9e9a9ebf3fd40437260ecd6b1e23b02c636b Author: Marc Sven Schulte <167623652+msschulte@users.noreply.github.com> Date: Sun Apr 28 21:43:03 2024 +0200 runtime(asm): missing setlocal in indent plugin (https://github.com/vim/vim/issues/14658) Signed-off-by: Marc Sven Schulte <167623652+msschulte@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sun, 28 Apr 2024 21:45:03 +0200
parents dd8f5311cee5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " These commands create the option window.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 "
32770
4027cefc2aab Farewell to Bram and dedicate upcoming Vim 9.1 to him (#12749)
Christian Brabandt <cb@256bit.org>
parents: 31579
diff changeset
3 " Maintainer: The Vim Project <https://github.com/vim/vim>
33082
7ff767f84630 runtime(optwin): Fix for 'splitkeep' option (#12974)
Christian Brabandt <cb@256bit.org>
parents: 32770
diff changeset
4 " Last Change: 2023 Aug 31
32770
4027cefc2aab Farewell to Bram and dedicate upcoming Vim 9.1 to him (#12749)
Christian Brabandt <cb@256bit.org>
parents: 31579
diff changeset
5 " Former Maintainer: Bram Moolenaar <Bram@vim.org>
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 " 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
8 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
9 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
10 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
11 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
12 if win_gotoid(winids[0]) == 1
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 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
15 endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 " Make sure the '<' flag is not included in 'cpoptions', otherwise <CR> would
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 " not be recognized. See ":help 'cpoptions'".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 let s:cpo_save = &cpo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 set cpo&vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 " 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
24 func <SID>CR()
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 " If on a continued comment line, go back to the first comment line
2908
fd09a9c8468e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
27 let lnum = search("^[^\t]", 'bWcn')
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 let line = getline(lnum)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 " <CR> on a "set" line executes the option line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 if match(line, "^ \tset ") >= 0
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 " For a local option: go to the previous window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 " If this is a help window, go to the window below it
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 let thiswin = winnr()
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 let local = <SID>Find(lnum)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 if local >= 0
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 exe line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 call <SID>Update(lnum, line, local, thiswin)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 " <CR> on a "option" line shows help for that option
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 elseif match(line, "^[a-z]") >= 0
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 let name = substitute(line, '\([^\t]*\).*', '\1', "")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 exe "help '" . name . "'"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 " <CR> on an index line jumps to the group
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 elseif match(line, '^ \=[0-9]') >= 0
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 exe "norm! /" . line . "\<CR>zt"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 endif
22206
5251a6592aaa patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents: 22186
diff changeset
51 endfunc
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 " 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
54 func <SID>Space()
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 let lnum = line(".")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 let line = getline(lnum)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 " <Space> on a "set" line refreshes the option line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 if match(line, "^ \tset ") >= 0
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 " For a local option: go to the previous window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 " If this is a help window, go to the window below it
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 let thiswin = winnr()
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 let local = <SID>Find(lnum)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 if local >= 0
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 call <SID>Update(lnum, line, local, thiswin)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 endif
22206
5251a6592aaa patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents: 22186
diff changeset
71 endfunc
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72
22180
786ca9e1dc9a patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 21989
diff changeset
73 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
74 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
75 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
76
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 " find the window in which the option applies
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 " 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
79 func <SID>Find(lnum)
22180
786ca9e1dc9a patch 8.2.1639: options window cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 21989
diff changeset
80 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
81 if line =~ s:local_to_window || line =~ s:local_to_buffer
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 let local = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 let thiswin = winnr()
2908
fd09a9c8468e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
84 wincmd p
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 if exists("b:current_syntax") && b:current_syntax == "help"
2908
fd09a9c8468e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
86 wincmd j
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 if winnr() == thiswin
2908
fd09a9c8468e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
88 wincmd j
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 let local = 0
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 if local && (winnr() == thiswin || (exists("b:current_syntax")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 \ && b:current_syntax == "help"))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 echo "Don't know in which window"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 let local = -1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 return local
22206
5251a6592aaa patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents: 22186
diff changeset
100 endfunc
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 " 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
103 func <SID>Update(lnum, line, local, thiswin)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 " get the new value of the option and update the option window line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 if match(a:line, "=") >= 0
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 let name = substitute(a:line, '^ \tset \([^=]*\)=.*', '\1', "")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 let name = substitute(a:line, '^ \tset \(no\)\=\([a-z]*\).*', '\2', "")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 if name == "pt" && &pt =~ "\x80"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 let val = <SID>PTvalue()
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 else
2908
fd09a9c8468e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
113 let val = escape(eval('&' . name), " \t\\\"|")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 if a:local
2908
fd09a9c8468e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
116 exe a:thiswin . "wincmd w"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 if match(a:line, "=") >= 0 || (val != "0" && val != "1")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 call setline(a:lnum, " \tset " . name . "=" . val)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 if val
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 call setline(a:lnum, " \tset " . name . "\tno" . name)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 call setline(a:lnum, " \tset no" . name . "\t" . name)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 set nomodified
22206
5251a6592aaa patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents: 22186
diff changeset
128 endfunc
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 " 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
131 " Reset 'undolevels' to avoid undo'ing until the buffer is empty.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 let s:old_title = &title
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133 let s:old_icon = &icon
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 let s:old_sc = &sc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 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
136 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
137 set notitle noicon nosc noru ul=-1
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 " If the current window is a help window, try finding a non-help window.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 " Relies on syntax highlighting to be switched on.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 let s:thiswin = winnr()
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 while exists("b:current_syntax") && b:current_syntax == "help"
2908
fd09a9c8468e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
143 wincmd w
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 if s:thiswin == winnr()
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 break
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 endwhile
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148
12039
84066f043ab9 patch 8.0.0900: :tab options doesn't open a new tab page
Christian Brabandt <cb@256bit.org>
parents: 11914
diff changeset
149 " 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
150 exe $OPTWIN_CMD . ' new option-window'
2908
fd09a9c8468e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
151 setlocal ts=15 tw=0 noro buftype=nofile
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 " 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
154 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
155 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
156 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
157 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
158 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
159 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
160 call append(6, gettext('" Hit <Space> on a "set" line to refresh it.'))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 " These functions are called often below. Keep them fast!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163
22206
5251a6592aaa patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents: 22186
diff changeset
164 " 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
165 " 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
166 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
167 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
168 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
169 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
170 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
171 endfor
5251a6592aaa patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents: 22186
diff changeset
172 endfunc
5251a6592aaa patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents: 22186
diff changeset
173
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 " 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
175 func <SID>BinOptionL(name)
2908
fd09a9c8468e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
176 let val = getwinvar(winnr('#'), '&' . a:name)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177 call append("$", substitute(substitute(" \tset " . val . a:name . "\t" .
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 \!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
179 endfunc
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181 " 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
182 func <SID>BinOptionG(name, val)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183 call append("$", substitute(substitute(" \tset " . a:val . a:name . "\t" .
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 \!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
185 endfunc
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187 " 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
188 func <SID>OptionL(name)
2908
fd09a9c8468e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
189 let val = escape(getwinvar(winnr('#'), '&' . a:name), " \t\\\"|")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190 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
191 endfunc
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193 " 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
194 func <SID>OptionG(name, val)
2908
fd09a9c8468e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
195 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
196 endfunc
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198 let s:idx = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199 let s:lnum = line("$")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200 call append("$", "")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201
22206
5251a6592aaa patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents: 22186
diff changeset
202 func <SID>Header(text)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203 let line = s:idx . " " . a:text
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204 if s:idx < 10
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205 let line = " " . line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207 call append("$", "")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208 call append("$", line)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209 call append("$", "")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210 call append(s:lnum, line)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211 let s:idx = s:idx + 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212 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
213 endfunc
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
214
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
215 " 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
216 func <SID>PTvalue()
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
217 redir @a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218 silent set pt
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
219 redir END
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
220 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
221 endfunc
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
222
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
223 " Restore the previous value of 'cpoptions' here, it's used below.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
224 let &cpo = s:cpo_save
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
225
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
226 " List of all options, organized by function.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
227 " The text should be sufficient to know what the option is used for.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
228
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
229 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
230 call <SID>AddOption("compatible", gettext("behave very Vi compatible (not advisable)"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
231 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
232 call <SID>AddOption("cpoptions", gettext("list of flags to specify Vi compatibility"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
233 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
234 call <SID>AddOption("insertmode", gettext("use Insert mode as the default mode"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
235 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
236 call <SID>AddOption("paste", gettext("paste mode, insert typed text literally"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
237 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
238 call <SID>AddOption("pastetoggle", gettext("key sequence to toggle paste mode"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
239 if &pt =~ "\x80"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
240 call append("$", " \tset pt=" . <SID>PTvalue())
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
241 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
242 call <SID>OptionG("pt", &pt)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
243 endif
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
244 call <SID>AddOption("runtimepath", gettext("list of directories used for runtime files and plugins"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
245 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
246 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
247 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
248 call <SID>AddOption("helpfile", gettext("name of the main help file"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
249 call <SID>OptionG("hf", &hf)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
250
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
251
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
252 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
253 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
254 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
255 call <SID>AddOption("startofline", gettext("many jump commands move the cursor to the first non-blank\ncharacter of a line"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
256 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
257 call <SID>AddOption("paragraphs", gettext("nroff macro names that separate paragraphs"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
258 call <SID>OptionG("para", &para)
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
259 call <SID>AddOption("sections", gettext("nroff macro names that separate sections"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
260 call <SID>OptionG("sect", &sect)
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
261 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
262 call append("$", "\t" .. s:global_or_local)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
263 call <SID>OptionG("pa", &pa)
26591
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 26502
diff changeset
264 call <SID>AddOption("cdhome", gettext(":cd without argument goes to the home directory"))
3a63b1e4a6f4 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 26502
diff changeset
265 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
266 call <SID>AddOption("cdpath", gettext("list of directory names used for :cd"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
267 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
268 if exists("+autochdir")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
269 call <SID>AddOption("autochdir", gettext("change to directory of file in buffer"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
270 call <SID>BinOptionG("acd", &acd)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
271 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
272 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
273 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
274 call <SID>AddOption("wrapscan", gettext("search commands wrap around the end of the buffer"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
275 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
276 call <SID>AddOption("incsearch", gettext("show match for partly typed search command"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
277 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
278 call <SID>AddOption("magic", gettext("change the way backslashes are used in search patterns"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
279 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
280 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
281 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
282 call <SID>AddOption("ignorecase", gettext("ignore case when using a search pattern"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
283 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
284 call <SID>AddOption("smartcase", gettext("override 'ignorecase' when pattern has upper case characters"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
285 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
286 call <SID>AddOption("casemap", gettext("what method to use for changing case of letters"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
287 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
288 call <SID>AddOption("maxmempattern", gettext("maximum amount of memory in Kbyte used for pattern matching"))
184
476198990769 updated for version 7.0057
vimboss
parents: 41
diff changeset
289 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
290 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
291 call append("$", "\t" .. s:global_or_local)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
292 call <SID>OptionG("def", &def)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
293 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
294 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
295 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
296 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
297 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
298 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
299 call <SID>OptionL("inex")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
300 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
301
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
302
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
303 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
304 call <SID>AddOption("tagbsearch", gettext("use binary searching in tags files"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
305 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
306 call <SID>AddOption("taglength", gettext("number of significant characters in a tag name or zero"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
307 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
308 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
309 call append("$", "\t" .. s:global_or_local)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
310 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
311 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
312 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
313 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
314 call <SID>AddOption("tagrelative", gettext("file names in a tags file are relative to the tags file"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
315 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
316 call <SID>AddOption("tagstack", gettext("a :tag command will use the tagstack"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
317 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
318 call <SID>AddOption("showfulltag", gettext("when completing tags in Insert mode show more info"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
319 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
320 if has("eval")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
321 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
322 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
323 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
324 endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
325 if has("cscope")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
326 call <SID>AddOption("cscopeprg", gettext("command for executing cscope"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
327 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
328 call <SID>AddOption("cscopetag", gettext("use cscope for tag commands"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
329 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
330 call <SID>AddOption("cscopetagorder", gettext("0 or 1; the order in which \":cstag\" performs a search"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
331 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
332 call <SID>AddOption("cscopeverbose", gettext("give messages when adding a cscope database"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
333 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
334 call <SID>AddOption("cscopepathcomp", gettext("how many components of the path to show"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
335 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
336 call <SID>AddOption("cscopequickfix", gettext("when to open a quickfix window for cscope"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
337 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
338 call <SID>AddOption("cscoperelative", gettext("file names in a cscope file are relative to that file"))
2908
fd09a9c8468e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
339 call <SID>BinOptionG("csre", &csre)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
340 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
341
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
342
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
343 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
344 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
345 call append("$", "\t" .. s:local_to_window)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
346 call <SID>OptionL("scr")
30610
6c6ac189a05f patch 9.0.0640: cannot scroll by screen line if a line wraps
Bram Moolenaar <Bram@vim.org>
parents: 30324
diff changeset
347 call <SID>AddOption("smoothscroll", gettext("scroll by screen line"))
6c6ac189a05f patch 9.0.0640: cannot scroll by screen line if a line wraps
Bram Moolenaar <Bram@vim.org>
parents: 30324
diff changeset
348 call append("$", "\t" .. s:local_to_window)
6c6ac189a05f patch 9.0.0640: cannot scroll by screen line if a line wraps
Bram Moolenaar <Bram@vim.org>
parents: 30324
diff changeset
349 call <SID>BinOptionL("sms")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
350 call <SID>AddOption("scrolloff", gettext("number of screen lines to show around the cursor"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
351 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
352 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
353 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
354 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
355 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
356 call append("$", "\t" .. s:local_to_window)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
357 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
358 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
359 call append("$", "\t" .. s:local_to_window)
5995
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents: 5814
diff changeset
360 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
361 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
362 call append("$", "\t" .. s:local_to_window)
5995
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents: 5814
diff changeset
363 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
364 call <SID>AddOption("breakat", gettext("which characters might cause a line break"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
365 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
366 call <SID>AddOption("showbreak", gettext("string to put before wrapped screen lines"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
367 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
368 call <SID>AddOption("sidescroll", gettext("minimal number of columns to scroll horizontally"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
369 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
370 call <SID>AddOption("sidescrolloff", gettext("minimal number of columns to keep left and right of the cursor"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
371 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
372 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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
373 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
374 call <SID>AddOption("fillchars", gettext("characters to use for the status line, folds and filler lines"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
375 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
376 call <SID>AddOption("cmdheight", gettext("number of lines used for the command-line"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
377 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
378 call <SID>AddOption("columns", gettext("width of the display"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
379 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
380 call <SID>AddOption("lines", gettext("number of lines in the display"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
381 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
382 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
383 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
384 call <SID>AddOption("lazyredraw", gettext("don't redraw while executing macros"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
385 call <SID>BinOptionG("lz", &lz)
1595
5027d3220e2a updated for version 7.1-308
vimboss
parents: 1120
diff changeset
386 if has("reltime")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
387 call <SID>AddOption("redrawtime", gettext("timeout for 'hlsearch' and :match highlighting in msec"))
1595
5027d3220e2a updated for version 7.1-308
vimboss
parents: 1120
diff changeset
388 call append("$", " \tset rdt=" . &rdt)
5027d3220e2a updated for version 7.1-308
vimboss
parents: 1120
diff changeset
389 endif
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
390 call <SID>AddOption("writedelay", gettext("delay in msec for each char written to the display\n(for debugging)"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
391 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
392 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
393 call append("$", "\t" .. s:local_to_window)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
394 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
395 call <SID>AddOption("listchars", gettext("list of strings used for list mode"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
396 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
397 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
398 call append("$", "\t" .. s:local_to_window)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
399 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
400 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
401 call append("$", "\t" .. s:local_to_window)
2178
c6f1aa1e9f32 Add 'relativenumber' patch from Markus Heidelberg.
Bram Moolenaar <bram@vim.org>
parents: 1595
diff changeset
402 call <SID>BinOptionL("rnu")
13
24d5189d3956 updated for version 7.0005
vimboss
parents: 12
diff changeset
403 if has("linebreak")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
404 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
405 call append("$", "\t" .. s:local_to_window)
13
24d5189d3956 updated for version 7.0005
vimboss
parents: 12
diff changeset
406 call <SID>OptionL("nuw")
24d5189d3956 updated for version 7.0005
vimboss
parents: 12
diff changeset
407 endif
2250
1bac28a53fae Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents: 2214
diff changeset
408 if has("conceal")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
409 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
410 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
411 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
412 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
413 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
414 call <SID>OptionL("cocu")
2250
1bac28a53fae Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents: 2214
diff changeset
415 endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
416
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
417
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
418 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
419 call <SID>AddOption("background", gettext("\"dark\" or \"light\"; the background color brightness"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
420 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
421 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
422 call append("$", "\t" .. s:local_to_buffer)
15729
fe57e4f0eac1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 14175
diff changeset
423 call <SID>OptionL("ft")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
424 if has("syntax")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
425 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
426 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
427 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
428 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
429 call append("$", "\t" .. s:local_to_buffer)
409
e6fd82f42ba0 updated for version 7.0107
vimboss
parents: 393
diff changeset
430 call <SID>OptionL("smc")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
431 endif
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("highlight", gettext("which highlighting to use for various occasions"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
433 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
434 call <SID>AddOption("hlsearch", gettext("highlight all matches for the last used search pattern"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
435 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
436 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
437 call append("$", "\t" .. s:local_to_window)
16808
c002c4899529 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 16447
diff changeset
438 call <SID>OptionL("wcr")
9046
057fb9d0191b commit https://github.com/vim/vim/commit/8a24b794b89916c8074892e7b25121a21f1fa9c9
Christian Brabandt <cb@256bit.org>
parents: 9042
diff changeset
439 if has("termguicolors")
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("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
441 call <SID>BinOptionG("tgc", &tgc)
9042
21bd2230c5cd commit https://github.com/vim/vim/commit/8e3d1b6326c103cc92f8d07b1161ee5172acf201
Christian Brabandt <cb@256bit.org>
parents: 8962
diff changeset
442 endif
381
997a094e44d2 updated for version 7.0099
vimboss
parents: 184
diff changeset
443 if has("syntax")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
444 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
445 call append("$", "\t" .. s:local_to_window)
737
59971e227f8c updated for version 7.0222
vimboss
parents: 721
diff changeset
446 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
447 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
448 call append("$", "\t" .. s:local_to_window)
737
59971e227f8c updated for version 7.0222
vimboss
parents: 721
diff changeset
449 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
450 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
451 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
452 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
453 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
454 call append("$", "\t" .. s:local_to_window)
2341
9272cc83214f Minor runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 2282
diff changeset
455 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
456 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
457 call append("$", "\t" .. s:local_to_window)
381
997a094e44d2 updated for version 7.0099
vimboss
parents: 184
diff changeset
458 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
459 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
460 call append("$", "\t" .. s:local_to_buffer)
381
997a094e44d2 updated for version 7.0099
vimboss
parents: 184
diff changeset
461 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
462 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
463 call append("$", "\t" .. s:local_to_buffer)
381
997a094e44d2 updated for version 7.0099
vimboss
parents: 184
diff changeset
464 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
465 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
466 call append("$", "\t" .. s:local_to_buffer)
393
7180554eefb1 updated for version 7.0104
vimboss
parents: 381
diff changeset
467 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
468 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
469 call append("$", "\t" .. s:local_to_buffer)
20856
83cfa1ef1bf2 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 20753
diff changeset
470 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
471 call <SID>AddOption("spellsuggest", gettext("methods used to suggest corrections"))
381
997a094e44d2 updated for version 7.0099
vimboss
parents: 184
diff changeset
472 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
473 call <SID>AddOption("mkspellmem", gettext("amount of memory used by :mkspell before compressing"))
500
4772a5e3f9fa updated for version 7.0138
vimboss
parents: 409
diff changeset
474 call <SID>OptionG("msm", &msm)
381
997a094e44d2 updated for version 7.0099
vimboss
parents: 184
diff changeset
475 endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
476
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
477
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
478 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
479 call <SID>AddOption("laststatus", gettext("0, 1 or 2; when to use a status line for the last window"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
480 call append("$", " \tset ls=" . &ls)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
481 if has("statusline")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
482 call <SID>AddOption("statusline", gettext("alternate format to be used for a status line"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
483 call <SID>OptionG("stl", &stl)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
484 endif
34470
dd8f5311cee5 patch 9.1.0147: Cannot keep a buffer focused in a window
Christian Brabandt <cb@256bit.org>
parents: 33082
diff changeset
485 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
486 call <SID>AddOption("equalalways", gettext("make all windows the same size when adding/removing windows"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
487 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
488 call <SID>AddOption("eadirection", gettext("in which direction 'equalalways' works: \"ver\", \"hor\" or \"both\""))
15729
fe57e4f0eac1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 14175
diff changeset
489 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
490 call <SID>AddOption("winheight", gettext("minimal number of lines used for the current window"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
491 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
492 call <SID>AddOption("winminheight", gettext("minimal number of lines used for any window"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
493 call append("$", " \tset wmh=" . &wmh)
34470
dd8f5311cee5 patch 9.1.0147: Cannot keep a buffer focused in a window
Christian Brabandt <cb@256bit.org>
parents: 33082
diff changeset
494 call <SID>AddOption("winfixbuf", gettext("keep window focused on a single buffer"))
dd8f5311cee5 patch 9.1.0147: Cannot keep a buffer focused in a window
Christian Brabandt <cb@256bit.org>
parents: 33082
diff changeset
495 call <SID>OptionG("wfb", &wfb)
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
496 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
497 call append("$", "\t" .. s:local_to_window)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
498 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
499 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
500 call append("$", "\t" .. s:local_to_window)
779
fb913578cbf5 updated for version 7.0228
vimboss
parents: 771
diff changeset
501 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
502 call <SID>AddOption("winwidth", gettext("minimal number of columns used for the current window"))
15729
fe57e4f0eac1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 14175
diff changeset
503 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
504 call <SID>AddOption("winminwidth", gettext("minimal number of columns used for any window"))
15729
fe57e4f0eac1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 14175
diff changeset
505 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
506 call <SID>AddOption("helpheight", gettext("initial height of the help window"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
507 call append("$", " \tset hh=" . &hh)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
508 if has("quickfix")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
509 call <SID>AddOption("previewpopup", gettext("use a popup window for preview"))
17433
ca8e754bdd53 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16808
diff changeset
510 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
511 call <SID>AddOption("previewheight", gettext("default height for the preview window"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
512 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
513 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
514 call append("$", "\t" .. s:local_to_window)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
515 call <SID>BinOptionL("pvw")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
516 endif
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
517 call <SID>AddOption("hidden", gettext("don't unload a buffer when no longer shown in a window"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
518 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
519 call <SID>AddOption("switchbuf", gettext("\"useopen\" and/or \"split\"; which window to use when jumping\nto a buffer"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
520 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
521 call <SID>AddOption("splitbelow", gettext("a new window is put below the current one"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
522 call <SID>BinOptionG("sb", &sb)
30624
f2f35161d75a patch 9.0.0647: the 'splitscroll' option is not a good name
Bram Moolenaar <Bram@vim.org>
parents: 30610
diff changeset
523 call <SID>AddOption("splitkeep", gettext("determines scroll behavior for split windows"))
33082
7ff767f84630 runtime(optwin): Fix for 'splitkeep' option (#12974)
Christian Brabandt <cb@256bit.org>
parents: 32770
diff changeset
524 call <SID>OptionG("spk", &spk)
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
525 call <SID>AddOption("splitright", gettext("a new window is put right of the current one"))
15729
fe57e4f0eac1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 14175
diff changeset
526 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
527 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
528 call append("$", "\t" .. s:local_to_window)
15729
fe57e4f0eac1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 14175
diff changeset
529 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
530 call <SID>AddOption("scrollopt", gettext("\"ver\", \"hor\" and/or \"jump\"; list of options for 'scrollbind'"))
15729
fe57e4f0eac1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 14175
diff changeset
531 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
532 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
533 call append("$", "\t" .. s:local_to_window)
15729
fe57e4f0eac1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 14175
diff changeset
534 call <SID>BinOptionL("crb")
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11077
diff changeset
535 if has("terminal")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
536 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
537 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
538 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
539 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
540 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
541 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
542 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
543 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
544 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
545 if has('win32')
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
546 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
547 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
548 endif
12182
7e6185446ea6 patch 8.0.0971: 'winptydll' missing from :options
Christian Brabandt <cb@256bit.org>
parents: 12039
diff changeset
549 if exists("&winptydll")
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("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
551 call <SID>OptionG("winptydll", &winptydll)
7e6185446ea6 patch 8.0.0971: 'winptydll' missing from :options
Christian Brabandt <cb@256bit.org>
parents: 12039
diff changeset
552 endif
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11077
diff changeset
553 endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
554
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
555
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
556 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
557 call <SID>AddOption("showtabline", gettext("0, 1 or 2; when to use a tab pages line"))
714
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 625
diff changeset
558 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
559 call <SID>AddOption("tabpagemax", gettext("maximum number of tab pages to open for -p and \"tab all\""))
714
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 625
diff changeset
560 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
561 call <SID>AddOption("tabline", gettext("custom tab pages line"))
714
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 625
diff changeset
562 call <SID>OptionG("tal", &tal)
842
a209672376fd updated for version 7.0f
vimboss
parents: 839
diff changeset
563 if has("gui")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
564 call <SID>AddOption("guitablabel", gettext("custom tab page label for the GUI"))
842
a209672376fd updated for version 7.0f
vimboss
parents: 839
diff changeset
565 call <SID>OptionG("gtl", &gtl)
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("guitabtooltip", gettext("custom tab page tooltip for the GUI"))
842
a209672376fd updated for version 7.0f
vimboss
parents: 839
diff changeset
567 call <SID>OptionG("gtt", &gtt)
a209672376fd updated for version 7.0f
vimboss
parents: 839
diff changeset
568 endif
714
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 625
diff changeset
569
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 625
diff changeset
570
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
571 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
572 call <SID>AddOption("term", gettext("name of the used terminal"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
573 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
574
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
575 call <SID>AddOption("ttytype", gettext("alias for 'term'"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
576 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
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("ttybuiltin", gettext("check built-in termcaps first"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
579 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
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("ttyfast", gettext("terminal connection is fast"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
582 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
583
a77b661439f9 patch 8.2.3864: cannot disable requesting key codes from xterm
Bram Moolenaar <Bram@vim.org>
parents: 26591
diff changeset
584 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
585 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
586
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
587 call <SID>AddOption("weirdinvert", gettext("terminal that requires extra redrawing"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
588 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
589
31200
a7801222c9c5 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 30967
diff changeset
590 call <SID>AddOption("keyprotocol", gettext("what keyboard protocol to use for which terminal"))
a7801222c9c5 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 30967
diff changeset
591 call <SID>OptionG("kpc", &kpc)
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
592 call <SID>AddOption("esckeys", gettext("recognize keys that start with <Esc> in Insert mode"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
593 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
594 call <SID>AddOption("scrolljump", gettext("minimal number of lines to scroll at a time"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
595 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
596 call <SID>AddOption("ttyscroll", gettext("maximum number of lines to use scrolling instead of redrawing"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
597 call append("$", " \tset tsl=" . &tsl)
9536
b2aada04d84e commit https://github.com/vim/vim/commit/a06ecab7a5159e744448ace731036f0dc5f87dd4
Christian Brabandt <cb@256bit.org>
parents: 9048
diff changeset
598 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
599 call <SID>AddOption("guicursor", gettext("specifies what the cursor looks like in different modes"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
600 call <SID>OptionG("gcr", &gcr)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
601 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
602 if has("title")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
603 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
604 call <SID>AddOption("title", gettext("show info in the window title"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
605 call <SID>BinOptionG("title", &title)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
606 set notitle
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
607 call <SID>AddOption("titlelen", gettext("percentage of 'columns' used for the window title"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
608 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
609 call <SID>AddOption("titlestring", gettext("when not empty, string to be used for the window title"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
610 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
611 call <SID>AddOption("titleold", gettext("string to restore the title to when exiting Vim"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
612 call <SID>OptionG("titleold", &titleold)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
613 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
614 call <SID>AddOption("icon", gettext("set the text of the icon for this window"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
615 call <SID>BinOptionG("icon", &icon)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
616 set noicon
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
617 call <SID>AddOption("iconstring", gettext("when not empty, text for the icon of this window"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
618 call <SID>OptionG("iconstring", &iconstring)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
619 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
620 if has("win32")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
621 call <SID>AddOption("restorescreen", gettext("restore the screen contents when exiting Vim"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
622 call <SID>BinOptionG("rs", &rs)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
623 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
624
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
625
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
626 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
627 call <SID>AddOption("mouse", gettext("list of flags for using the mouse"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
628 call <SID>OptionG("mouse", &mouse)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
629 if has("gui")
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("mousefocus", gettext("the window with the mouse pointer becomes the current one"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
631 call <SID>BinOptionG("mousef", &mousef)
18594
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18047
diff changeset
632 endif
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
633 call <SID>AddOption("scrollfocus", gettext("the window with the mouse pointer scrolls with the mouse wheel"))
18594
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18047
diff changeset
634 call <SID>BinOptionG("scf", &scf)
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18047
diff changeset
635 if has("gui")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
636 call <SID>AddOption("mousehide", gettext("hide the mouse pointer while typing"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
637 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
638 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
639 call <SID>BinOptionG("mousemev", &mousemev)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
640 endif
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
641 call <SID>AddOption("mousemodel", gettext("\"extend\", \"popup\" or \"popup_setpos\"; what the right\nmouse button is used for"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
642 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
643 call <SID>AddOption("mousetime", gettext("maximum time in msec to recognize a double-click"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
644 call append("$", " \tset mouset=" . &mouset)
22723
5b7ea82bc18f Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22335
diff changeset
645 call <SID>AddOption("ttymouse", gettext("\"xterm\", \"xterm2\", \"sgr\", etc.; type of mouse"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
646 call <SID>OptionG("ttym", &ttym)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
647 if has("mouseshape")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
648 call <SID>AddOption("mouseshape", gettext("what the mouse pointer looks like in different modes"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
649 call <SID>OptionG("mouses", &mouses)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
650 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
651
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
652
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
653 if has("gui")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
654 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
655 call <SID>AddOption("guifont", gettext("list of font names to be used in the GUI"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
656 call <SID>OptionG("gfn", &gfn)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
657 if has("xfontset")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
658 call <SID>AddOption("guifontset", gettext("pair of fonts to be used, for multibyte editing"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
659 call <SID>OptionG("gfs", &gfs)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
660 endif
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
661 call <SID>AddOption("guifontwide", gettext("list of font names to be used for double-wide characters"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
662 call <SID>OptionG("gfw", &gfw)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
663 if has("mac")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
664 call <SID>AddOption("antialias", gettext("use smooth, antialiased fonts"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
665 call <SID>BinOptionG("anti", &anti)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
666 endif
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
667 call <SID>AddOption("guioptions", gettext("list of flags that specify how the GUI works"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
668 call <SID>OptionG("go", &go)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
669 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
670 call <SID>AddOption("toolbar", gettext("\"icons\", \"text\" and/or \"tooltips\"; how to show the toolbar"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
671 call <SID>OptionG("tb", &tb)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
672 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
673 call <SID>AddOption("toolbariconsize", gettext("size of toolbar icons"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
674 call <SID>OptionG("tbis", &tbis)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
675 endif
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
676 call <SID>AddOption("guiheadroom", gettext("room (in pixels) left above/below the window"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
677 call append("$", " \tset ghr=" . &ghr)
26100
babd9f1dbe12 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 26050
diff changeset
678 call <SID>AddOption("guiligatures", gettext("list of ASCII characters that can be combined into complex shapes"))
26050
ebedba7a4898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24268
diff changeset
679 call <SID>OptionG("gli", &gli)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
680 endif
6153
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 5995
diff changeset
681 if has("directx")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
682 call <SID>AddOption("renderoptions", gettext("options for text rendering"))
6153
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 5995
diff changeset
683 call <SID>OptionG("rop", &rop)
1e8ebf870720 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 5995
diff changeset
684 endif
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
685 call <SID>AddOption("guipty", gettext("use a pseudo-tty for I/O to external commands"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
686 call <SID>BinOptionG("guipty", &guipty)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
687 if has("browse")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
688 call <SID>AddOption("browsedir", gettext("\"last\", \"buffer\" or \"current\": which directory used for the file browser"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
689 call <SID>OptionG("bsdir", &bsdir)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
690 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
691 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
692 call <SID>AddOption("langmenu", gettext("language to be used for the menus"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
693 call <SID>OptionG("langmenu", &lm)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
694 endif
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
695 call <SID>AddOption("menuitems", gettext("maximum number of items in one menu"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
696 call append("$", " \tset mis=" . &mis)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
697 if has("winaltkeys")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
698 call <SID>AddOption("winaltkeys", gettext("\"no\", \"yes\" or \"menu\"; how to use the ALT key"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
699 call <SID>OptionG("wak", &wak)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
700 endif
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
701 call <SID>AddOption("linespace", gettext("number of pixel lines to use between characters"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
702 call append("$", " \tset lsp=" . &lsp)
12909
1578c0ba0dd1 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
703 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
704 call <SID>AddOption("balloondelay", gettext("delay in milliseconds before a balloon may pop up"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
705 call append("$", " \tset bdlay=" . &bdlay)
12909
1578c0ba0dd1 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
706 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
707 call <SID>AddOption("ballooneval", gettext("use balloon evaluation in the GUI"))
12909
1578c0ba0dd1 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
708 call <SID>BinOptionG("beval", &beval)
1578c0ba0dd1 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
709 endif
1578c0ba0dd1 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
710 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
711 call <SID>AddOption("balloonevalterm", gettext("use balloon evaluation in the terminal"))
12909
1578c0ba0dd1 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
712 call <SID>BinOptionG("bevalterm", &beval)
1578c0ba0dd1 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12756
diff changeset
713 endif
184
476198990769 updated for version 7.0057
vimboss
parents: 41
diff changeset
714 if has("eval")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
715 call <SID>AddOption("balloonexpr", gettext("expression to show in balloon eval"))
184
476198990769 updated for version 7.0057
vimboss
parents: 41
diff changeset
716 call append("$", " \tset bexpr=" . &bexpr)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
717 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
718 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
719 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
720
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
721 if has("printer")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
722 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
723 call <SID>AddOption("printoptions", gettext("list of items that control the format of :hardcopy output"))
15
631143ac4a01 updated for version 7.0007
vimboss
parents: 14
diff changeset
724 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
725 call <SID>AddOption("printdevice", gettext("name of the printer to be used for :hardcopy"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
726 call <SID>OptionG("pdev", &pdev)
15
631143ac4a01 updated for version 7.0007
vimboss
parents: 14
diff changeset
727 if has("postscript")
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("printexpr", gettext("expression used to print the PostScript file for :hardcopy"))
15
631143ac4a01 updated for version 7.0007
vimboss
parents: 14
diff changeset
729 call <SID>OptionG("pexpr", &pexpr)
631143ac4a01 updated for version 7.0007
vimboss
parents: 14
diff changeset
730 endif
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
731 call <SID>AddOption("printfont", gettext("name of the font to be used for :hardcopy"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
732 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
733 call <SID>AddOption("printheader", gettext("format of the header used for :hardcopy"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
734 call <SID>OptionG("pheader", &pheader)
15
631143ac4a01 updated for version 7.0007
vimboss
parents: 14
diff changeset
735 if has("postscript")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
736 call <SID>AddOption("printencoding", gettext("encoding used to print the PostScript file for :hardcopy"))
15
631143ac4a01 updated for version 7.0007
vimboss
parents: 14
diff changeset
737 call <SID>OptionG("penc", &penc)
631143ac4a01 updated for version 7.0007
vimboss
parents: 14
diff changeset
738 endif
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("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
740 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
741 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
742 call <SID>OptionG("pmbfn", &pmbfn)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
743 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
744
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
745 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
746 call <SID>AddOption("terse", gettext("add 's' flag in 'shortmess' (don't show search message)"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
747 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
748 call <SID>AddOption("shortmess", gettext("list of flags to make messages shorter"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
749 call <SID>OptionG("shm", &shm)
31579
7d68a90cbf5c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 31200
diff changeset
750 call <SID>AddOption("showcmd", gettext("show (partial) command keys in location given by 'showcmdloc'"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
751 let &sc = s:old_sc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
752 call <SID>BinOptionG("sc", &sc)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
753 set nosc
31579
7d68a90cbf5c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 31200
diff changeset
754 call <SID>AddOption("showcmdloc", gettext("location where to show the (partial) command keys for 'showcmd'"))
7d68a90cbf5c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 31200
diff changeset
755 call <SID>OptionG("sloc", &sloc)
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
756 call <SID>AddOption("showmode", gettext("display the current mode in the status line"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
757 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
758 call <SID>AddOption("ruler", gettext("show cursor position below each window"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
759 let &ru = s:old_ru
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
760 call <SID>BinOptionG("ru", &ru)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
761 set noru
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
762 if has("statusline")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
763 call <SID>AddOption("rulerformat", gettext("alternate format to be used for the ruler"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
764 call <SID>OptionG("ruf", &ruf)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
765 endif
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
766 call <SID>AddOption("report", gettext("threshold for reporting number of changed lines"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
767 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
768 call <SID>AddOption("verbose", gettext("the higher the more messages are given"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
769 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
770 call <SID>AddOption("verbosefile", gettext("file to write messages in"))
381
997a094e44d2 updated for version 7.0099
vimboss
parents: 184
diff changeset
771 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
772 call <SID>AddOption("more", gettext("pause listings when the screen is full"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
773 call <SID>BinOptionG("more", &more)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
774 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
775 call <SID>AddOption("confirm", gettext("start a dialog when a command fails"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
776 call <SID>BinOptionG("cf", &cf)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
777 endif
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
778 call <SID>AddOption("errorbells", gettext("ring the bell for error messages"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
779 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
780 call <SID>AddOption("visualbell", gettext("use a visual bell instead of beeping"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
781 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
782 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
783 call <SID>OptionG("belloff", &belloff)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
784 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
785 call <SID>AddOption("helplang", gettext("list of preferred languages for finding help"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
786 call <SID>OptionG("hlg", &hlg)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
787 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
788
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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("selecting 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("selection", gettext("\"old\", \"inclusive\" or \"exclusive\"; how selecting text behaves"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
792 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
793 call <SID>AddOption("selectmode", gettext("\"mouse\", \"key\" and/or \"cmd\"; when to start Select mode\ninstead of Visual mode"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
794 call <SID>OptionG("slm", &slm)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
795 if has("clipboard")
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("clipboard", gettext("\"unnamed\" to use the * register like unnamed register\n\"autoselect\" to always put selected text on the clipboard"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
797 call <SID>OptionG("cb", &cb)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
798 endif
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
799 call <SID>AddOption("keymodel", gettext("\"startsel\" and/or \"stopsel\"; what special keys can do"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
800 call <SID>OptionG("km", &km)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
801
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
802
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
803 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
804 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
805 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
806 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
807 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
808 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
809 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
810 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
811 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
812 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
813 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
814 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
815 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
816 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
817 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
818 call <SID>BinOptionL("ro")
22723
5b7ea82bc18f Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22335
diff changeset
819 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
820 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
821 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
822 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
823 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
824 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
825 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
826 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
827 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
828 call <SID>AddOption("backspace", gettext("specifies what <BS>, CTRL-W, etc. can do in Insert mode"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
829 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
830 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
831 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
832 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
833 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
834 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
835 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
836 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
837 call append("$", "\t" .. s:local_to_buffer)
41
f529edb9bab3 updated for version 7.0025
vimboss
parents: 40
diff changeset
838 call <SID>OptionL("flp")
714
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 625
diff changeset
839 if has("eval")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
840 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
841 call append("$", "\t" .. s:local_to_buffer)
714
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 625
diff changeset
842 call <SID>OptionL("fex")
0f9f4761ad9c updated for version 7.0216
vimboss
parents: 625
diff changeset
843 endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
844 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
845 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
846 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
847 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
848 call <SID>AddOption("completeopt", gettext("whether to use a popup menu for Insert mode completion"))
539
b13dbb7b797c updated for version 7.0153
vimboss
parents: 523
diff changeset
849 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
850 if exists("+completepopup")
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("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
852 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
853 endif
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("pumheight", gettext("maximum height of the popup menu"))
771
c0f1b710ce07 updated for version 7.0226
vimboss
parents: 737
diff changeset
855 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
856 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
857 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
858 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
859 call append("$", "\t" .. s:local_to_buffer)
12
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
860 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
861 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
862 call append("$", "\t" .. s:local_to_buffer)
502
52e76e2b5b65 updated for version 7.0140
vimboss
parents: 500
diff changeset
863 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
864 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
865 call append("$", "\t" .. s:global_or_local)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
866 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
867 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
868 call append("$", "\t" .. s:global_or_local)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
869 call <SID>OptionG("tsr", &tsr)
26050
ebedba7a4898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24268
diff changeset
870 call <SID>AddOption("thesaurusfunc", gettext("function used for thesaurus completion"))
ebedba7a4898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24268
diff changeset
871 call append("$", "\t" .. s:global_or_local)
ebedba7a4898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24268
diff changeset
872 call <SID>OptionG("tsrfu", &tsrfu)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
873 endif
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("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
875 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
876 call <SID>BinOptionL("inf")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
877 if has("digraphs")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
878 call <SID>AddOption("digraph", gettext("enable entering digraphs with c1 <BS> c2"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
879 call <SID>BinOptionG("dg", &dg)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
880 endif
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
881 call <SID>AddOption("tildeop", gettext("the \"~\" command behaves like an operator"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
882 call <SID>BinOptionG("top", &top)
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
883 call <SID>AddOption("operatorfunc", gettext("function called for the \"g@\" operator"))
625
81fe2ccc1207 updated for version 7.0179
vimboss
parents: 539
diff changeset
884 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
885 call <SID>AddOption("showmatch", gettext("when inserting a bracket, briefly jump to its match"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
886 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
887 call <SID>AddOption("matchtime", gettext("tenth of a second to show a match for 'showmatch'"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
888 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
889 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
890 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
891 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
892 call <SID>AddOption("joinspaces", gettext("use two spaces after '.' when joining a line"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
893 call <SID>BinOptionG("js", &js)
22723
5b7ea82bc18f Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22335
diff changeset
894 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
895 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
896 call <SID>OptionL("nf")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
897
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
898
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
899 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
900 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
901 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
902 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
903 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
904 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
905 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
906 if has("vartabs")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
907 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
908 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
909 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
910 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
911 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
912 call <SID>OptionL("vsts")
2ad722003b36 patch 8.1.0105: all tab stops are the same
Christian Brabandt <cb@256bit.org>
parents: 13946
diff changeset
913 endif
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
914 call <SID>AddOption("smarttab", gettext("a <Tab> in an indent inserts 'shiftwidth' spaces"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
915 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
916 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
917 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
918 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
919 call <SID>AddOption("shiftround", gettext("round to 'shiftwidth' for \"<<\" and \">>\""))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
920 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
921 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
922 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
923 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
924 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
925 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
926 call <SID>BinOptionL("ai")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
927 if has("smartindent")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
928 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
929 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
930 call <SID>BinOptionL("si")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
931 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
932 if has("cindent")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
933 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
934 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
935 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
936 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
937 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
938 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
939 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
940 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
941 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
942 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
943 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
944 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
945 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
946 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
947 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
948 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
949 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
950 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
951 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
952 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
953 call <SID>OptionL("indk")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
954 endif
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
955 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
956 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
957 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
958 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
959 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
960 call <SID>BinOptionL("pi")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
961 if has("lispindent")
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("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
963 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
964 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
965 call <SID>AddOption("lispwords", gettext("words that change how lisp indenting works"))
5772
57ecd7a8c0f0 updated for version 7.4.230
Bram Moolenaar <bram@vim.org>
parents: 5712
diff changeset
966 call <SID>OptionL("lw")
30875
3295247d97a5 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 30634
diff changeset
967 call <SID>AddOption("lispoptions", gettext("options for Lisp indenting"))
3295247d97a5 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 30634
diff changeset
968 call <SID>OptionL("lop")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
969 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
970
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
971
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
972 if has("folding")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
973 call <SID>Header(gettext("folding"))
22723
5b7ea82bc18f Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22335
diff changeset
974 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
975 call append("$", "\t" .. s:local_to_window)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
976 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
977 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
978 call append("$", "\t" .. s:local_to_window)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
979 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
980 call <SID>AddOption("foldlevelstart", gettext("value for 'foldlevel' when starting to edit a file"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
981 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
982 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
983 call append("$", "\t" .. s:local_to_window)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
984 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
985 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
986 call append("$", "\t" .. s:local_to_window)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
987 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
988 call <SID>AddOption("foldclose", gettext("set to \"all\" to close a fold when the cursor leaves it"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
989 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
990 call <SID>AddOption("foldopen", gettext("specifies for which commands a fold will be opened"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
991 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
992 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
993 call append("$", "\t" .. s:local_to_window)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
994 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
995 call <SID>AddOption("commentstring", gettext("template for comments; used to put the marker in"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
996 call <SID>OptionL("cms")
22723
5b7ea82bc18f Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22335
diff changeset
997 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
998 call append("$", "\t" .. s:local_to_window)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
999 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
1000 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
1001 call append("$", "\t" .. s:local_to_window)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1002 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
1003 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
1004 call append("$", "\t" .. s:local_to_window)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1005 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
1006 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
1007 call append("$", "\t" .. s:local_to_window)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1008 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
1009 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
1010 call append("$", "\t" .. s:local_to_window)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1011 call <SID>OptionL("fdn")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1012 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1013
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1014
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1015 if has("diff")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
1016 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
1017 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
1018 call append("$", "\t" .. s:local_to_window)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1019 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
1020 call <SID>AddOption("diffopt", gettext("options for using diff mode"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1021 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
1022 call <SID>AddOption("diffexpr", gettext("expression used to obtain a diff file"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1023 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
1024 call <SID>AddOption("patchexpr", gettext("expression used to patch a file"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1025 call <SID>OptionG("pex", &pex)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1026 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1027
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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("mapping"))
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
1030 call <SID>AddOption("maxmapdepth", gettext("maximum depth of mapping"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1031 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
1032 call <SID>AddOption("remap", gettext("recognize mappings in mapped keys"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1033 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
1034 call <SID>AddOption("timeout", gettext("allow timing out halfway into a mapping"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1035 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
1036 call <SID>AddOption("ttimeout", gettext("allow timing out halfway into a key code"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1037 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
1038 call <SID>AddOption("timeoutlen", gettext("time in msec for 'timeout'"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1039 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
1040 call <SID>AddOption("ttimeoutlen", gettext("time in msec for 'ttimeout'"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1041 call append("$", " \tset ttm=" . &ttm)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1042
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1043
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
1044 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
1045 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
1046 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1047 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
1048 call <SID>AddOption("modelineexpr", gettext("allow setting expression options from a modeline"))
16808
c002c4899529 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 16447
diff changeset
1049 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
1050 call <SID>AddOption("modelines", gettext("number of lines to check for modelines"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1051 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
1052 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
1053 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1054 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
1055 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
1056 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1057 call <SID>BinOptionL("eol")
30967
eb2638f278bf Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 30875
diff changeset
1058 call <SID>AddOption("endoffile", gettext("last line in the file followed by CTRL-Z"))
eb2638f278bf Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 30875
diff changeset
1059 call append("$", "\t" .. s:local_to_buffer)
eb2638f278bf Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 30875
diff changeset
1060 call <SID>BinOptionL("eof")
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("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
1062 call append("$", "\t" .. s:local_to_buffer)
6933
62ba356c2d4e patch 7.4.785
Bram Moolenaar <bram@vim.org>
parents: 6385
diff changeset
1063 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
1064 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
1065 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
1066 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
1067 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
1068 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1069 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
1070 call <SID>AddOption("fileformats", gettext("list of file formats to look for when editing a file"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1071 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
1072 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
1073 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1074 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
1075 call <SID>AddOption("textauto", gettext("obsolete, use 'fileformats'"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1076 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
1077 call <SID>AddOption("write", gettext("writing files is allowed"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1078 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
1079 call <SID>AddOption("writebackup", gettext("write a backup file before overwriting a file"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1080 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
1081 call <SID>AddOption("backup", gettext("keep a backup after overwriting a file"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1082 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
1083 call <SID>AddOption("backupskip", gettext("patterns that specify for which files a backup is not made"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1084 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
1085 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
1086 call append("$", "\t" .. s:global_or_local)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1087 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
1088 call <SID>AddOption("backupdir", gettext("list of directories to put backup files in"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1089 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
1090 call <SID>AddOption("backupext", gettext("file name extension for the backup file"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1091 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
1092 call <SID>AddOption("autowrite", gettext("automatically write a file when leaving a modified buffer"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1093 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
1094 call <SID>AddOption("autowriteall", gettext("as 'autowrite', but works with more commands"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1095 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
1096 call <SID>AddOption("writeany", gettext("always write without asking for confirmation"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1097 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
1098 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
1099 call append("$", "\t" .. s:global_or_local)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1100 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
1101 call <SID>AddOption("patchmode", gettext("keep oldest version of a file; specifies file name extension"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1102 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
1103 call <SID>AddOption("fsync", gettext("forcibly sync the file to disk after writing it"))
36
125e80798a85 updated for version 7.0021
vimboss
parents: 15
diff changeset
1104 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
1105 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
1106 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
1107 call <SID>BinOptionL("sn")
22723
5b7ea82bc18f Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22335
diff changeset
1108 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
1109 call append("$", "\t" .. s:local_to_buffer)
2198
e741fe7a0547 Updated a few runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2178
diff changeset
1110 call <SID>OptionL("cm")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1111
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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("the swap file"))
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
1114 call <SID>AddOption("directory", gettext("list of directories for the swap file"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1115 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
1116 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
1117 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1118 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
1119 call <SID>AddOption("swapsync", gettext("\"sync\", \"fsync\" or empty; how to flush a swap file to disk"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1120 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
1121 call <SID>AddOption("updatecount", gettext("number of characters typed to cause a swap file update"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1122 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
1123 call <SID>AddOption("updatetime", gettext("time in msec after which the swap file will be updated"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1124 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
1125 call <SID>AddOption("maxmem", gettext("maximum amount of memory in Kbyte used for one buffer"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1126 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
1127 call <SID>AddOption("maxmemtot", gettext("maximum amount of memory in Kbyte used for all buffers"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1128 call append("$", " \tset mmt=" . &mmt)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1129
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1130
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
1131 call <SID>Header(gettext("command line editing"))
22723
5b7ea82bc18f Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22335
diff changeset
1132 call <SID>AddOption("history", gettext("how many command lines are remembered"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1133 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
1134 call <SID>AddOption("wildchar", gettext("key that triggers command-line expansion"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1135 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
1136 call <SID>AddOption("wildcharm", gettext("like 'wildchar' but can also be used in a mapping"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1137 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
1138 call <SID>AddOption("wildmode", gettext("specifies how command line completion works"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1139 call <SID>OptionG("wim", &wim)
40
f1d2a58883b9 updated for version 7.0024
vimboss
parents: 36
diff changeset
1140 if has("wildoptions")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
1141 call <SID>AddOption("wildoptions", gettext("empty or \"tagfile\" to list file name of matching tags"))
40
f1d2a58883b9 updated for version 7.0024
vimboss
parents: 36
diff changeset
1142 call <SID>OptionG("wop", &wop)
f1d2a58883b9 updated for version 7.0024
vimboss
parents: 36
diff changeset
1143 endif
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
1144 call <SID>AddOption("suffixes", gettext("list of file name extensions that have a lower priority"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1145 call <SID>OptionG("su", &su)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1146 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
1147 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
1148 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1149 call <SID>OptionL("sua")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1150 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1151 if has("wildignore")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
1152 call <SID>AddOption("wildignore", gettext("list of patterns to ignore files for file name completion"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1153 call <SID>OptionG("wig", &wig)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1154 endif
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("fileignorecase", gettext("ignore case when using file names"))
4254
97a5ce76cb7d updated for version 7.3.878
Bram Moolenaar <bram@vim.org>
parents: 3371
diff changeset
1156 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
1157 call <SID>AddOption("wildignorecase", gettext("ignore case when completing file names"))
2662
916c90b37ea9 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2398
diff changeset
1158 call <SID>BinOptionG("wic", &wic)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1159 if has("wildmenu")
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("wildmenu", gettext("command-line completion shows a list of matches"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1161 call <SID>BinOptionG("wmnu", &wmnu)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1162 endif
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
1163 call <SID>AddOption("cedit", gettext("key used to open the command-line window"))
15729
fe57e4f0eac1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 14175
diff changeset
1164 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
1165 call <SID>AddOption("cmdwinheight", gettext("height of the command-line window"))
15729
fe57e4f0eac1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 14175
diff changeset
1166 call <SID>OptionG("cwh", &cwh)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1167
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1168
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
1169 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
1170 call <SID>AddOption("shell", gettext("name of the shell program used for external commands"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1171 call <SID>OptionG("sh", &sh)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1172 if has("amiga")
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("shelltype", gettext("when to use the shell or directly execute a command"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1174 call append("$", " \tset st=" . &st)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1175 endif
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
1176 call <SID>AddOption("shellquote", gettext("character(s) to enclose a shell command in"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1177 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
1178 call <SID>AddOption("shellxquote", gettext("like 'shellquote' but include the redirection"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1179 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
1180 call <SID>AddOption("shellxescape", gettext("characters to escape when 'shellxquote' is ("))
3371
8dcf3ea92b63 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2908
diff changeset
1181 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
1182 call <SID>AddOption("shellcmdflag", gettext("argument for 'shell' to execute a command"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1183 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
1184 call <SID>AddOption("shellredir", gettext("used to redirect command output to a file"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1185 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
1186 call <SID>AddOption("shelltemp", gettext("use a temp file for shell commands instead of using a pipe"))
393
7180554eefb1 updated for version 7.0104
vimboss
parents: 381
diff changeset
1187 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
1188 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
1189 call append("$", "\t" .. s:global_or_local)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1190 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
1191 call <SID>AddOption("formatprg", gettext("program used to format lines with \"gq\" command"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1192 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
1193 call <SID>AddOption("keywordprg", gettext("program used for the \"K\" command"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1194 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
1195 call <SID>AddOption("warn", gettext("warn when using a shell command and a buffer has changes"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1196 call <SID>BinOptionG("warn", &warn)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1197
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1198
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1199 if has("quickfix")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
1200 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
1201 call <SID>AddOption("errorfile", gettext("name of the file that contains error messages"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1202 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
1203 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
1204 call append("$", "\t" .. s:global_or_local)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1205 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
1206 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
1207 call append("$", "\t" .. s:global_or_local)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1208 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
1209 call <SID>AddOption("shellpipe", gettext("string used to put the output of \":make\" in the error file"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1210 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
1211 call <SID>AddOption("makeef", gettext("name of the errorfile for the 'makeprg' command"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1212 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
1213 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
1214 call append("$", "\t" .. s:global_or_local)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1215 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
1216 call <SID>AddOption("grepformat", gettext("list of formats for output of 'grepprg'"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1217 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
1218 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
1219 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
1220 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
1221 call <SID>AddOption("quickfixtextfunc", gettext("function to display text in the quickfix window"))
20753
661eb972cb22 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18594
diff changeset
1222 call <SID>OptionG("qftf", &qftf)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1223 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1224
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1225
22723
5b7ea82bc18f Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22335
diff changeset
1226 if has("win32")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
1227 call <SID>Header(gettext("system specific"))
22723
5b7ea82bc18f Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22335
diff changeset
1228 call <SID>AddOption("shellslash", gettext("use forward slashes in file names; for Unix-like shells"))
5b7ea82bc18f Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22335
diff changeset
1229 call <SID>BinOptionG("ssl", &ssl)
5b7ea82bc18f Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22335
diff changeset
1230 call <SID>AddOption("completeslash", gettext("specifies slash/backslash used for completion"))
5b7ea82bc18f Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22335
diff changeset
1231 call <SID>OptionG("csl", &csl)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1232 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1233
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1234
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
1235 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
1236 call <SID>AddOption("isfname", gettext("specifies the characters in a file name"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1237 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
1238 call <SID>AddOption("isident", gettext("specifies the characters in an identifier"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1239 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
1240 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
1241 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1242 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
1243 call <SID>AddOption("isprint", gettext("specifies printable characters"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1244 call <SID>OptionG("isp", &isp)
12
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
1245 if has("textobjects")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
1246 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
1247 call append("$", "\t" .. s:local_to_buffer)
12
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
1248 call <SID>OptionL("qe")
bdeee1504ac1 updated for version 7.0004
vimboss
parents: 7
diff changeset
1249 endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1250 if has("rightleft")
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("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
1252 call append("$", "\t" .. s:local_to_window)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1253 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
1254 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
1255 call append("$", "\t" .. s:local_to_window)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1256 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
1257 call <SID>AddOption("revins", gettext("insert characters backwards"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1258 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
1259 call <SID>AddOption("allowrevins", gettext("allow CTRL-_ in Insert and Command-line mode to toggle 'revins'"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1260 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
1261 call <SID>AddOption("aleph", gettext("the ASCII code for the first letter of the Hebrew alphabet"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1262 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
1263 call <SID>AddOption("hkmap", gettext("use Hebrew keyboard mapping"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1264 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
1265 call <SID>AddOption("hkmapp", gettext("use phonetic Hebrew keyboard mapping"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1266 call <SID>BinOptionG("hkp", &hkp)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1267 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1268 if has("arabic")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
1269 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
1270 call append("$", "\t" .. s:local_to_window)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1271 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
1272 call <SID>AddOption("arabicshape", gettext("perform shaping of Arabic characters"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1273 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
1274 call <SID>AddOption("termbidi", gettext("terminal will perform bidi handling"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1275 call <SID>BinOptionG("tbidi", &tbidi)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1276 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1277 if has("keymap")
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("keymap", gettext("name of a keyboard mapping"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1279 call <SID>OptionL("kmp")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1280 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1281 if has("langmap")
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("langmap", gettext("list of characters that are translated in Normal mode"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1283 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
1284 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
1285 call <SID>BinOptionG("lrm", &lrm)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1286 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1287 if has("xim")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
1288 call <SID>AddOption("imdisable", gettext("when set never use IM; overrules following IM options"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1289 call <SID>BinOptionG("imd", &imd)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1290 endif
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
1291 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
1292 call append("$", "\t" .. s:local_to_window)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1293 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
1294 call <SID>AddOption("imstyle", gettext("input method style, 0: on-the-spot, 1: over-the-spot"))
12499
d91cf2e26ef0 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12182
diff changeset
1295 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
1296 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
1297 call append("$", "\t" .. s:local_to_window)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1298 call <SID>OptionL("ims")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1299 if has("xim")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
1300 call <SID>AddOption("imcmdline", gettext("when set always use IM when starting to edit a command line"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1301 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
1302 call <SID>AddOption("imstatusfunc", gettext("function to obtain IME status"))
5055
c458ff35497e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4502
diff changeset
1303 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
1304 call <SID>AddOption("imactivatefunc", gettext("function to enable/disable IME"))
5055
c458ff35497e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4502
diff changeset
1305 call <SID>OptionG("imaf", &imaf)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1306 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1307
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1308
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
1309 call <SID>Header(gettext("multi-byte characters"))
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 22723
diff changeset
1310 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
1311 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
1312 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
1313 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
1314 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
1315 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
1316 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
1317 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
1318 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
1319 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
1320 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
1321 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
1322 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
1323 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
1324 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
1325 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
1326 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
1327 call <SID>OptionG("imak", &imak)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1328 endif
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
1329 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
1330 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
1331 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
1332 call <SID>BinOptionG("emo", &emo)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1333
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1334
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
1335 call <SID>Header(gettext("various"))
22723
5b7ea82bc18f Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22335
diff changeset
1336 call <SID>AddOption("virtualedit", gettext("when to use virtual editing: \"block\", \"insert\", \"all\"\nand/or \"onemore\""))
15729
fe57e4f0eac1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 14175
diff changeset
1337 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
1338 call <SID>AddOption("eventignore", gettext("list of autocommand events which are to be ignored"))
15729
fe57e4f0eac1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 14175
diff changeset
1339 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
1340 call <SID>AddOption("loadplugins", gettext("load plugin scripts when starting up"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1341 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
1342 call <SID>AddOption("exrc", gettext("enable reading .vimrc/.exrc/.gvimrc in the current directory"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1343 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
1344 call <SID>AddOption("secure", gettext("safer working with script files in the current directory"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1345 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
1346 call <SID>AddOption("gdefault", gettext("use the 'g' flag for \":substitute\""))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1347 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
1348 call <SID>AddOption("edcompatible", gettext("'g' and 'c' flags of \":substitute\" toggle"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1349 call <SID>BinOptionG("ed", &ed)
1120
e6db096b07a1 updated for version 7.1a
vimboss
parents: 842
diff changeset
1350 if exists("+opendevice")
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("opendevice", gettext("allow reading/writing devices"))
1120
e6db096b07a1 updated for version 7.1a
vimboss
parents: 842
diff changeset
1352 call <SID>BinOptionG("odev", &odev)
e6db096b07a1 updated for version 7.1a
vimboss
parents: 842
diff changeset
1353 endif
e6db096b07a1 updated for version 7.1a
vimboss
parents: 842
diff changeset
1354 if exists("+maxfuncdepth")
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("maxfuncdepth", gettext("maximum depth of function calls"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1356 call append("$", " \tset mfd=" . &mfd)
1120
e6db096b07a1 updated for version 7.1a
vimboss
parents: 842
diff changeset
1357 endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1358 if has("mksession")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
1359 call <SID>AddOption("sessionoptions", gettext("list of words that specifies what to put in a session file"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1360 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
1361 call <SID>AddOption("viewoptions", gettext("list of words that specifies what to save for :mkview"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1362 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
1363 call <SID>AddOption("viewdir", gettext("directory where to store files with :mkview"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1364 call <SID>OptionG("vdir", &vdir)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1365 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1366 if has("viminfo")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
1367 call <SID>AddOption("viminfo", gettext("list that specifies what to write in the viminfo file"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1368 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
1369 call <SID>AddOption("viminfofile", gettext("file name used for the viminfo file"))
11914
4f7081eb1e26 Updated runtime files
Christian Brabandt <cb@256bit.org>
parents: 11659
diff changeset
1370 call <SID>OptionG("vif", &vif)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1371 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1372 if has("quickfix")
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("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
1374 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1375 call <SID>OptionL("bh")
22723
5b7ea82bc18f Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22335
diff changeset
1376 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
1377 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1378 call <SID>OptionL("bt")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1379 endif
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
1380 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
1381 call append("$", "\t" .. s:local_to_buffer)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1382 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
1383 call <SID>AddOption("debug", gettext("set to \"msg\" to see all error messages"))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1384 call append("$", " \tset debug=" . &debug)
9852
4eea48b76d03 commit https://github.com/vim/vim/commit/95ec9d6a6ab3117d60ff638670a803d43974ba51
Christian Brabandt <cb@256bit.org>
parents: 9536
diff changeset
1385 if has("signs")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
1386 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
1387 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
1388 call <SID>OptionL("scl")
4eea48b76d03 commit https://github.com/vim/vim/commit/95ec9d6a6ab3117d60ff638670a803d43974ba51
Christian Brabandt <cb@256bit.org>
parents: 9536
diff changeset
1389 endif
14
946da5994c01 updated for version 7.0006
vimboss
parents: 13
diff changeset
1390 if has("mzscheme")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
1391 call <SID>AddOption("mzquantum", gettext("interval in milliseconds between polls for MzScheme threads"))
14
946da5994c01 updated for version 7.0006
vimboss
parents: 13
diff changeset
1392 call append("$", " \tset mzq=" . &mzq)
946da5994c01 updated for version 7.0006
vimboss
parents: 13
diff changeset
1393 endif
7220
1931b890e7d7 commit https://github.com/vim/vim/commit/d4ece23e2e602d820ab7367c383dc0d72dd87029
Christian Brabandt <cb@256bit.org>
parents: 6956
diff changeset
1394 if exists("&luadll")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
1395 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
1396 call <SID>OptionG("luadll", &luadll)
1931b890e7d7 commit https://github.com/vim/vim/commit/d4ece23e2e602d820ab7367c383dc0d72dd87029
Christian Brabandt <cb@256bit.org>
parents: 6956
diff changeset
1397 endif
1931b890e7d7 commit https://github.com/vim/vim/commit/d4ece23e2e602d820ab7367c383dc0d72dd87029
Christian Brabandt <cb@256bit.org>
parents: 6956
diff changeset
1398 if exists("&perldll")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
1399 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
1400 call <SID>OptionG("perldll", &perldll)
1931b890e7d7 commit https://github.com/vim/vim/commit/d4ece23e2e602d820ab7367c383dc0d72dd87029
Christian Brabandt <cb@256bit.org>
parents: 6956
diff changeset
1401 endif
10722
7598ce51bf2a patch 8.0.0251: not easy to select Python 2 or 3
Christian Brabandt <cb@256bit.org>
parents: 9975
diff changeset
1402 if has('pythonx')
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
1403 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
1404 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
1405 endif
7220
1931b890e7d7 commit https://github.com/vim/vim/commit/d4ece23e2e602d820ab7367c383dc0d72dd87029
Christian Brabandt <cb@256bit.org>
parents: 6956
diff changeset
1406 if exists("&pythondll")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
1407 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
1408 call <SID>OptionG("pythondll", &pythondll)
1931b890e7d7 commit https://github.com/vim/vim/commit/d4ece23e2e602d820ab7367c383dc0d72dd87029
Christian Brabandt <cb@256bit.org>
parents: 6956
diff changeset
1409 endif
13154
53cc7ea77c54 patch 8.0.1451: difficult to set the python home directories properly
Christian Brabandt <cb@256bit.org>
parents: 12909
diff changeset
1410 if exists("&pythonhome")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
1411 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
1412 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
1413 endif
7220
1931b890e7d7 commit https://github.com/vim/vim/commit/d4ece23e2e602d820ab7367c383dc0d72dd87029
Christian Brabandt <cb@256bit.org>
parents: 6956
diff changeset
1414 if exists("&pythonthreedll")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
1415 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
1416 call <SID>OptionG("pythonthreedll", &pythonthreedll)
1931b890e7d7 commit https://github.com/vim/vim/commit/d4ece23e2e602d820ab7367c383dc0d72dd87029
Christian Brabandt <cb@256bit.org>
parents: 6956
diff changeset
1417 endif
13154
53cc7ea77c54 patch 8.0.1451: difficult to set the python home directories properly
Christian Brabandt <cb@256bit.org>
parents: 12909
diff changeset
1418 if exists("&pythonthreehome")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
1419 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
1420 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
1421 endif
7222
4e86d5700260 commit https://github.com/vim/vim/commit/a93f975e8b39d7cfc8145dbe181cc4e5e4ec0bdf
Christian Brabandt <cb@256bit.org>
parents: 7220
diff changeset
1422 if exists("&rubydll")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
1423 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
1424 call <SID>OptionG("rubydll", &rubydll)
4e86d5700260 commit https://github.com/vim/vim/commit/a93f975e8b39d7cfc8145dbe181cc4e5e4ec0bdf
Christian Brabandt <cb@256bit.org>
parents: 7220
diff changeset
1425 endif
7538
c9fc24b76293 commit https://github.com/vim/vim/commit/8a5115cf18751022387af2085f374d38c60dde83
Christian Brabandt <cb@256bit.org>
parents: 7511
diff changeset
1426 if exists("&tcldll")
22228
222f8e19ed01 patch 8.2.1663: options window entries cannot be translated
Bram Moolenaar <Bram@vim.org>
parents: 22206
diff changeset
1427 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
1428 call <SID>OptionG("tcldll", &tcldll)
c9fc24b76293 commit https://github.com/vim/vim/commit/8a5115cf18751022387af2085f374d38c60dde83
Christian Brabandt <cb@256bit.org>
parents: 7511
diff changeset
1429 endif
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents: 12499
diff changeset
1430 if exists("&mzschemedll")
22335
8e535ffc8a38 patch 8.2.1716: options window has duplicate translations
Bram Moolenaar <Bram@vim.org>
parents: 22228
diff changeset
1431 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
1432 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
1433 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
1434 call <SID>OptionG("mzschemegcdll", &mzschemegcdll)
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents: 12499
diff changeset
1435 endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1436
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1437 set cpo&vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1438
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1439 " go to first line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1440 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1441
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1442 " reset 'modified', so that ":q" can be used to close the window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1443 setlocal nomodified
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1444
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1445 if has("syntax")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1446 " Use Vim highlighting, with some additional stuff
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1447 setlocal ft=vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1448 syn match optwinHeader "^ \=[0-9].*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1449 syn match optwinName "^[a-z]*\t" nextgroup=optwinComment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1450 syn match optwinComment ".*" contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1451 syn match optwinComment "^\t.*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1452 if !exists("did_optwin_syntax_inits")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1453 let did_optwin_syntax_inits = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1454 hi link optwinHeader Title
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1455 hi link optwinName Identifier
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1456 hi link optwinComment Comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1457 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1458 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1459
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1460 " Install autocommands to enable mappings in option-window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1461 noremap <silent> <buffer> <CR> <C-\><C-N>:call <SID>CR()<CR>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1462 inoremap <silent> <buffer> <CR> <Esc>:call <SID>CR()<CR>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1463 noremap <silent> <buffer> <Space> :call <SID>Space()<CR>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1464
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1465 " Make the buffer be deleted when the window is closed.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1466 setlocal buftype=nofile bufhidden=delete noswapfile
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1467
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1468 augroup optwin
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1469 au! BufUnload,BufHidden option-window nested
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1470 \ call <SID>unload() | delfun <SID>unload
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1471 augroup END
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1472
22206
5251a6592aaa patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents: 22186
diff changeset
1473 func <SID>unload()
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1474 delfun <SID>CR
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1475 delfun <SID>Space
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1476 delfun <SID>Find
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1477 delfun <SID>Update
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1478 delfun <SID>OptionL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1479 delfun <SID>OptionG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1480 delfun <SID>BinOptionL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1481 delfun <SID>BinOptionG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1482 delfun <SID>Header
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1483 au! optwin
22206
5251a6592aaa patch 8.2.1652: cannot translate lines in the options window
Bram Moolenaar <Bram@vim.org>
parents: 22186
diff changeset
1484 endfunc
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1485
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1486 " Restore the previous value of 'title' and 'icon'.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1487 let &title = s:old_title
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1488 let &icon = s:old_icon
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1489 let &ru = s:old_ru
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1490 let &sc = s:old_sc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1491 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
1492 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
1493 unlet s:old_title s:old_icon s:old_ru s:old_sc s:cpo_save s:idx s:lnum s:old_ul
2908
fd09a9c8468e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
1494
fd09a9c8468e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2662
diff changeset
1495 " vim: ts=8 sw=2 sts=2