]>
granicus.if.org Git - vim/log
Bram Moolenaar [Tue, 4 Jan 2022 15:54:38 +0000 (15:54 +0000)]
patch 8.2.3997: Vim9: not enough testing for extend() and map()
Problem: Vim9: not enough testing for extend() and map().
Solution: Add more test cases. Fix uncovered problems. Remove unused type
fields.
Bram Moolenaar [Tue, 4 Jan 2022 15:17:03 +0000 (15:17 +0000)]
patch 8.2.3996: Vim9: type checking lacks information about declared type
Problem: Vim9: type checking for list and dict lacks information about
declared type.
Solution: Add dv_decl_type and lv_decl_type. Refactor the type stack to
store two types in each entry.
David Auer [Mon, 3 Jan 2022 17:32:46 +0000 (17:32 +0000)]
patch 8.2.3995: not all sshconfig files are detected as such
Problem: Not all sshconfig files are detected as such.
Solution: Adjust the patterns used for sshconfig detection. (David Auer,
closes #9322)
Bram Moolenaar [Mon, 3 Jan 2022 16:52:28 +0000 (16:52 +0000)]
patch 8.2.3994: Vim9: extend() complains about type when it was not declared
Problem: Vim9: extend() complains about the type even when it was not
declared.
Solution: Only check the list or dict type when it was declared.
Bram Moolenaar [Mon, 3 Jan 2022 13:47:50 +0000 (13:47 +0000)]
patch 8.2.3993: when recording a change in Select mode char appears twice
Problem: When recording a change in Select mode the first typed character
appears twice.
Solution: When putting the character back into typeahead remove it from
recorded characters. (closes #9462)
h-east [Mon, 3 Jan 2022 12:53:24 +0000 (12:53 +0000)]
patch 8.2.3992: wrong local-additions in the help with language mix
Problem: Wrong local-additions in the help with language mix.
Solution: Adjust how the local additions list is generated. (Hirohito
Higashi, closes #9464)
Bram Moolenaar [Mon, 3 Jan 2022 12:28:03 +0000 (12:28 +0000)]
patch 8.2.3991: Vim9: error when extending dict<any>
Problem: Vim9: error when extending dict<any> with another type that it was
initialized with.
Solution: Also set the type for dict<any> if the initializer has a more
specific type. (closes #9461)
naohiro ono [Mon, 3 Jan 2022 11:15:47 +0000 (11:15 +0000)]
patch 8.2.3990: testing wrong operator
Problem: Testing wrong operator.
Solution: Test "g@" instead of "r_". (Naohiro Ono, closes #9463)
Yegappan Lakshmanan [Mon, 3 Jan 2022 11:03:48 +0000 (11:03 +0000)]
patch 8.2.3989: some insert completion code is not tested
Problem: Some insert completion code is not tested.
Solution: Add a few tests. Refactor thesaurus completion. (Yegappan
Lakshmanan, closes #9460)
Bram Moolenaar [Sun, 2 Jan 2022 21:46:29 +0000 (21:46 +0000)]
patch 8.2.3988: tiny build fails
Problem: Tiny build fails.
Solution: Fix misplaced #ifdef.
Bram Moolenaar [Sun, 2 Jan 2022 21:26:16 +0000 (21:26 +0000)]
patch 8.2.3987: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
Bram Moolenaar [Sun, 2 Jan 2022 20:20:45 +0000 (20:20 +0000)]
patch 8.2.3986: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
Bram Moolenaar [Sun, 2 Jan 2022 19:25:26 +0000 (19:25 +0000)]
patch 8.2.3985: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
Bram Moolenaar [Sun, 2 Jan 2022 17:28:57 +0000 (17:28 +0000)]
patch 8.2.3984: debugger test fails
Problem: Debugger test fails.
Solution: Adjust the test for modified debugging of a for loop.
Bram Moolenaar [Sun, 2 Jan 2022 17:00:40 +0000 (17:00 +0000)]
patch 8.2.3983: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
Dominique Pelle [Sun, 2 Jan 2022 16:16:33 +0000 (16:16 +0000)]
patch 8.2.3982: some lines of code not covered by tests
Problem: Some lines of code not covered by tests.
Solution: Add a few more test cases. (Dominique Pellé, closes #9453)
Bram Moolenaar [Sun, 2 Jan 2022 14:08:18 +0000 (14:08 +0000)]
patch 8.2.3981: Vim9: debugging a for loop doesn't stop before it starts
Problem: Vim9: debugging a for loop doesn't stop before it starts.
Solution: Keep the DEBUG instruction before the expression is evaluated.
(closes #9456)
Bram Moolenaar [Sun, 2 Jan 2022 13:05:45 +0000 (13:05 +0000)]
patch 8.2.3980: if 'operatorfunc' invokes an operator Visual mode is changed
Problem: If 'operatorfunc' invokes an operator the remembered Visual mode
may be changed. (Naohiro Ono)
Solution: Save and restore the information for redoing the Visual area.
(closes #9455)
Bram Moolenaar [Sun, 2 Jan 2022 12:06:33 +0000 (12:06 +0000)]
patch 8.2.3979: Vim9: the feature is not mentioned in the right places
Problem: Vim9: the feature is not mentioned in the right places.
Solution: Add +vim9script to the help and :version output.
Bram Moolenaar [Sun, 2 Jan 2022 01:04:09 +0000 (01:04 +0000)]
patch 8.2.3978: build error when using dynamycally loaded Python 3
Problem: Build error when using dynamycally loaded Python 3.
Solution: Adjust #ifdef.
Bram Moolenaar [Sat, 1 Jan 2022 21:59:18 +0000 (21:59 +0000)]
patch 8.2.3977: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
Bram Moolenaar [Sat, 1 Jan 2022 19:42:16 +0000 (19:42 +0000)]
patch 8.2.3976: FEARG_LAST is never used
Problem: FEARG_LAST is never used. (Dominique Pellé)
Solution: Remove FEARG_LAST and the related code.
Bram Moolenaar [Sat, 1 Jan 2022 19:33:50 +0000 (19:33 +0000)]
patch 8.2.3975: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
Bram Moolenaar [Sat, 1 Jan 2022 18:29:21 +0000 (18:29 +0000)]
patch 8.2.3974: Vim9: LISTAPPEND instruction does not check for a locked list
Problem: Vim9: LISTAPPEND instruction does not check for a locked list.
Solution: Check whether the list is locked. (closes #9452)
Bram Moolenaar [Sat, 1 Jan 2022 16:31:48 +0000 (16:31 +0000)]
patch 8.2.3973: tiny build fails
Problem: Tiny build fails.
Solution: Adjust #ifdefs
Bram Moolenaar [Sat, 1 Jan 2022 16:21:00 +0000 (16:21 +0000)]
patch 8.2.3972: error messages are spread out
Problem: Error messages are spread out.
Solution: Move the last errors from globals.h to errors.h.
Bram Moolenaar [Sat, 1 Jan 2022 16:01:23 +0000 (16:01 +0000)]
patch 8.2.3971: build fails
Problem: Build fails.
Solution: Use the right error message name.
Bram Moolenaar [Sat, 1 Jan 2022 15:58:22 +0000 (15:58 +0000)]
patch 8.2.3970: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
naohiro ono [Sat, 1 Jan 2022 14:59:44 +0000 (14:59 +0000)]
patch 8.2.3969: value of MAXCOL not available in Vim script
Problem: Value of MAXCOL not available in Vim script.
Solution: Add v:maxcol. (Naohiro Ono, closes #9451)
Bram Moolenaar [Sat, 1 Jan 2022 14:25:55 +0000 (14:25 +0000)]
patch 8.2.3968: build failure
Problem: Build failure.
Solution: Add missing changes.
Bram Moolenaar [Sat, 1 Jan 2022 14:19:49 +0000 (14:19 +0000)]
patch 8.2.3967: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
Bram Moolenaar [Sat, 1 Jan 2022 12:42:56 +0000 (12:42 +0000)]
patch 8.2.3966: when using feedkeys() abbreviations may be blocked
Problem: When using feedkeys() abbreviations may be blocked.
Solution: Reset tb_no_abbr_cnt when running out of characters.
(closes #9448)
Bram Moolenaar [Sat, 1 Jan 2022 12:17:00 +0000 (12:17 +0000)]
patch 8.2.3965: Vim9: no easy way to check if Vim9 script is supported
Problem: Vim9: no easy way to check if Vim9 script is supported.
Solution: Add has('vim9script').
Alex Vear [Sat, 1 Jan 2022 11:38:42 +0000 (11:38 +0000)]
patch 8.2.3964: some common lisp and scheme files not recognized
Problem: Some common lisp and scheme files not recognized.
Solution: Recognize *.asd as lisp and *.sld as scheme. (Alex Vear,
closes #9447)
Bram Moolenaar [Sat, 1 Jan 2022 00:55:28 +0000 (00:55 +0000)]
patch 8.2.3963: build failure with tiny and small features
Problem: Build failure with tiny and small features. (Tony Mechelynck)
Solution: Adjust #ifdefs.
Bram Moolenaar [Fri, 31 Dec 2021 23:15:53 +0000 (23:15 +0000)]
patch 8.2.3962: build fails for missing error message
Problem: Build fails for missing error message.
Solution: Add changes in missed file.
Bram Moolenaar [Fri, 31 Dec 2021 22:49:24 +0000 (22:49 +0000)]
patch 8.2.3961: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
Bram Moolenaar [Fri, 31 Dec 2021 19:59:55 +0000 (19:59 +0000)]
patch 8.2.3960: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
Bram Moolenaar [Fri, 31 Dec 2021 18:49:43 +0000 (18:49 +0000)]
patch 8.2.3959: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
Yegappan Lakshmanan [Fri, 31 Dec 2021 17:33:47 +0000 (17:33 +0000)]
patch 8.2.3958: build failure compiling xxd with "-std=c2x"
Problem: Build failure compiling xxd with "-std=c2x".
Solution: define _XOPEN_SOURCE. (Yegappan Lakshmanan, closes #9444)
Bram Moolenaar [Fri, 31 Dec 2021 17:25:48 +0000 (17:25 +0000)]
patch 8.2.3957: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
zeertzjq [Fri, 31 Dec 2021 15:21:53 +0000 (15:21 +0000)]
patch 8.2.3956: duplicate assignment
Problem: Duplicate assignment.
Solution: Remove the second assignment. (closes #9442)
Bram Moolenaar [Fri, 31 Dec 2021 15:09:27 +0000 (15:09 +0000)]
patch 8.2.3955: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
Bram Moolenaar [Fri, 31 Dec 2021 14:06:45 +0000 (14:06 +0000)]
patch 8.2.3954: Vim9: no error for shadowing if script var is declared later
Problem: Vim9: no error for shadowing if script var is declared later.
Solution: Check argument names when compiling a function.
Yegappan Lakshmanan [Fri, 31 Dec 2021 12:59:53 +0000 (12:59 +0000)]
patch 8.2.3953: insert completion code is too complicated
Problem: Insert completion code is too complicated.
Solution: More refactoring. Move function arguments into a struct.
(Yegappan Lakshmanan, closes #9437)
zeertzjq [Fri, 31 Dec 2021 12:19:22 +0000 (12:19 +0000)]
patch 8.2.3952: first line not redrawn when adding lines to an empty buffer
Problem: First line not redrawn when adding lines to an empty buffer.
Solution: Adjust the argument to appended_lines(). (closes #9439,
closes #9438)
Bram Moolenaar [Thu, 30 Dec 2021 20:24:12 +0000 (20:24 +0000)]
Update runtime files
Bram Moolenaar [Thu, 30 Dec 2021 17:09:05 +0000 (17:09 +0000)]
patch 8.2.3951: Vim9: memory leak when text after a nested function
Problem: Vim9: memory leak when text after a nested function.
Solution: Free the function if text is found after "enddef".
Bram Moolenaar [Thu, 30 Dec 2021 15:29:18 +0000 (15:29 +0000)]
patch 8.2.3950: going beyond the end of the line with /\%V
Problem: Going beyond the end of the line with /\%V.
Solution: Check for valid column in getvcol().
Bram Moolenaar [Thu, 30 Dec 2021 14:49:43 +0000 (14:49 +0000)]
patch 8.2.3949: using freed memory with /\%V
Problem: Using freed memory with /\%V.
Solution: Get the line again after getvvcol().
Bram Moolenaar [Thu, 30 Dec 2021 13:59:20 +0000 (13:59 +0000)]
patch 8.2.3948: Vim9: failure with partial with unknown argument count
Problem: Vim9: failure with partial with unknown argument count.
Solution: Do not copy argument types if there aren't any.
zeertzjq [Thu, 30 Dec 2021 13:45:57 +0000 (13:45 +0000)]
patch 8.2.3947: unnecessary check for NULL pointer
Problem: Unnecessary check for NULL pointer.
Solution: Remove the check. (closes #9434)
Bram Moolenaar [Thu, 30 Dec 2021 13:32:09 +0000 (13:32 +0000)]
patch 8.2.3946: when an internal error makes Vim exit the error is not seen
Problem: When an internal error makes Vim exit the error is not seen.
Solution: Add the error to the test output.
Bram Moolenaar [Thu, 30 Dec 2021 13:29:00 +0000 (13:29 +0000)]
patch 8.2.3945: Vim9: partial variable argument types are wrong
Problem: Vim9: partial variable argument types are wrong, leading to a
crash.
Solution: When adjusting the argument count also adjust the argument types.
(closes #9433)
Yegappan Lakshmanan [Thu, 30 Dec 2021 11:40:53 +0000 (11:40 +0000)]
patch 8.2.3944: insert mode completion functions are too long
Problem: Insert mode completion functions are too long.
Solution: Split up into multiple functions. (Yegappan Lakshmanan,
closes #9431)
Bram Moolenaar [Thu, 30 Dec 2021 10:51:45 +0000 (10:51 +0000)]
patch 8.2.3943: compiler warning from gcc for uninitialized variable
Problem: Compiler warning from gcc for uninitialized variable.
Solution: Initialize variable. (closes #9429)
Bram Moolenaar [Thu, 30 Dec 2021 10:32:25 +0000 (10:32 +0000)]
patch 8.2.3942: Coverity reports a possible memory leak
Problem: Coverity reports a possible memory leak.
Solution: Free the array if allocation fails.
dbivolaru [Wed, 29 Dec 2021 19:41:47 +0000 (19:41 +0000)]
patch 8.2.3941: SIGTSTP is not handled
Problem: SIGTSTP is not handled.
Solution: Handle SIGTSTP like pressing CTRL-Z. (closes #9422)
Bram Moolenaar [Wed, 29 Dec 2021 19:22:44 +0000 (19:22 +0000)]
patch 8.2.3940: match highlight disappears when doing incsearch for ":s/pat"
Problem: Match highlight disappears when doing incsearch for ":s/pat".
Solution: Only use line limit for incsearch highlighting. (closes #9425)
Yegappan Lakshmanan [Wed, 29 Dec 2021 18:16:21 +0000 (18:16 +0000)]
patch 8.2.3939: MS-Windows: fnamemodify('', ':p') does not work
Problem: MS-Windows: fnamemodify('', ':p') does not work.
Solution: Do not consider an empty string a full path. (Yegappan Lakshmanan,
closes #9428, closes #9427)
Bram Moolenaar [Wed, 29 Dec 2021 18:09:13 +0000 (18:09 +0000)]
patch 8.2.3938: line comment start is also found in a string
Problem: Line comment start is also found in a string.
Solution: Skip line comments in a string.
Yegappan Lakshmanan [Wed, 29 Dec 2021 17:38:46 +0000 (17:38 +0000)]
patch 8.2.3937: Insert mode completion function is too long
Problem: Insert mode completion function is too long.
Solution: Refactor into multiple functions. (Yegappan Lakshmanan,
closes #9423)
Sean Dewar [Wed, 29 Dec 2021 16:44:48 +0000 (16:44 +0000)]
patch 8.2.3936: no proper test for maintaining change mark in diff mode
Problem: No proper test for maintaining change mark in diff mode.
Solution: Run the test with internal and external diff. (Sean Dewar,
closes #9424)
Bram Moolenaar [Wed, 29 Dec 2021 16:05:31 +0000 (16:05 +0000)]
patch 8.2.3935: CTRL-U in Insert mode does not fix the indent
Problem: CTRL-U in Insert mode does not fix the indent.
Solution: Fix the indent when 'cindent' is set.
Bram Moolenaar [Wed, 29 Dec 2021 15:15:47 +0000 (15:15 +0000)]
patch 8.2.3934: repeating line comment is undesired for "O" command
Problem: Repeating line comment is undesired for "O" command.
Solution: Do not copy line comment leader for "O". (closes #9426)
Richard Doty [Wed, 29 Dec 2021 14:39:08 +0000 (14:39 +0000)]
patch 8.2.3933: after ":cd" fails ":cd -" is incorrect
Problem: After ":cd" fails ":cd -" is incorrect.
Solution: Set the previous directory only after successfully changing
directory. (Richard Doty, closes #9419, closes #8983)
Bram Moolenaar [Wed, 29 Dec 2021 14:09:32 +0000 (14:09 +0000)]
patch 8.2.3932: C line comment not formatted properly
Problem: C line comment not formatted properly.
Solution: If a line comment follows after "#if" the next line is not the end
of a paragraph.
Bram Moolenaar [Wed, 29 Dec 2021 11:59:53 +0000 (11:59 +0000)]
patch 8.2.3931: Coverity reports a memory leak
Problem: Coverity reports a memory leak.
Solution: Free memory in case of failure.
Bram Moolenaar [Tue, 28 Dec 2021 20:59:56 +0000 (20:59 +0000)]
patch 8.2.3930: getcmdline() argument has a misleading type
Problem: getcmdline() argument has a misleading type.
Solution: Use the correct type, even though the value is not used.
Bram Moolenaar [Tue, 28 Dec 2021 20:53:30 +0000 (20:53 +0000)]
patch 8.2.3929: using unititialized variable
Problem: Using unititialized variable.
Solution: Set the option flags to zero for a terminal option.
Bram Moolenaar [Tue, 28 Dec 2021 20:49:56 +0000 (20:49 +0000)]
patch 8.2.3928: heredoc test fails
Problem: Heredoc test fails.
Solution: Correct order of function arguments.
Bram Moolenaar [Tue, 28 Dec 2021 20:18:50 +0000 (20:18 +0000)]
patch 8.2.3927: Vim9: double free when using lambda
Problem: Vim9: double free when using lambda.
Solution: Don't free both cmdline and line_to_free.
Bram Moolenaar [Tue, 28 Dec 2021 20:03:43 +0000 (20:03 +0000)]
patch 8.2.3926: build failure without the 'autochdir' option
Problem: Build failure without the 'autochdir' option. (John Marriott)
Solution: Add #ifdefs.
Bram Moolenaar [Tue, 28 Dec 2021 18:30:05 +0000 (18:30 +0000)]
patch 8.2.3925: diff mode confused by NUL bytes
Problem: Diff mode confused by NUL bytes.
Solution: Handle NUL bytes differently. (Christian Brabandt, closes #9421,
closes #9418)
Bram Moolenaar [Tue, 28 Dec 2021 17:55:26 +0000 (17:55 +0000)]
patch 8.2.3924: Vim9: no error if something follows :enddef
Problem: Vim9: no error if something follows :enddef in a nested function.
Solution: Give an error. Move common code to a function.
Bram Moolenaar [Tue, 28 Dec 2021 17:23:12 +0000 (17:23 +0000)]
patch 8.2.3923: Vim9: double free with split argument list in nested function
Problem: Vim9: double free if a nested function has a line break in the
argument list.
Solution: Set cmdlinep when freeing the previous line.
ichizok [Tue, 28 Dec 2021 15:51:45 +0000 (15:51 +0000)]
patch 8.2.3922: cannot build with dynamic Ruby 3.1
Problem: Cannot build with dynamic Ruby 3.1.
Solution: Add "_EXTRA" variables for CI. Add missing functions. (Ozaki
Kiichi, closes #9420)
Lewis Russell [Tue, 28 Dec 2021 13:54:41 +0000 (13:54 +0000)]
patch 8.2.3921: the way xdiff is used is inefficient
Problem: The way xdiff is used is inefficient.
Solution: Use hunk_func instead of the out_line callback. (Lewis Russell,
closes #9344)
Bram Moolenaar [Tue, 28 Dec 2021 13:15:05 +0000 (13:15 +0000)]
patch 8.2.3920: restoring directory after using another window is inefficient
Problem: Restoring directory after using another window is inefficient.
Solution: Only restore the directory for win_execute(). Apply 'autochdir'
only when needed.
Bram Moolenaar [Tue, 28 Dec 2021 11:24:49 +0000 (11:24 +0000)]
patch 8.2.3919: Vim9: wrong argument for append() results in two errors
Problem: Vim9: wrong argument for append() results in two errors.
Solution: Check did_emsg. Also for setline(). Adjust the help for
appendbufline().
Bram Moolenaar [Mon, 27 Dec 2021 21:42:57 +0000 (21:42 +0000)]
patch 8.2.3918: function list test fails
Problem: Function list test fails.
Solution: Adjust the test for the new location of the function list.
Bram Moolenaar [Mon, 27 Dec 2021 21:33:07 +0000 (21:33 +0000)]
Update runtime files
Bram Moolenaar [Mon, 27 Dec 2021 21:28:34 +0000 (21:28 +0000)]
patch 8.2.3917: the eval.txt help file is way too big
Problem: The eval.txt help file is way too big.
Solution: Move the builtin function details to a separate file.
Bram Moolenaar [Mon, 27 Dec 2021 20:57:06 +0000 (20:57 +0000)]
patch 8.2.3916: no error for passing an invalid line number to append()
Problem: No error for passing an invalid line number to append().
Solution: In Vim9 script check for a non-negative number. (closes #9417)
Bram Moolenaar [Mon, 27 Dec 2021 19:28:37 +0000 (19:28 +0000)]
patch 8.2.3915: illegal memory access when completing with invalid bytes
Problem: illegal memory access when completing with invalid bytes.
Solution: Avoid going over the end of the completion text.
Dominique Pelle [Mon, 27 Dec 2021 17:21:41 +0000 (17:21 +0000)]
patch 8.2.3914: various spelling mistakes in comments
Problem: Various spelling mistakes in comments.
Solution: Fix the mistakes. (Dominique Pellé, closes #9416)
Bram Moolenaar [Mon, 27 Dec 2021 15:39:57 +0000 (15:39 +0000)]
patch 8.2.3913: help for expressions does not mention Vim9 syntax
Problem: Help for expressions does not mention Vim9 syntax.
Solution: Add the rules for Vim9 to the expression help. Rename functions
to match the help.
Bram Moolenaar [Mon, 27 Dec 2021 12:52:07 +0000 (12:52 +0000)]
patch 8.2.3912: the ins_complete() function is much too long
Problem: The ins_complete() function is much too long.
Solution: Split it up into multiple functions. (Yegappan Lakshmanan,
closes #9414)
Bram Moolenaar [Mon, 27 Dec 2021 12:29:19 +0000 (12:29 +0000)]
patch 8.2.3911: Vim9: type check for filter() does not accept unknown
Problem: Vim9: type check for filter() does not accept unknown.
Solution: Also accept unknown for the return type. (closes #9413)
Bram Moolenaar [Mon, 27 Dec 2021 11:54:37 +0000 (11:54 +0000)]
patch 8.2.3910: when compare function of sort() fails it does not abort
Problem: When the compare function of sort() produces and error then sort()
does not abort.
Solution: Check if did_emsg was incremented.
Bram Moolenaar [Mon, 27 Dec 2021 10:35:52 +0000 (10:35 +0000)]
patch 8.2.3909: Containerfile using prefix name not recognized
Problem: Containerfile using prefix name not recognized.
Solution: Recognize Containerfile.*.
Yegappan Lakshmanan [Sun, 26 Dec 2021 21:54:43 +0000 (21:54 +0000)]
patch 8.2.3908: cannot use a script-local function for 'foldtext'
Problem: Cannot use a script-local function for 'foldtext'.
Solution: Expand "s:" and "<SID>". (Yegappan Lakshmanan, closes #9411)
Bram Moolenaar [Sun, 26 Dec 2021 20:20:34 +0000 (20:20 +0000)]
patch 8.2.3907: error messages are spread out
Problem: Error messages are spread out.
Solution: Move error messages to errors.h. Avoid duplicates.
Bram Moolenaar [Sun, 26 Dec 2021 18:09:31 +0000 (18:09 +0000)]
patch 8.2.3906: Vim9 help still contains "under development" warnings
Problem: Vim9 help still contains "under development" warnings.
Solution: Remove the explicit warning.
Bram Moolenaar [Sun, 26 Dec 2021 17:31:35 +0000 (17:31 +0000)]
patch 8.2.3905: Dockerfile using prefix name not recognized
Problem: Dockerfile using prefix name not recognized.
Solution: Recognize Dockerfile.*. (closes #9410)
Bram Moolenaar [Sun, 26 Dec 2021 17:18:14 +0000 (17:18 +0000)]
patch 8.2.3904: Vim9: skip expression type is not checked at compile time
Problem: Vim9: skip expression type is not checked at compile time.
Solution: Add argument type checks.
Bram Moolenaar [Sun, 26 Dec 2021 15:00:07 +0000 (15:00 +0000)]
patch 8.2.3903: "gM" does not count tabs as expected
Problem: "gM" does not count tabs as expected.
Solution: Use linetabsize() instead of mb_string2cells(). (closes #9409)
Bram Moolenaar [Sun, 26 Dec 2021 14:23:22 +0000 (14:23 +0000)]
patch 8.2.3902: Vim9: double free with nested :def function
Problem: Vim9: double free with nested :def function.
Solution: Pass "line_to_free" from compile_def_function() and make sure
cmdlinep is valid.
Bram Moolenaar [Sun, 26 Dec 2021 12:07:30 +0000 (12:07 +0000)]
patch 8.2.3901: Vim9: Cannot set 'cpo' in main .vimrc if using Vim9 script
Problem: Vim9: Cannot set 'cpo' in main .vimrc if using Vim9 script.
Solution: Do not restore 'cpo' at the end of the main .vimrc.
Yegappan Lakshmanan [Sun, 26 Dec 2021 10:51:39 +0000 (10:51 +0000)]
patch 8.2.3900: it is not easy to use a script-local function for an option
Problem: It is not easy to use a script-local function for an option.
Solution: recognize s: and <SID> at the start of the expression. (Yegappan
Lakshmanan, closes #9401)