Yegappan Lakshmanan
df1bbea436
patch 8.2.4512: the find_tags_in_file() function is much too long
...
Problem: The find_tags_in_file() function is much too long.
Solution: Refactor into multiple smaller functions. (Yegappan Lakshmanan,
closes #9892 )
2022-03-05 14:35:12 +00:00
Bram Moolenaar
c12dc47b8f
patch 8.2.4511: filetype test fails
...
Problem: Filetype test fails.
Solution: Change "endw" to "endwhile".
2022-03-05 13:45:56 +00:00
Bram Moolenaar
204852ae2a
patch 8.2.4510: Vim9: shortening commands leads to confusing script
...
Problem: Vim9: shortening commands leads to confusing script.
Solution: In Vim9 script require at least ":cont" for ":continue", "const"
instead of "cons", "break" instead of "brea", "catch" instead of
"cat", "else" instead of "el" "elseif" instead of "elsei" "endfor"
instead of "endfo" "endif" instead of "en" "endtry" instead of
"endt", "finally" instead of "fina", "throw" instead of "th",
"while" instead of "wh".
2022-03-05 12:56:44 +00:00
Bram Moolenaar
e1d1211799
patch 8.2.4509: Vim9: can declare a variable with ":va"
...
Problem: Vim9: can declare a variable with ":va".
Solution: Disallow using ":va", require using ":var".
2022-03-05 11:37:48 +00:00
Bram Moolenaar
330a388e18
patch 8.2.4508: Vim9: cannot assign to a global variable on the command line
...
Problem: Vim9: cannot assign to a global variable on the command line.
Solution: Allow using :vim9cmd for assignment on the command line.
2022-03-05 11:05:57 +00:00
Bram Moolenaar
f78ee2b49f
patch 8.2.4507: test fails because of new error message
...
Problem: Test fails because of new error message.
Solution: Avoid the test fails.
2022-03-04 23:22:27 +00:00
Bram Moolenaar
24d9c0557e
patch 8.2.4506: "pattern not found" for :global is not an error message
...
Problem: "pattern not found" for :global is not an error message.
Solution: In Vim9 script make this an actual error, so that try/catch can be
used as expected.
2022-03-04 21:34:31 +00:00
Bram Moolenaar
f07751457c
patch 8.2.4505: Vim9: outdated "autocmd nested" still works
...
Problem: Vim9: outdated "autocmd nested" still works.
Solution: Do not accept the :autocmd argument "nested" without "++" in Vim9
script.
2022-03-04 20:10:38 +00:00
Bram Moolenaar
196c3850db
patch 8.2.4504: when there is a partially matching map full map may not work
...
Problem: When there is a partially matching map and modifyOtherKeys is
active a full map may not work.
Solution: Only simplify modifiers when there is no matching mapping.
(closes #8792 )
2022-03-04 19:22:36 +00:00
Bram Moolenaar
6aca4d3c2b
patch 8.2.4503: Vim9: there is no point in supporting :Print and :mode
...
Problem: Vim9: there is no point in supporting :Print and :mode.
Solution: Do not recognize :Print and :mode as commands. (closes #9870 )
2022-03-04 17:10:19 +00:00
Bram Moolenaar
d979d64fa2
patch 8.2.4502: in the GUI a modifier is not recognized after CTRL-X
...
Problem: In the GUI a modifier is not recognized for the key typed after
CTRL-X, which may result in a mapping to be used. (Daniel
Steinberg)
Solution: Recognize a modifier starting with CSI. (closes #9889 )
2022-03-04 14:51:06 +00:00
Bram Moolenaar
21efafe4c2
patch 8.2.4501: with 'showbreak' set cursor displayed in wrong position
...
Problem: With 'showbreak' set and after the end of the line the cursor
may be displayed in the wrong position.
Solution: Do not apply 'showbreak' after the end of the line. (closes #9884 )
2022-03-03 20:04:03 +00:00
Bram Moolenaar
0e1574c406
patch 8.2.4500: Vim9: can declare a global variable on the command line
...
Problem: Vim9: can declare a global variable on the command line.
Solution: Disallow declaring a variable on the command line. (closes #9881 )
2022-03-03 17:05:35 +00:00
Bram Moolenaar
28bf649a57
patch 8.2.4499: Vim9: at the script level declarations leak to next block
...
Problem: Vim9: at the script level declarations leak from try block to
catch and finally block.
Solution: End the block and start a new one. (closes #9883 )
2022-03-03 15:11:20 +00:00
Bram Moolenaar
1fc34225ac
patch 8.2.4498: using <Plug> with "noremap" does not work
...
Problem: Using <Plug> with "noremap" does not work.
Solution: Always remap <Plug>. (closes #9879 , closes #9789 )
2022-03-03 13:56:24 +00:00
Bram Moolenaar
35d8c2010e
patch 8.2.4497: wrong color for half of wide character next to pum scrollbar
...
Problem: Wrong color for half of wide character next to pum scrollbar.
Solution: Redraw the screen cell with the right color. (closes #9874 )
2022-03-03 11:46:00 +00:00
Bram Moolenaar
fe9112e630
patch 8.2.4496: Coverity gives warnings after tags code refactoring
...
Problem: Coverity gives warnings after tags code refactoring.
Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #9882 )
2022-03-03 10:44:17 +00:00
Bram Moolenaar
e4e1a1e1c8
patch 8.2.4495: help test fails in 24 line terminal
...
Problem: Help test fails in 24 line terminal.
Solution: Use up to 23 lines for text.
2022-03-02 20:49:50 +00:00
Yegappan Lakshmanan
2f87a99b6e
patch 8.2.4494: the find_tags() function is much too long
...
Problem: The find_tags() function is much too long.
Solution: Refactor the function. (Yegappan Lakshmanan, closes #9869 )
2022-03-02 20:29:35 +00:00
Bram Moolenaar
b9c5108593
patch 8.2.4493: options test fails in the GUI
...
Problem: Options test fails in the GUI.
Solution: Do not save and restore 'term'.
2022-03-02 20:12:03 +00:00
Bram Moolenaar
8ccbbeb620
patch 8.2.4492: no error if an option is given a value with ":let &opt = val"
...
Problem: No error if an option is given an invalid value with
":let &opt = val".
Solution: Give the error. (closes #9864 )
2022-03-02 19:49:38 +00:00
K.Takata
7f687aaca9
patch 8.2.4491: MS-Windows makefile dependencies are outdated
...
Problem: MS-Windows makefile dependencies are outdated.
Solution: Update dependencies. (Ken Takata, closes #9876 )
2022-03-02 17:34:56 +00:00
Bram Moolenaar
8d5daf267e
patch 8.2.4490: terminal focus reporting only works for xterm-like terminals
...
Problem: Terminal focus reporting only works for xterm-like terminals.
(Jonathan Rascher)
Solution: Remove the "focus_mode" flag. (closes #9859 )
2022-03-02 17:16:39 +00:00
Bram Moolenaar
c6e9d7063d
patch 8.2.4489: failing test for comparing v:null with number
...
Problem: Failing test for comparing v:null with number.
Solution: Allow comparing v:null with number in legacy script.
(Ken Takata, closes #9873 ) Also do this for float.
2022-03-02 13:13:30 +00:00
Bram Moolenaar
f6b0c79742
patch 8.2.4488: build error with +eval but without +channel or +job
...
Problem: Build error with +eval but without +channel or +job.
Solution: Add #ifdef. (John Marriott)
2022-03-01 19:52:48 +00:00
Bram Moolenaar
7a22224875
patch 8.2.4487: Vim9: cannot compare with v:null
...
Problem: Vim9: cannot compare with v:null.
Solution: Allow comparing anything with v:null. (closes #9866 )
2022-03-01 19:23:24 +00:00
Bram Moolenaar
f01af9c4e6
patch 8.2.4486: MS-Windows GUI: slow scrolling with maximized window
...
Problem: MS-Windows GUI: slow scrolling with maximized window.
Solution: Use a better way to check the window is on screen. (Ken Takata,
closes #9865 )
2022-03-01 16:02:26 +00:00
Bram Moolenaar
3e7637bd26
patch 8.2.4485: compiler warning for uninitialized variable
...
Problem: Compiler warning for uninitialized variable.
Solution: Initialize the variable. (John Marriott)
2022-02-28 21:02:19 +00:00
Bram Moolenaar
1983f1aa31
patch 8.2.4484: Vim9: some error messages are not tested
...
Problem: Vim9: some error messages are not tested.
Solution: Add a few more test cases. Delete dead code.
2022-02-28 20:55:02 +00:00
Yegappan Lakshmanan
5de4c4372d
patch 8.2.4483: command completion makes two rounds to collect matches
...
Problem: Command completion makes two rounds to collect matches.
Solution: Use a growarray to collect matches. (Yegappan Lakshmanan,
closes #9860 )
2022-02-28 13:28:38 +00:00
Yegappan Lakshmanan
afd4ae35d6
patch 8.2.4482: no fuzzy cmdline completion for user defined completion
...
Problem: No fuzzy cmdline completion for user defined completion.
Solution: Add fuzzy completion for user defined completion. (Yegappan
Lakshmanan, closes #9858 )
2022-02-27 21:03:21 +00:00
Bram Moolenaar
5c52be40fb
patch 8.2.4481: cmdline popup menu not removed when 'lazyredraw' is set
...
Problem: Cmdline popup menu not removed when 'lazyredraw' is set.
Solution: Temporarily reset 'lazyredraw' when removing the popup menu.
(closes #9857 )
2022-02-27 14:28:31 +00:00
xtkoba
cbef12e60b
patch 8.2.4480: suspending with CTRL-Z does not work on Android
...
Problem: Suspending with CTRL-Z does not work on Android.
Solution: Do not handle SIGTSTP. (closes #9854 )
2022-02-27 12:31:52 +00:00
Yegappan Lakshmanan
6caeda2fce
patch 8.2.4479: no fuzzy completieon for maps and abbreviations
...
Problem: No fuzzy completieon for maps and abbreviations.
Solution: Fuzzy complete maps and abbreviations. (Yegappan Lakshmanan,
closes #9856 )
2022-02-27 12:07:30 +00:00
Yegappan Lakshmanan
00333cb3b3
patch 8.2.4478: crash when using fuzzy completion
...
Problem: Crash when using fuzzy completion.
Solution: Temporary fix: put back regexp. (closes #9852 , closes #9851 )
2022-02-26 16:05:08 +00:00
Bram Moolenaar
29ab6ce9f3
patch 8.2.4477: crash when using fuzzy completion
...
Problem: Crash when using fuzzy completion.
Solution: Temporary fix: put back regexp. (closes #9851 )
2022-02-26 15:52:08 +00:00
=?UTF-8?q?Dundar=20G=C3=B6c?=
e41c1dd889
patch 8.2.4476: operator name spelled wrong
...
Problem: Operator name spelled wrong.
Solution: Change trinary to ternary. (Goc Dundar, closes #9850 )
2022-02-26 11:46:13 +00:00
Yegappan Lakshmanan
4df5b33f20
patch 8.2.4475: fuzzy cmdline completion does not work for lower case
...
Problem: Fuzzy cmdline completion does not work for lower case.
Solution: Also use fuzzy completion for lower case input. (Yegappan
Lakshmanan, closes #9849 )
2022-02-26 11:04:42 +00:00
Yegappan Lakshmanan
5a2d4a3ecb
patch 8.2.4474: memory allocation failures not tested in quickfix code
...
Problem: Memory allocation failures not tested in quickfix code.
Solution: Add alloc IDs and tests. (Yegappan Lakshmanan, closes #9848 )
2022-02-26 10:31:32 +00:00
Bram Moolenaar
416b5f4894
patch 8.2.4473: Coverity warnds for not checking return value of ftell()
...
Problem: Coverity warnds for not checking return value of ftell().
Solution: Bail out if ftell() returns a negative value.
2022-02-25 21:47:48 +00:00
Bram Moolenaar
9383a3afb6
patch 8.2.4472: Coverity warns for use of a freed function name
...
Problem: Coverity warns for use of a freed function name.
Solution: Only check an autoload name when is prefixed.
2022-02-25 21:35:17 +00:00
Bram Moolenaar
62628d97c4
patch 8.2.4471: Coverity warns for uninitialized variable
...
Problem: Coverity warns for uninitialized variable.
Solution: Set flags to zero.
2022-02-25 21:10:53 +00:00
Bram Moolenaar
ae49aa8434
patch 8.2.4470: Coverity warns for uninitialized variable
...
Problem: Coverity warns for uninitialized variable.
Solution: Set can_spell to zero.
2022-02-25 21:05:36 +00:00
Bram Moolenaar
05c1734c4f
patch 8.2.4469: Coverity warns for uninitialized variable
...
Problem: Coverity warns for uninitialized variable.
Solution: Set the value to zero.
2022-02-25 20:57:11 +00:00
Bram Moolenaar
68afde4c9b
patch 8.2.4468: Coverity warns for uninitialized struct member
...
Problem: Coverity warns for uninitialized struct member.
Solution: Set color.index to zero.
2022-02-25 20:48:26 +00:00
Cam Sinclair
5c6edf41f9
patch 8.2.4466: MS-Windows: illegal memory access in installer
...
Problem: MS-Windows: illegal memory access in installer when using
"create-directories" as the final argument.
Solution: Check the argument count. (Cam Sinclair, closes #9844 )
2022-02-25 17:42:23 +00:00
Yegappan Lakshmanan
5ec633b9b0
patch 8.2.4465: fuzzy completion does not order matches properly
...
Problem: Fuzzy completion does not order matches properly.
Solution: Do not use regular expression match. (Yegappan Lakshmanan,
closes #9843 )
2022-02-25 15:24:24 +00:00
=?UTF-8?q?Teubel=20Gy=C3=B6rgy?=
4d56b971cb
patch 8.2.4464: Dtrace files are recognized as filetype D
...
Problem: Dtrace files are recognized as filetype D.
Solution: Add a pattern for Dtrace files. (Teubel György, closes #9841 )
Add some more testing.
2022-02-24 17:59:09 +00:00
Yegappan Lakshmanan
38b85cb4d7
patch 8.2.4463: completion only uses strict matching
...
Problem: Completion only uses strict matching.
Solution: Add the "fuzzy" item for 'wildoptions'. (Yegappan Lakshmanan,
closes #9803 )
2022-02-24 13:28:41 +00:00
Yegappan Lakshmanan
9c9be05b17
patch 8.2.4462: not enough testing for quickfix code
...
Problem: Not enough testing for quickfix code.
Solution: Add more tests. Fix uncovered problem. (Yegappan Lakshmanan,
closes #9839 )
2022-02-24 12:33:17 +00:00