Martin Tournoij
e2390c7f32
patch 8.2.3233: prop_list() and prop_find() do not indicate the buffer
...
Problem: prop_list() and prop_find() do not indicate the buffer for the
used type.
Solution: Add "type_bufnr" to the results. (closes #8647 )
2021-07-28 13:30:16 +02:00
Yegappan Lakshmanan
7e6a2a64f0
patch 8.2.3232: system() does not work without a second argument
...
Problem: system() does not work without a second argument.
Solution: Do not require a second argument. (Yegappan Lakshmanan,
closes #8651 , closes #8650 )
2021-07-28 11:51:48 +02:00
Bram Moolenaar
9088784972
patch 8.2.3231: build failure with small features
...
Problem: Build failure with small features.
Solution: Adjust #ifdef.
2021-07-27 22:35:42 +02:00
Bram Moolenaar
f723701de0
patch 8.2.3230: Vim9: type error when function return type is not known yet
...
Problem: Vim9: type error when function return type is not known yet.
Solution: When return type is unknown, use "any". (closes #8644 )
2021-07-27 22:21:44 +02:00
Yegappan Lakshmanan
4490ec4e83
patch 8.2.3229: Vim9: runtime and compile time type checks are not the same
...
Problem: Vim9: runtime and compile time type checks are not the same.
Solution: Add more runtime type checks for builtin functions. (Yegappan
Lakshmanan, closes #8646 )
2021-07-27 22:00:44 +02:00
Bram Moolenaar
5d7c2df536
patch 8.2.3228: cannot use a simple block for the :command argument
...
Problem: Cannot use a simple block for the :command argument. (Maarten
Tournoij)
Solution: Recognize a simple {} block. (issue #8623 )
2021-07-27 21:17:32 +02:00
Gary Johnson
53ba05b090
patch 8.2.3227: 'virtualedit' can only be set globally
...
Problem: 'virtualedit' can only be set globally.
Solution: Make 'virtualedit' global-local. (Gary Johnson, closes #8638 )
2021-07-26 22:19:10 +02:00
h-east
29b857150c
patch 8.2.3226: new digraph functions use old naming scheme
...
Problem: New digraph functions use old naming scheme.
Solution: Use the digraph_ prefix. (Hirohito Higashi, closes #8580 )
2021-07-26 21:54:04 +02:00
Bram Moolenaar
ccb148ac63
patch 8.2.3225: incsearch highlighting is attempted halfway a mapping
...
Problem: Incsearch highlighting is attempted halfway a mapping.
Solution: Only do incsearch highlighting if keys were typed or there is no
more typeahead.
2021-07-26 21:11:32 +02:00
Bram Moolenaar
678b207fb1
patch 8.2.3224: cannot call script-local function after :vim9cmd
...
Problem: Cannot call script-local function after :vim9cmd. (Christian J.
Robinson)
Solution: Skip over "<SNR>123".
2021-07-26 21:10:11 +02:00
Bram Moolenaar
ff34bee3a2
patch 8.2.3223: Vim: using {} block in autoloade omnifunc fails
...
Problem: Vim: using {} block in autoloade omnifunc fails.
Solution: Allow using {} block when text is locked. (closes #8631 )
2021-07-25 20:27:06 +02:00
Bram Moolenaar
3c77b6a1ce
patch 8.2.3222: Vim9: cannot used loop variable later as lambda argument
...
Problem: Vim9: cannot used loop variable later as lambda argument.
Solution: When not in function context check the current block ID.
(closes #8637 )
2021-07-25 18:07:00 +02:00
Yegappan Lakshmanan
a764e73d4f
patch 8.2.3221: Vim9: argument types are not checked at compile time
...
Problem: Vim9: argument types are not checked at compile time.
Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8632 )
2021-07-25 15:57:32 +02:00
Dominique Pelle
2ec28aec9d
patch 8.2.3220: Test_term_setansicolors() fails in some configurations
...
Problem: Test_term_setansicolors() fails in some configurations.
Solution: Check available features. (Dominique Pellé, closes #8636 )
2021-07-25 15:41:44 +02:00
Christian Brabandt
7a4ca32175
patch 8.2.3219: :find searches non-existing directories
...
Problem: :find searches non-existing directories.
Solution: Check the path is not "..". Update help. (Christian Brabandt,
closes #8612 , closes #8533 )
2021-07-25 15:08:05 +02:00
Christian Brabandt
8a4c812ede
patch 8.2.3218: when using xchaha20 crypt undo file is not removed
...
Problem: When using xchaha20 crypt undo file is not removed.
Solution: Reset 'undofile' and delete the file. (Christian Brabandt,
closes #8630 , closes #8467 )
2021-07-25 14:36:05 +02:00
Bram Moolenaar
3ed0d93796
patch 8.2.3217: build failure
...
Problem: Build failure.
Solution: Add missing changes.
2021-07-25 14:21:11 +02:00
Bram Moolenaar
2eb6fc3b52
patch 8.2.3216: Vim9: crash when using variable in a loop at script level
...
Problem: Vim9: crash when using variable in a loop at script level.
Solution: Do not clear the variable if a function was defined.
Do not create a new entry in sn_var_vals every time.
(closes #8628 )
2021-07-25 14:13:53 +02:00
Yegappan Lakshmanan
5bca906b30
patch 8.2.3215: Vim9: argument types are not checked at compile time
...
Problem: Vim9: argument types are not checked at compile time.
Solution: Add several more type checks. Sort the argument lists.
(Yegappan Lakshmanan, closes #8626 )
2021-07-24 21:33:26 +02:00
Christian Brabandt
7d60384a00
patch 8.2.3214: MS-Windows: passing /D does not set the install location
...
Problem: MS-Windows: passing /D does not set the install location.
Solution: Adjust how the installer uses $VIM. Update the documentation.
(Christian Brabandt, closes #8605 )
2021-07-24 21:19:42 +02:00
Dominique Pelle
9c9472ff49
patch 8.2.3213: NOCOMPOUNDSUGS entry in spell file not tested
...
Problem: NOCOMPOUNDSUGS entry in spell file not tested.
Solution: Add a test. (Dominique Pellé, closes #8624 )
2021-07-24 20:51:13 +02:00
Dominique Pelle
5a9e5845e1
patch 8.2.3212: Vim9: execution speed can be improved
...
Problem: Vim9: execution speed can be improved.
Solution: Use __builtin_expect() to have the compiler produce better code.
(Dominique Pellé, closes #8613 )
2021-07-24 19:32:12 +02:00
Yegappan Lakshmanan
7973de35ba
patch 8.2.3211: Vim9: argument types are not checked at compile time
...
Problem: Vim9: argument types are not checked at compile time.
Solution: Add several more type checks. Fix type check for matchaddpos().
(Yegappan Lakshmanan, closes #8619 )
2021-07-24 16:16:15 +02:00
Bram Moolenaar
dd0b287c1e
patch 8.2.3210: Vim9: searchpair() sixth argument is compiled
...
Problem: Vim9: searchpair() sixth argument is compiled. (Yegappan
Lakshmanan)
Solution: Only compile the fifth argument.
2021-07-24 15:44:30 +02:00
Bram Moolenaar
88421d6dc8
patch 8.2.3209: Vim9: lambda doesn't find block-local variable
...
Problem: Vim9: lambda doesn't find block-local variable.
Solution: Adjust how a script-local variable is found. (closes #8614 )
2021-07-24 14:14:52 +02:00
Martin Tournoij
1a3e5747b7
patch 8.2.3208: dynamic library load error does not mention why it failed
...
Problem: Dynamic library load error does not mention why it failed.
Solution: Add the error message. (Martin Tournoij, closes #8621 )
2021-07-24 13:57:29 +02:00
Bram Moolenaar
5a234eb18e
patch 8.2.3207: Vim9: crash when compiling string fails
...
Problem: Vim9: crash when compiling string fails. (Yegappan Lakshmanan)
Solution: Adjust the type stack length.
2021-07-24 13:18:48 +02:00
Yegappan Lakshmanan
0ad871dc4d
patch 8.2.3206: Vim9: argument types are not checked at compile time
...
Problem: Vim9: argument types are not checked at compile time.
Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8611 )
2021-07-23 20:37:56 +02:00
Bram Moolenaar
1b862c466b
patch 8.2.3205: Coverity reports a null pointer dereference
...
Problem: Coverity reports a null pointer dereference.
Solution: Change the logic to avoid Coverity gets confused.
2021-07-23 19:30:19 +02:00
Bram Moolenaar
c9e7e344ed
patch 8.2.3204: display garbled when 'cursorline' is set and lines wrap
...
Problem: Display garbled when 'cursorline' is set and lines wrap. (Gabriel
Dupras)
Solution: Avoid inserting lines twice.
2021-07-22 21:33:03 +02:00
Bram Moolenaar
cd268017cf
patch 8.2.3203: Vim9: compiled string expression causes type error
...
Problem: Vim9: compiled string expression causes type error. (Yegappan
Lakshmanan)
Solution: Remove the string type from the stack.
2021-07-22 19:11:08 +02:00
Bram Moolenaar
5dd839ce20
patch 8.2.3202: Vim9: tests are only executed for legacy script
...
Problem: Vim9: tests are only executed for legacy script.
Solution: Run more tests also for Vim9 script. Fix uncovered problems.
2021-07-22 18:48:53 +02:00
Bram Moolenaar
2b59df00d8
patch 8.2.3201: crash in test
...
Problem: Crash in test.
Solution: Initialize "where".
2021-07-22 15:14:25 +02:00
Bram Moolenaar
7a3fe3e180
patch 8.2.3200: Vim9: hard to guess where a type error is given
...
Problem: Vim9: hard to guess where a type error is given.
Solution: Add the function name where possible. (closes #8608 )
2021-07-22 14:58:47 +02:00
Bram Moolenaar
a74901929e
patch 8.2.3199: Vim9: execution speed can be improved
...
Problem: Vim9: execution speed can be improved.
Solution: Make the break counter static.
2021-07-22 12:26:14 +02:00
Maxim Kim
f674b358fc
patch 8.2.3198: cannot use 'formatlistpat' for breakindent
...
Problem: Cannot use 'formatlistpat' for breakindent.
Solution: Use a negative list indent. (Maxim Kim, closes #8594 )
2021-07-22 11:46:59 +02:00
Bram Moolenaar
d8e44476d8
patch 8.2.3197: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move a few more error messages to errors.h.
2021-07-21 22:20:33 +02:00
Bram Moolenaar
05bd9785fd
patch 8.2.3196: Vim9: bool expression with numbers only fails at runtime
...
Problem: Vim9: bool expression with numbers only fails at runtime.
Solution: Check constant to be bool at compile time. (closes #8603 )
2021-07-21 21:37:28 +02:00
Bram Moolenaar
c4c5642513
patch 8.2.3195: Vim9: unclear error when passing too many arguments to lambda
...
Problem: Vim9: unclear error when passing too many arguments to lambda.
Solution: Pass the expression itself instead of "[expression]".
(closes #8604 )
2021-07-21 20:38:46 +02:00
Yegappan Lakshmanan
cd9172077b
patch 8.2.3194: Vim9: argument types are not checked at compile time
...
Problem: Vim9: argument types are not checked at compile time.
Solution: Add several more type checks, simplify some. (Yegappan
Lakshmanan, closes #8598 )
2021-07-21 19:09:09 +02:00
Bram Moolenaar
189663bdac
patch 8.2.3193: screenpos() is wrong when 'display' is "lastline"
...
Problem: screenpos() is wrong when the last line is partially visible and
'display' is "lastline".
Solution: Also compute the position for a partially visible line.
(closes #8599 )
2021-07-21 18:04:56 +02:00
Bram Moolenaar
11d7e62f1d
patch 8.2.3192: build failure with small version
...
Problem: Build failure with small version (Tony Mechelynck).
Solution: Remove stray #ifdef.
2021-07-20 22:29:19 +02:00
Bram Moolenaar
63cb6567f0
patch 8.2.3191: Vim9: not enough code is tested
...
Problem: Vim9: not enough code is tested.
Solution: Use CheckLegacyAndVim9Success() in more places. Fix uncovered
problems.
2021-07-20 22:21:59 +02:00
Bram Moolenaar
e29a27f6f8
patch 8.2.3190: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move error messages to errors.h and give them a clear name.
2021-07-20 21:07:36 +02:00
Bram Moolenaar
9fa5dabedc
patch 8.2.3189: Vim9: error when using "try|"
...
Problem: Vim9: error when using "try|".
Solution: Allow for "|" right after a command.
2021-07-20 19:18:44 +02:00
Yegappan Lakshmanan
83494b4ac6
patch 8.2.3188: Vim9: argument types are not checked at compile time
...
Problem: Vim9: argument types are not checked at compile time.
Solution: Add several more type checks, also at runtime. (Yegappan
Lakshmanan, closes #8587 )
2021-07-20 17:51:51 +02:00
Bram Moolenaar
9bb0dad0d8
patch 8.2.3187: Vim9: popup timer callback is not compiled
...
Problem: Vim9: popup timer callback is not compiled.
Solution: Compile the callback when creating the timer.
2021-07-19 22:19:29 +02:00
Bram Moolenaar
605793500b
patch 8.2.3186: Vim9: not all failures for import tested
...
Problem: Vim9: not all failures for import tested
Solution: Test more import failures
2021-07-19 21:45:07 +02:00
Bram Moolenaar
ac2cd2b08f
patch 8.2.3185: Vim9: start of inline function found in comment line
...
Problem: Vim9: start of inline function found in comment line.
Solution: Do not check for inline function in comment line. (closes #8589 )
2021-07-19 21:04:23 +02:00
mityu
6106504e9e
patch 8.2.3184: cannot add a digraph with a leading space
...
Problem: Cannot add a digraph with a leading space. It is not easy to list
existing digraphs.
Solution: Add setdigraph(), setdigraphlist(), getdigraph() and
getdigraphlist(). (closes #8580 )
2021-07-19 20:07:21 +02:00