Skip to content

Commit b730f0c

Browse files
committed
Update runtime files
1 parent 916a818 commit b730f0c

9 files changed

Lines changed: 158 additions & 65 deletions

File tree

runtime/doc/options.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7339,8 +7339,8 @@ A jump table for the options with a short description can be found at |Q_op|.
73397339

73407340
After this option has been set successfully, Vim will source the files
73417341
"spell/LANG.vim" in 'runtimepath'. "LANG" is the value of 'spelllang'
7342-
up to the first character that is not an ASCII letter and not a dash.
7343-
Also see |set-spc-auto|.
7342+
up to the first character that is not an ASCII letter or number and
7343+
not a dash. Also see |set-spc-auto|.
73447344

73457345

73467346
*'spellsuggest'* *'sps'*

runtime/doc/syntax.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -774,8 +774,6 @@ When 1, generate XHTML 1.0 instead (XML compliant HTML).
774774
:let g:html_use_xhtml = 1
775775
<
776776

777-
vim:tw=78:sw=4:ts=8:sts=4:ft=help:norl:ai:noet:
778-
779777
ABEL *abel.vim* *ft-abel-syntax*
780778

781779
ABEL highlighting provides some user-defined options. To enable them, assign

runtime/doc/todo.txt

Lines changed: 42 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,11 @@ browser use: https://github.com/vim/vim/issues/1234
3838
*known-bugs*
3939
-------------------- Known bugs and current work -----------------------
4040

41-
runtest: for flaky test, try more often if error message changes (5 times)
41+
Make ":script 40" edit the script listed with number 40. Actually use
42+
":scriptnames".
43+
44+
Download page: "A 64 bit version" link is wrong, use this one instead:
45+
https://github.com/vim/vim-win32-installer/releases/latest
4246

4347
'incsearch' with :s: (#3321)
4448
- :s/foo using CTRL-G moves to another line, should not happen, or use the
@@ -52,16 +56,23 @@ runtest: for flaky test, try more often if error message changes (5 times)
5256
Prompt buffer:
5357
- Add a command line history.
5458
- delay next prompt until plugin gives OK?
59+
- add prompt_addtext({buf}, {expr}) none add text to a prompt buffer
5560

5661
Terminal debugger:
5762
- Make prompt-buffer variant work better.
63+
- If breakpoints are deleted with "delete" in gdb the response is not parsed
64+
properly and the breakpoints in Vim are not removed.
5865
- Add option to not open the program window. It's not used when attaching to
5966
an already running program. (M. Kelly)
6067
- When only gdb window exists, on "quit" edit another buffer.
6168
- Termdebug does not work when Vim was build with mzscheme: gdb hangs just
6269
after "run". Everything else works, including communication channel. Not
6370
initializing mzscheme avoid the problem, thus it's not some #ifdef.
6471
- Add support for lldb? #3565
72+
- Could we do something similar for debugging Vim scripts? At least see the
73+
script while stepping through it. Simple version would use an extra window.
74+
More complete solution would actually run Vim in a Terminal an control it
75+
with another Vim instance.
6576

6677
Terminal emulator window:
6778
- GUI: When using ":set go+=!" a system() call causes the hit-enter prompt.
@@ -102,10 +113,13 @@ catch actual errors, overwriting a function from another script.
102113
Update for German spell files: https://github.com/chrisbra/vim/compare/5e021c990f8817a50d3264782a5...3b27c92f297540761ebbd92d04fb3
103114
(Christian Brabandt, 2018 Nov 4)
104115

105-
Patch for comparing quickfix and location stacks. (Yegappan, 2018 Nov 15)
116+
Patch for nsis/README.txt and uninstal.txt (Ken Takata, 2018 Nov 17, #3614)
117+
118+
Patch to add commandline completion tests. (Dominique, #3622)
106119

107-
Patch to fix visual block problem. (Tom M, tommm, 2018 Nov 14)
108-
Also will write a test.
120+
Problem with Visual yank when 'linebreak' and 'showbreak' are set.
121+
Patch with tests, but it's not clear how it is supposed to work. (tommm, 2018
122+
Nov 17)
109123

110124
Key mapping times out when using a timer in Gvim. (Michael Henry, 2018 Sep 9,
111125
#3417)
@@ -114,6 +128,13 @@ Does not build with MinGW out of the box:
114128
- _stat64 is not defined, need to use "struct stat" in vim.h
115129
- WINVER conflict, should use 0x0600 by default?
116130

131+
Adding a fold with a marker in a C file doesn't add the comment /* */ if the
132+
line contains a * somewhere. Patch with a fix (Hirohito Higashi, 2018 Nov 22)
133+
134+
Crash in terminal with long multi-byte sequence. (2018 Nov 17, #3619)
135+
Dominique cannot reproduce. Update Nov 18.
136+
Suggested solution by Yasuhiro Matsumoto, 2018 Nov 18.
137+
117138
Crash when mixing matchadd and substitute()? (Max Christian Pohle, 2018 May
118139
13, #2910) Can't reproduce?
119140

@@ -123,16 +144,20 @@ Errors found with random data:
123144
Win32 key codes are messy. Mike Williams tried to fix that, but now old
124145
mappings no longer work. Create a new terminal for the better solution?
125146

147+
Patch to fix that appending makes items to be "recognized".
148+
(Yegappan, 2018 Nov 23). Reported by Daniel Hahler, #3633.
149+
126150
Improve fallback for menu translations, to avoid having to create lots of
127151
files that source the actual file. E.g. menu_da_de -> menu_da
128152
Include part of #3242?
129153

130154
When a terminal exit_cb closes the window, a following typed key is lost, if
131155
it's in a mapping. (2018 Oct 6, #2302, #3522)
132156

133-
Patch for dos installer to use logic instead of $HOME. (Ken Takata, Nov 5,
134-
#3564)
157+
Patch to add FOR_ALL_FRAMES. (Yegappan, 2018 Nov 18)
135158

159+
Patch to resize to fit parent position when using ---windowid. ( Agorgianitis
160+
Loukas, 2018 Nov 17, #3616)
136161
Completion mixes results from the current buffer with tags and other files.
137162
Happens when typing CTRL-N while still search for results. E.g., type "b_" in
138163
terminal.c and then CTRL-N twice.
@@ -144,9 +169,6 @@ Williams, 2018 Oct 30)
144169

145170
Problem with :tlmenu: Detach item added with all modes? Issue #3563.
146171

147-
Patch to avoid that increment or decrement gets interrupted by updating folds.
148-
(Christian Brabandt, 2018 Nov 6, #3599)
149-
150172
C syntax: {} inside () causes following {} to be highlighted as error.
151173
(Michalis Giannakidis, 2006 Jun 1)
152174

@@ -162,9 +184,18 @@ Patch for this: (Aron Widforss, 2018 Oct 13, #3539)
162184
quickfix window, for example. (Gary Holloway)
163185
Also do 'sidescrolloff'.
164186

187+
Patch for ConPTY support, #3474: What is the status?
188+
165189
Pasting foo} causes Vim to behave weird. (John Little, 2018 Jun 17)
166190
Related to bracketed paste. I cannot reproduce it.
167191

192+
Using CTRL-L to add a character to the search string doesn't work for the last
193+
character in the file. (Smylers, 2018 Nov 17, #3620)
194+
Suggested patch by Hirohito Higashi, 2018 Nov 18.
195+
196+
Using CTRL-L to add a character to the search string that contains \v,
197+
punctiuation is repeated. (Smylers, 2018 Nov 17, #3621)
198+
168199
":mksession" cannot handle a very long 'runtimepath'. (Timothy Madden, 21 Sep
169200
2018, #3466) Patch from Christian, 2018 Oct 30 (with comments).
170201

@@ -321,6 +352,8 @@ Patch to fix that executable() may fail on very long filename in MS-Windows.
321352

322353
Patch to be able to use hex numbers with :digraph. (Lcd, 2015 Sep 6)
323354
Update Sep 7. Update by Christian Brabandt, 2015 Sep 8, 2016 Feb 1.
355+
Patch to be able to disable default digraphs (incomplete) (Eric Pruitt, 2018
356+
Nov 22).
324357

325358
Make balloon_show() work outside of 'balloonexpr'? Users expect it to work:
326359
#2948. (related to #1512?)

runtime/doc/usr_41.txt

Lines changed: 28 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,7 @@ String manipulation: *string-functions*
612612
repeat() repeat a string multiple times
613613
eval() evaluate a string expression
614614
execute() execute an Ex command and get the output
615+
trim() trim characters from a string
615616

616617
List manipulation: *list-functions*
617618
get() get an item without error for wrong index
@@ -799,6 +800,9 @@ Buffers, windows and the argument list:
799800
bufwinnr() get the window number of a specific buffer
800801
winbufnr() get the buffer number of a specific window
801802
getbufline() get a list of lines from the specified buffer
803+
setbufline() replace a line in the specified buffer
804+
appendbufline() append a list of lines in the specified buffer
805+
deletebufline() delete lines from a specified buffer
802806
win_findbuf() find windows containing a buffer
803807
win_getid() get window ID of a window
804808
win_gotoid() go to window with ID
@@ -810,6 +814,7 @@ Buffers, windows and the argument list:
810814
getchangelist() get a list of change list entries
811815
getjumplist() get a list of jump list entries
812816
swapinfo() information about a swap file
817+
swapname() get the swap file path of a buffer
813818

814819
Command line: *command-line-functions*
815820
getcmdline() get the current command line
@@ -907,6 +912,7 @@ Window size and position: *window-size-functions*
907912
winheight() get height of a specific window
908913
winwidth() get width of a specific window
909914
win_screenpos() get screen position of a window
915+
winlayout() get layout of windows in a tab page
910916
winrestcmd() return command to restore window sizes
911917
winsaveview() get view of current window
912918
winrestview() restore saved view of current window
@@ -919,6 +925,7 @@ Mappings: *mapping-functions*
919925

920926
Testing: *test-functions*
921927
assert_equal() assert that two expressions values are equal
928+
assert_equalfile() assert that two file contents are equal
922929
assert_notequal() assert that two expressions values are not equal
923930
assert_inrange() assert that an expression is inside a range
924931
assert_match() assert that a pattern matches the value
@@ -941,6 +948,9 @@ Testing: *test-functions*
941948
test_null_partial() return a null Partial function
942949
test_null_string() return a null String
943950
test_settime() set the time Vim uses internally
951+
test_feedinput() add key sequence to input buffer
952+
test_option_not_set() reset flag indicating option was set
953+
test_scrollbar() simulate scrollbar movement in the GUI
944954

945955
Inter-process communication: *channel-functions*
946956
ch_canread() check if there is something to read
@@ -991,6 +1001,12 @@ Terminal window: *terminal-functions*
9911001
term_gettty() get the tty name of a terminal
9921002
term_setansicolors() set 16 ANSI colors, used for GUI
9931003
term_getansicolors() get 16 ANSI colors, used for GUI
1004+
term_dumpdiff() display difference between two screen dumps
1005+
term_dumpload() load a terminal screen dump in a window
1006+
term_dumpwrite() dump contents of a terminal screen to a file
1007+
term_setkill() set signal to stop job in a terminal
1008+
term_setrestore() set command to restore a terminal
1009+
term_setsize() set the size of a terminal
9941010

9951011
Timers: *timer-functions*
9961012
timer_start() create a timer
@@ -999,6 +1015,17 @@ Timers: *timer-functions*
9991015
timer_stopall() stop all timers
10001016
timer_info() get information about timers
10011017

1018+
Tags: *tag-functions*
1019+
taglist() get list of matching tags
1020+
tagfiles() get a list of tags files
1021+
gettagstack() get the tag stack of a window
1022+
settagstack() modify the tag stack of a window
1023+
1024+
Prompt Buffer: *promptbuffer-functions*
1025+
prompt_setcallback() set prompt callback for a buffer
1026+
prompt_setinterrupt() set interrupt callback for a buffer
1027+
prompt_setprompt() set the prompt text for a buffer
1028+
10021029
Various: *various-functions*
10031030
mode() get current editing mode
10041031
visualmode() last visual mode used
@@ -1026,17 +1053,13 @@ Various: *various-functions*
10261053

10271054
wordcount() get byte/word/char count of buffer
10281055

1029-
taglist() get list of matching tags
1030-
tagfiles() get a list of tags files
1031-
gettagstack() get the tag stack
1032-
settagstack() modify the tag stack
1033-
10341056
luaeval() evaluate Lua expression
10351057
mzeval() evaluate |MzScheme| expression
10361058
perleval() evaluate Perl expression (|+perl|)
10371059
py3eval() evaluate Python expression (|+python3|)
10381060
pyeval() evaluate Python expression (|+python|)
10391061
pyxeval() evaluate |python_x| expression
1062+
debugbreak() interrupt a program being debugged
10401063

10411064
==============================================================================
10421065
*41.7* Defining a function

runtime/indent/testdir/matlab.in

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
% vim: set ft=matlab sw=4 :
2+
3+
% START_INDENT
4+
if true
5+
disp foo
6+
elseif false
7+
disp bar
8+
end
9+
% END_INDENT
10+
11+
% START_INDENT
12+
try
13+
statements
14+
catch exception
15+
statements
16+
end
17+
% END_INDENT

runtime/indent/testdir/matlab.ok

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
% vim: set ft=matlab sw=4 :
2+
3+
% START_INDENT
4+
if true
5+
disp foo
6+
elseif false
7+
disp bar
8+
end
9+
% END_INDENT
10+
11+
% START_INDENT
12+
try
13+
statements
14+
catch exception
15+
statements
16+
end
17+
% END_INDENT

0 commit comments

Comments
 (0)