]>
granicus.if.org Git - vim/log
Bram Moolenaar [Sun, 10 Jan 2021 18:23:27 +0000 (19:23 +0100)]
patch 8.2.2323: Vim9: error when inferring type from empty dict/list
Problem: Vim9: error when inferring type from empty dict/list.
Solution: When the member is t_unknown use t_any. (closes #7009)
Bram Moolenaar [Sun, 10 Jan 2021 17:33:11 +0000 (18:33 +0100)]
patch 8.2.2322: Vim9: closure nested limiting to one level
Problem: Vim9: closure nested limiting to one level.
Solution: Add outer_T. Also make STOREOUTER work.
Bram Moolenaar [Sun, 10 Jan 2021 13:02:28 +0000 (14:02 +0100)]
patch 8.2.2321: Vim9: cannot nest closures
Problem: Vim9: cannot nest closures.
Solution: Add the nesting level to ISN_LOADOUTER and ISN_STOREOUTER.
(closes #7150, closes #7635)
Bram Moolenaar [Sat, 9 Jan 2021 15:21:37 +0000 (16:21 +0100)]
patch 8.2.2320: Vim9: no error for comparing bool with string
Problem: Vim9: no error for comparing bool with string.
Solution: Check for wrong types when comparing. (closes #7639)
Bram Moolenaar [Sat, 9 Jan 2021 14:45:23 +0000 (15:45 +0100)]
patch 8.2.2319: "exptype_T" can be read as "expected type"
Problem: "exptype_T" can be read as "expected type".
Solution: Rename to "exprtype_T", expression type.
Bram Moolenaar [Sat, 9 Jan 2021 12:20:37 +0000 (13:20 +0100)]
patch 8.2.2318: Vim9: string and list index work differently
Problem: Vim9: string and list index work differently.
Solution: Make string index work like list index. (closes #7643)
Bram Moolenaar [Sat, 9 Jan 2021 11:09:22 +0000 (12:09 +0100)]
patch 8.2.2317: Vim9: command modifier before list unpack doesn't work
Problem: Vim9: command modifier before list unpack doesn't work.
Solution: Only recognize "[" directly after the name. (closes #7641)
Bram Moolenaar [Fri, 8 Jan 2021 21:24:19 +0000 (22:24 +0100)]
patch 8.2.2316: Vim9: cannot list a lambda function
Problem: Vim9: cannot list a lambda function.
Solution: Support the <lambda>9 notation, like :disassemble. (closes #7634)
Bram Moolenaar [Fri, 8 Jan 2021 20:55:26 +0000 (21:55 +0100)]
patch 8.2.2315: Vim9: "enddef" as dict key misintepreted as function end
Problem: Vim9: "enddef" as dict key misintepreted as function end.
Solution: Check for following colon. (closes #7640)
Bram Moolenaar [Fri, 8 Jan 2021 19:53:09 +0000 (20:53 +0100)]
patch 8.2.2314: Vim9: returning zero takes two instructions
Problem: Vim9: returning zero takes two instructions.
Solution: Add ISN_RETURN_ZERO.
Bram Moolenaar [Fri, 8 Jan 2021 19:40:45 +0000 (20:40 +0100)]
patch 8.2.2313: Vim9: using uninitialized field when parsing range
Problem: Vim9: using uninitialized field when parsing range. ":silent!" not
respected when parsing range fails.
Solution: Initialize ea.skip. On pattern failure handle it like an error.
(closes #7636)
Bram Moolenaar [Fri, 8 Jan 2021 18:31:39 +0000 (19:31 +0100)]
patch 8.2.2312: build failure with Ruby 3.0 and 32 bits
Problem: Build failure with Ruby 3.0 and 32 bits.
Solution: Add #ifdef. (closes #7638)
Bram Moolenaar [Thu, 7 Jan 2021 21:03:02 +0000 (22:03 +0100)]
patch 8.2.2311: Vim9: cannot assign to variable that shadows command modifier
Problem: Vim9: cannot assign to a variable that shadows a command modifier.
Solution: Check for assignment after possible command modifier.
(closes #7632)
Bram Moolenaar [Thu, 7 Jan 2021 19:23:33 +0000 (20:23 +0100)]
patch 8.2.2310: Vim9: winsaveview() return type is too generic
Problem: Vim9: winsaveview() return type is too generic.
Solution: use dict<number> instead of dict<any>. (closes #7626)
Bram Moolenaar [Thu, 7 Jan 2021 18:36:30 +0000 (19:36 +0100)]
patch 8.2.2309: 0o777 not recognized as octal
Problem: 0o777 not recognized as octal.
Solution: Use vim_isodigit(). (Ken Takata, closes #7633, closes #7631)
Bram Moolenaar [Thu, 7 Jan 2021 18:23:08 +0000 (19:23 +0100)]
patch 8.2.2308: Vim9: no error when assigning lambda to funcref
Problem: Vim9: no error when assigning lambda to funcref without return
value.
Solution: Default return value to "any". (closes #7629)
Bram Moolenaar [Thu, 7 Jan 2021 13:45:03 +0000 (14:45 +0100)]
patch 8.2.2307: a shell command in the vimrc causes terminal output
Problem: A shell command in the vimrc causes terminal output.
Solution: Do not call starttermcap() after a shell command if the termcap
wasn't active before.
Bram Moolenaar [Wed, 6 Jan 2021 20:59:39 +0000 (21:59 +0100)]
patch 8.2.2306: Vim9: when using function reference type is not checked
Problem: Vim9: when using function reference type is not checked.
Solution: When using a function reference lookup the type and check the
argument types. (issue #7629)
Bram Moolenaar [Tue, 5 Jan 2021 21:08:20 +0000 (22:08 +0100)]
patch 8.2.2305: Vim9: "++var" and "--var" are silently accepted
Problem: Vim9: "++var" and "--var" are silently accepted.
Solution: Give an error message.
Bram Moolenaar [Tue, 5 Jan 2021 19:58:25 +0000 (20:58 +0100)]
patch 8.2.2304: Vim9: no test for unletting an imported variable
Problem: Vim9: no test for unletting an imported variable.
Solution: Add a test. Fix line number in error.
Bram Moolenaar [Tue, 5 Jan 2021 18:23:28 +0000 (19:23 +0100)]
patch 8.2.2303: Vim9: backtick expansion doesn't work for :foldopen
Problem: Vim9: backtick expansion doesn't work for :foldopen.
Solution: Do recognize backtick expansion. (closes #7621)
Bram Moolenaar [Tue, 5 Jan 2021 16:50:28 +0000 (17:50 +0100)]
patch 8.2.2302: Vim9: using an option value may use uninitialized memory
Problem: Vim9: using an option value may use uninitialized memory.
Solution: Clear v_lock. (closes #7620)
Bram Moolenaar [Mon, 4 Jan 2021 20:57:11 +0000 (21:57 +0100)]
patch 8.2.2301: Vim9: cannot unlet a dict or list item
Problem: Vim9: cannot unlet a dict or list item.
Solution: Add ISN_UNLETINDEX. Refactor assignment code to use for unlet.
Bram Moolenaar [Mon, 4 Jan 2021 16:40:12 +0000 (17:40 +0100)]
patch 8.2.2300: Vim9: wrong order on type stack when using dict
Problem: Vim9: wrong order on type stack when using dict.
Solution: Generate constants before a dict. (closes #7619)
Bram Moolenaar [Mon, 4 Jan 2021 15:15:58 +0000 (16:15 +0100)]
patch 8.2.2299: Vim9: invalid memory access making error message flaky
Problem: Vim9: invalid memory access making error message flaky.
Solution: Do not check cmd_argt for CMD_USER. (issue #7467)
Bram Moolenaar [Mon, 4 Jan 2021 13:09:43 +0000 (14:09 +0100)]
patch 8.2.2298: Vim9: comment right after "(" of function not recognized
Problem: Vim9: comment right after "(" of function not recognized.
Solution: Do not skip over white space before calling get_function_args().
(closes #7613)
Bram Moolenaar [Mon, 4 Jan 2021 12:37:54 +0000 (13:37 +0100)]
patch 8.2.2297: Vim9: cannot set 'number' to a boolean value
Problem: Vim9: cannot set 'number' to a boolean value.
Solution: Use tv_get_bool(). (closes #7615)
Bram Moolenaar [Mon, 4 Jan 2021 12:18:30 +0000 (13:18 +0100)]
patch 8.2.2296: cannot use CTRL-N and CTRL-P in a popup menu
Problem: Cannot use CTRL-N and CTRL-P in a popup menu.
Solution: Use CTRL-N like <Down> and CTRL-P like <Up>. (closes #7614)
Bram Moolenaar [Mon, 4 Jan 2021 11:42:13 +0000 (12:42 +0100)]
patch 8.2.2295: incsearch does not detect empty pattern properly
Problem: Incsearch does not detect empty pattern properly.
Solution: Return magic state when skipping over a pattern. (Christian
Brabandt, closes #7612, closes #6420)
Bram Moolenaar [Mon, 4 Jan 2021 09:47:26 +0000 (10:47 +0100)]
patch 8.2.2294: VMS: a few remaining problems
Problem: VMS: a few remaining problems.
Solution: Add VMS specific changes. Add Lua support. (Zoltan Arpadffy)
Bram Moolenaar [Sun, 3 Jan 2021 21:12:15 +0000 (22:12 +0100)]
patch 8.2.2293: build failure with Motif
Problem: Build failure with Motif. (Tony Mechelynck)
Solution: Use empty_option instead of empty_options.
Bram Moolenaar [Sun, 3 Jan 2021 21:05:19 +0000 (22:05 +0100)]
patch 8.2.2292: Vim: expr test fails
Problem: Vim: expr test fails.
Solution: Add missing part of "null" support.
Bram Moolenaar [Sun, 3 Jan 2021 20:53:53 +0000 (21:53 +0100)]
patch 8.2.2291: Vim9: cannot use "null" for v:null
Problem: Vim9: cannot use "null" for v:null.
Solution: Support "null" like "true" and "false". (closes #7495)
Bram Moolenaar [Sun, 3 Jan 2021 19:55:26 +0000 (20:55 +0100)]
patch 8.2.2290: Vim9: unlet of global variable cannot be compiled
Problem: Vim9: unlet of global variable cannot be compiled.
Solution: Skip over variables that might be defined later. Give an error if
a subscript is found. (closes #7585)
Bram Moolenaar [Sun, 3 Jan 2021 18:52:05 +0000 (19:52 +0100)]
patch 8.2.2289: Vim9: 'cpo' can become empty
Problem: Vim9: 'cpo' can become empty.
Solution: Use empty_option instead of an empty string. Update quickfix
buffer after restoring 'cpo'. (closes #7608)
Bram Moolenaar [Sun, 3 Jan 2021 17:33:13 +0000 (18:33 +0100)]
patch 8.2.2288: Vim9: line break and comment not always skipped
Problem: Vim9: line break and comment not always skipped.
Solution: Skip over white space and then line break more consistently.
(closes #7610)
Bram Moolenaar [Sun, 3 Jan 2021 16:39:28 +0000 (17:39 +0100)]
patch 8.2.2287: sort test fails when locale is French Canadian
Problem: Sort test fails when locale is French Canadian.
Solution: Expect a different sort order. (Dominique Pellé, closes #7609)
Bram Moolenaar [Sun, 3 Jan 2021 15:18:04 +0000 (16:18 +0100)]
patch 8.2.2286: sort test fails when locale is Canadian English
Problem: Sort test fails when locale is Canadian English. (Neil H Watson)
Solution: Expect a different sort order. (closes #7609)
Bram Moolenaar [Sun, 3 Jan 2021 14:55:10 +0000 (15:55 +0100)]
patch 8.2.2285: Vim9: cannot set an option to a false
Problem: Vim9: cannot set an option to a false.
Solution: For VAR_BOOL use string "0". (closes #7603)
Bram Moolenaar [Sun, 3 Jan 2021 13:47:25 +0000 (14:47 +0100)]
patch 8.2.2284: Vim9: cannot set an option to a boolean value
Problem: Vim9: cannot set an option to a boolean value.
Solution: Check for VAR_BOOL. (closes #7603)
Bram Moolenaar [Sun, 3 Jan 2021 12:09:51 +0000 (13:09 +0100)]
patch 8.2.2283: Vim9: crash when lambda has fewer arguments than expected
Problem: Vim9: crash when lambda has fewer arguments than expected.
Solution: Don't check arguments when already failed. (closes #7606)
Bram Moolenaar [Sat, 2 Jan 2021 19:14:23 +0000 (20:14 +0100)]
patch 8.2.2282: length check mismatch with argument of strncmp()
Problem: Length check mismatch with argument of strncmp(). (Christian
Brabandt)
Solution: Adjust length check.
Bram Moolenaar [Sat, 2 Jan 2021 18:44:56 +0000 (19:44 +0100)]
patch 8.2.2281: Vim9: compiled "wincmd" cannot be followed by bar
Problem: Vim9: compiled "wincmd" cannot be followed by bar.
Solution: Check for bar after "wincmd". (closes #7599)
Bram Moolenaar [Sat, 2 Jan 2021 17:31:32 +0000 (18:31 +0100)]
patch 8.2.2280: fuzzy matching doesn't give access to the scores
Problem: Fuzzy matching doesn't give access to the scores.
Solution: Return the scores with a third list. (Yegappan Lakshmanan,
closes #7596)
Bram Moolenaar [Sat, 2 Jan 2021 17:17:26 +0000 (18:17 +0100)]
patch 8.2.2279: Vim9: memory leak with catch in skipped block
Problem: Vim9: memory leak with catch in skipped block.
Solution: Free the pattern if not used.
Bram Moolenaar [Sat, 2 Jan 2021 16:43:49 +0000 (17:43 +0100)]
patch 8.2.2278: falling back to old regexp engine can some patterns
Problem: Falling back to old regexp engine can some patterns.
Solution: Do not fall back once [[:lower:]] or [[:upper:]] is used.
(Christian Brabandt, closes #7572)
Bram Moolenaar [Sat, 2 Jan 2021 16:06:16 +0000 (17:06 +0100)]
patch 8.2.2277: missing backslash
Problem: Missing backslash.
Solution: Add backslash.
Bram Moolenaar [Sat, 2 Jan 2021 15:53:13 +0000 (16:53 +0100)]
patch 8.2.2276: list of distributed files is outdated
Problem: List of distributed files is outdated.
Solution: Update the file list. Minor comment updates.
Bram Moolenaar [Sat, 2 Jan 2021 15:39:53 +0000 (16:39 +0100)]
Update runtime files.
Bram Moolenaar [Sat, 2 Jan 2021 15:17:18 +0000 (16:17 +0100)]
patch 8.2.2275: CTRL-C not recognized in Mintty
Problem: CTRL-C not recognized in Mintty.
Solution: Recognize the modifyOtherKeys code ending in "u". (Christian
Brabandt, closes #7575)
Bram Moolenaar [Sat, 2 Jan 2021 15:06:44 +0000 (16:06 +0100)]
patch 8.2.2274: badge for Travis is outdated
Problem: badge for Travis is outdated.
Solution: Update badge for move from travis-ci.org to travis-ci.com.
Bram Moolenaar [Sat, 2 Jan 2021 14:49:28 +0000 (15:49 +0100)]
patch 8.2.2273: build failure
Problem: Build failure.
Solution: Add missing changes to header file.
Bram Moolenaar [Sat, 2 Jan 2021 14:41:03 +0000 (15:41 +0100)]
patch 8.2.2272: Vim9: extend() can violate the type of a variable
Problem: Vim9: extend() can violate the type of a variable.
Solution: Add the type to the dictionary or list and check items against it.
(closes #7593)
Bram Moolenaar [Sat, 2 Jan 2021 12:53:59 +0000 (13:53 +0100)]
patch 8.2.2271: ml_get error when changing hidden buffer in Python
Problem: ml_get error when changing hidden buffer in Python.
Solution: Block updating folds. (closes #7598)
Bram Moolenaar [Sat, 2 Jan 2021 11:45:45 +0000 (12:45 +0100)]
patch 8.2.2270: warning for size_t to int conversion
Problem: Warning for size_t to int conversion. (Randall W. Morris)
Solution: Add a type cast.
Bram Moolenaar [Fri, 1 Jan 2021 20:34:37 +0000 (21:34 +0100)]
patch 8.2.2269: not all :hardcopy code covered by tests
Problem: Not all :hardcopy code covered by tests.
Solution: Test more combinations. (Dominique Pellé, closes #7595)
Bram Moolenaar [Fri, 1 Jan 2021 20:05:55 +0000 (21:05 +0100)]
patch 8.2.2268: Vim9: list unpack seen as declaration
Problem: Vim9: list unpack seen as declaration.
Solution: Check for "var". (closes #7594)
Bram Moolenaar [Fri, 1 Jan 2021 18:40:02 +0000 (19:40 +0100)]
patch 8.2.2267: Vim9: cannot use unlet for a dict member
Problem: Vim9: cannot use unlet for a dict member.
Solution: Pass GLV_NO_DECL to get_lval(). (closes #7585)
Bram Moolenaar [Fri, 1 Jan 2021 18:17:55 +0000 (19:17 +0100)]
patch 8.2.2266: Vim9: it can be hard to see where white space is missing
Problem: Vim9: it can be hard to see where white space is missing.
Solution: Mention the text where the error was seen. (closes #7580)
Bram Moolenaar [Fri, 1 Jan 2021 17:54:34 +0000 (18:54 +0100)]
patch 8.2.2265: error message for missing endfunc/enddef is last line
Problem: Error message for missing endfunc/enddef is last line.
Solution: Report the line where the function starts. (closes #7582)
Bram Moolenaar [Fri, 1 Jan 2021 17:43:51 +0000 (18:43 +0100)]
patch 8.2.2264: Vim9: no error for mismatched :endfunc or :enddef
Problem: Vim9: no error for mismatched :endfunc or :enddef.
Solution: Check for the mismatch. (issue #7582)
Bram Moolenaar [Fri, 1 Jan 2021 15:10:46 +0000 (16:10 +0100)]
patch 8.2.2263: Vim9: compilation error with try-catch in skipped block
Problem: Vim9: compilation error with try-catch in skipped block.
Solution: Do not bail out when generate_instr() returns NULL. (closes #7584)
Bram Moolenaar [Fri, 1 Jan 2021 14:11:04 +0000 (15:11 +0100)]
patch 8.2.2262: Vim9: converting bool to string prefixes v:
Problem: Vim9: converting bool to string prefixes v:.
Solution: Do not use the v: prefix.
Bram Moolenaar [Fri, 1 Jan 2021 13:49:15 +0000 (14:49 +0100)]
patch 8.2.2261: Vim9: boolean option gets string type
Problem: Vim9: boolean option gets string type.
Solution: Check for VAR_BOOL. (closes #7588)
Bram Moolenaar [Fri, 1 Jan 2021 13:31:34 +0000 (14:31 +0100)]
patch 8.2.2260: window resize test fails in very wide terminal
Problem: Window resize test fails in very wide terminal.
Solution: Resize using the 'columns' option. (Vladimir Lomov, closes #7592)
Bram Moolenaar [Fri, 1 Jan 2021 13:20:44 +0000 (14:20 +0100)]
patch 8.2.2259: Test_Executable() fails when using chroot
Problem: Test_Executable() fails when using chroot.
Solution: Ignore the difference between "sbin" and "bin".
Bram Moolenaar [Fri, 1 Jan 2021 12:54:00 +0000 (13:54 +0100)]
patch 8.2.2258: not all OCaml related files are detected
Problem: Not all OCaml related files are detected.
Solution: Update OCaml file type detection. (Markus Mottl, closes #7590)
Bram Moolenaar [Thu, 31 Dec 2020 20:28:47 +0000 (21:28 +0100)]
patch 8.2.2257: Vim9: using -> for lambda is ambiguous
Problem: Vim9: using -> for lambda is ambiguous.
Solution: Stop supporting ->, must use =>.
Bram Moolenaar [Thu, 31 Dec 2020 17:28:18 +0000 (18:28 +0100)]
patch 8.2.2256: Vim9: cannot use function( after line break in :def function
Problem: Vim9: cannot use function( after line break in :def function.
Solution: Check for "(" after "function". (closes #7581)
Bram Moolenaar [Thu, 31 Dec 2020 17:11:16 +0000 (18:11 +0100)]
patch 8.2.2255: Tcl test fails
Problem: Tcl test fails.
Solution: Change option handling.
Bram Moolenaar [Thu, 31 Dec 2020 16:41:01 +0000 (17:41 +0100)]
patch 8.2.2254: Vim9: bool option type is number
Problem: Vim9: bool option type is number.
Solution: Have get_option_value() return a different value for bool and
number options. (closes #7583)
Bram Moolenaar [Thu, 31 Dec 2020 12:39:54 +0000 (13:39 +0100)]
patch 8.2.2253: Vim9: expr test fails
Problem: Vim9: expr test fails.
Solution: Add missing assignment.
Bram Moolenaar [Thu, 31 Dec 2020 12:31:23 +0000 (13:31 +0100)]
patch 8.2.2252: Vim9: crash when using lambda without return type in dict
Problem: Vim9: crash when using lambda without return type in dict.
Solution: Without a return type use t_unknown. (closes #7587)
Bram Moolenaar [Wed, 30 Dec 2020 20:16:37 +0000 (21:16 +0100)]
patch 8.2.2251: test failures in legacy script
Problem: Test failures in legacy script.
Solution: Check for Vim9 script.
Bram Moolenaar [Wed, 30 Dec 2020 19:39:21 +0000 (20:39 +0100)]
patch 8.2.2250: Vim9: sublist is ambiguous
Problem: Vim9: sublist is ambiguous.
Solution: Require white space around the colon. (closes #7409)
Bram Moolenaar [Wed, 30 Dec 2020 13:59:23 +0000 (14:59 +0100)]
patch 8.2.2249: termcodes test is flaky when used over ssh
Problem: Termcodes test is flaky when used over ssh with X forwarding.
Solution: Set 'mousetime' to a larger value. (Dominique Pellé, closes #7576,
closes #7563)
Bram Moolenaar [Wed, 30 Dec 2020 13:08:35 +0000 (14:08 +0100)]
patch 8.2.2248: ASAN error on exit with GUI
Problem: ASAN error on exit with GUI.
Solution: Check the window still has lines. (Christian Brabandt,
closes #7573)
Bram Moolenaar [Wed, 30 Dec 2020 12:14:45 +0000 (13:14 +0100)]
patch 8.2.2247: VMS: various smaller problems
Problem: VMS: various smaller problems.
Solution: Fix VMS building and other problems. (Zoltan Arpadffy)
Bram Moolenaar [Tue, 29 Dec 2020 19:53:33 +0000 (20:53 +0100)]
patch 8.2.2246: cursor keys not recognized at the hit-Enter prompt
Problem: Cursor keys not recognized at the hit-Enter prompt after executing
an external command.
Solution: Change the codes for the extra cursor keys. (closes #7562)
Tune the delays to avoid test flakyness.
Bram Moolenaar [Tue, 29 Dec 2020 19:25:19 +0000 (20:25 +0100)]
patch 8.2.2245: Vim9: return value of winrestcmd() cannot be executed
Problem: Vim9: return value of winrestcmd() cannot be executed.
Solution: Put colons before each range. (closes #7571)
Bram Moolenaar [Tue, 29 Dec 2020 11:46:51 +0000 (12:46 +0100)]
patch 8.2.2244: crash when making the window width negative
Problem: Crash when making the window width of the not-current window
negative.
Solution: Make sure the window width is not negative. (closes #7568)
Bram Moolenaar [Tue, 29 Dec 2020 10:57:46 +0000 (11:57 +0100)]
patch 8.2.2243: crash when popup mask contains zeroes
Problem: Crash when popup mask contains zeroes.
Solution: Check boundaries properly. (closes #7569)
Bram Moolenaar [Tue, 29 Dec 2020 10:15:01 +0000 (11:15 +0100)]
patch 8.2.2242: Vim9: bar line continuation does not work at script level
Problem: Vim9: line continuation with bar does not work at script level.
Solution: Check for Vim9 script.
Bram Moolenaar [Mon, 28 Dec 2020 20:36:56 +0000 (21:36 +0100)]
patch 8.2.2241: Build with Ruby and clang may fail
Problem: Build with Ruby and clang may fail.
Solution: Adjust congigure and sed script. (Ozaki Kiichi, closes #7566)
Bram Moolenaar [Mon, 28 Dec 2020 20:15:16 +0000 (21:15 +0100)]
patch 8.2.2240: clientserver test fails if full path is used
Problem: Clientserver test fails if full path is used.
Solution: Ignore the path preceding the file name.
Bram Moolenaar [Mon, 28 Dec 2020 19:53:21 +0000 (20:53 +0100)]
patch 8.2.2239: Vim9: concatenating lines with backslash is inconvenient
Problem: Vim9: concatenating lines with backslash is inconvenient.
Solution: Support concatenating lines starting with '|', useful for
:autocmd, :command, etc. (closes #6702)
Bram Moolenaar [Mon, 28 Dec 2020 17:26:00 +0000 (18:26 +0100)]
patch 8.2.2238: Vim9: cannot load a Vim9 script without the +eval feature
Problem: Vim9: cannot load a Vim9 script without the +eval feature.
Solution: Support Vim9 script syntax without the +eval feature.
Bram Moolenaar [Mon, 28 Dec 2020 14:46:47 +0000 (15:46 +0100)]
patch 8.2.2237: CI on Mac fails in sed command
Problem: CI on Mac fails in sed command.
Solution: Set LC_ALL to "C". (Ozaki Kiichi, closes #7565)
Bram Moolenaar [Mon, 28 Dec 2020 14:41:41 +0000 (15:41 +0100)]
patch 8.2.2236: 'scroll' option can change when setting the statusline
Problem: 'scroll' option can change when setting the statusline or tabline
but the option context is not updated.
Solution: Update the script context when the scroll option is changed as a
side effect. (Christian Brabandt, closes #7533)
Bram Moolenaar [Mon, 28 Dec 2020 14:07:45 +0000 (15:07 +0100)]
patch 8.2.2235: build failure with some Ruby versions
Problem: Build failure with some Ruby versions.
Solution: Adjust the code for Ruby 3.0. (Ozaki Kiichi, closes #7564)
Bram Moolenaar [Mon, 28 Dec 2020 12:41:53 +0000 (13:41 +0100)]
patch 8.2.2234: command line wildmenu test often fails with Unix GUI
Problem: Command line wildmenu test often fails with Unix GUI.
Solution: Skip the test where it is expected to fail.
Bram Moolenaar [Mon, 28 Dec 2020 11:56:58 +0000 (12:56 +0100)]
patch 8.2.2233: cannot convert a byte index into a character index
Problem: Cannot convert a byte index into a character index.
Solution: Add charidx(). (Yegappan Lakshmanan, closes #7561)
Bram Moolenaar [Sun, 27 Dec 2020 18:18:03 +0000 (19:18 +0100)]
patch 8.2.2232: compiler error for falling through into next case
Problem: Compiler error for falling through into next case.
Solution: Move FALLTHROUGH below the #endif
Bram Moolenaar [Sun, 27 Dec 2020 18:00:24 +0000 (19:00 +0100)]
patch 8.2.2231: when "--remote file" is used "file" is not reloaded
Problem: When "--remote file" is used "file" is not reloaded.
Solution: When a :drop command is used for a file that is already displayed
in a window and it has not been changed, check if it needs to be
reloaded. (closes #7560)
Bram Moolenaar [Sun, 27 Dec 2020 17:03:22 +0000 (18:03 +0100)]
patch 8.2.2230: Vim9: insert completion runs into error
Problem: Vim9: insert completion runs into error.
Solution: Insert colon before range. (closes #7556)
Bram Moolenaar [Sun, 27 Dec 2020 16:35:18 +0000 (17:35 +0100)]
patch 8.2.2229: build failure without the +eval feature
Problem: build failure without the +eval feature.
Solution: Add #ifdef.
Bram Moolenaar [Sun, 27 Dec 2020 15:55:11 +0000 (16:55 +0100)]
patch 8.2.2228: Vim9: cannot use ":e #" because # starts a comment
Problem: Vim9: cannot use ":e #" because # starts a comment.
Solution: Support using %% instead of #.
Bram Moolenaar [Sun, 27 Dec 2020 13:43:30 +0000 (14:43 +0100)]
patch 8.2.2227: Vim9: recognizing lambda is too complicated
Problem: Vim9: recognizing lambda is too complicated.
Solution: Call compile_lambda() and check for NOTDONE.
Bram Moolenaar [Sun, 27 Dec 2020 13:02:27 +0000 (14:02 +0100)]
patch 8.2.2226: Vim9: script test fails
Problem: Vim9: script test fails.
Solution: Add missing change.
Bram Moolenaar [Sun, 27 Dec 2020 12:39:50 +0000 (13:39 +0100)]
patch 8.2.2225: Vim9: error when using :import in legacy script twice
Problem: Vim9: error when using :import in legacy script twice.
Solution: Make it possible to redefine an import when reloading.