Bram Moolenaar
39cb2dab18
patch 8.2.2229: build failure without the +eval feature
...
Problem: build failure without the +eval feature.
Solution: Add #ifdef.
2020-12-27 17:35:18 +01:00
Bram Moolenaar
4389f9cd00
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 #.
2020-12-27 16:55:11 +01:00
Bram Moolenaar
2b32700dab
patch 8.2.2222: Vim9: cannot keep script variables when reloading
...
Problem: Vim9: cannot keep script variables when reloading.
Solution: Add the "noclear" argument to :vim9script.
2020-12-26 15:39:31 +01:00
Bram Moolenaar
6e2c2c50ba
patch 8.2.2216: Vim9: range with missing colon can be hard to spot
...
Problem: Vim9: range with missing colon can be hard to spot.
Solution: Include the start of the range in the error. (closes #7543 )
2020-12-25 19:25:45 +01:00
Bram Moolenaar
f8103f274e
patch 8.2.2214: ":e#" does not give a warning for missing white space
...
Problem: ":e#" does not give a warning for missing white space.
Solution: Adjust the check for white space. (closes #7545 )
2020-12-25 17:36:27 +01:00
Bram Moolenaar
f4e2099e39
patch 8.2.2182: Vim9: value of 'magic' is still relevant
...
Problem: Vim9: value of 'magic' is still relevant.
Solution: Always behave like 'magic' is on in Vim9 script (closes #7509 )
2020-12-21 19:59:08 +01:00
Bram Moolenaar
8f22f5c3aa
patch 8.2.2165: Vim9: assignment to dict member does not work
...
Problem: Vim9: assignment to dict member does not work.
Solution: Fix recognizing dict member. (closes #7484 )
2020-12-19 22:10:13 +01:00
Bram Moolenaar
1c0aa97827
patch 8.2.2148: Vim9: crash when user command doesn't match
...
Problem: Vim9: crash when user command doesn't match.
Solution: Adjust command index. (closes #7479 )
2020-12-16 21:43:54 +01:00
Bram Moolenaar
2a3cd3af45
patch 8.2.2140: build failure with tiny features
...
Problem: Build failure with tiny features.
Solution: Add #ifdef.
2020-12-13 19:22:27 +01:00
Bram Moolenaar
b5b9480ee9
patch 8.2.2138: Vim9: "exit_cb" causes Vim to exit
...
Problem: Vim9: "exit_cb" causes Vim to exit.
Solution: Require white space after a command in Vim9 script. (closes #7467 )
Also fix that Vim9 style heredoc was not always recognized.
2020-12-13 17:50:20 +01:00
Bram Moolenaar
93f82cbee5
patch 8.2.2135: Vim9: #{ still seen as start of dict in some places
...
Problem: Vim9: #{ still seen as start of dict in some places.
Solution: Remove check for { after #. (closes #7456 )
2020-12-12 21:25:56 +01:00
Bram Moolenaar
709664cca0
patch 8.2.2131: Vim9: crash when lambda uses same var as assignment
...
Problem: Vim9: crash when lambda uses same var as assignment.
Solution: Do not let lookup_local change lv_from_outer, make a copy.
(closes #7461 )
2020-12-12 14:33:41 +01:00
Bram Moolenaar
100118c73a
patch 8.2.2128: there is no way to do something on CTRL-Z
...
Problem: There is no way to do something on CTRL-Z.
Solution: Add VimSuspend and VimResume autocommand events. (closes #7450 )
2020-12-11 19:30:34 +01:00
Bram Moolenaar
a452b808b4
patch 8.2.2077: build failure with small features
...
Problem: Build failure with small features.
Solution: Add #ifdef.
2020-12-01 21:47:59 +01:00
Bram Moolenaar
4324d87a44
patch 8.2.2074: Vim9: using :normal from Vim9 script can't handle range
...
Problem: Vim9: using :normal from Vim9 script can't handle range.
Solution: Execute a :normal command in legacy script context. (closes #7401 )
2020-12-01 20:12:24 +01:00
Bram Moolenaar
da7c20c953
patch 8.2.2071: Vim9: list assign doesn't except empty remainder list
...
Problem: Vim9: list assign doesn't except empty remainder list.
Solution: Recognize list assignment with ";".
2020-11-30 21:12:19 +01:00
Bram Moolenaar
ce2c5444e2
patch 8.2.2066: Vim9: assignment with += doesn't work
...
Problem: Vim9: assignment with += doesn't work.
Solution: Do not see the "+" as an addition operator.
2020-11-28 21:21:17 +01:00
Bram Moolenaar
3482be6a33
patch 8.2.2058: using mkview/loadview changes the jumplist
...
Problem: Using mkview/loadview changes the jumplist.
Solution: Use ":keepjumps". Don't let ":badd" or ":balt" change the
jumplist. (closes #7371 )
2020-11-27 11:00:38 +01:00
Bram Moolenaar
47a2abf0bc
patch 8.2.2052: Vim9: "edit +4 fname" gives an error
...
Problem: Vim9: "edit +4 fname" gives an error. (Naruhiko Nishino)
Solution: Allow using a range in the +cmd argument. (closes #7364 )
2020-11-25 20:12:11 +01:00
Bram Moolenaar
6abdcf8285
patch 8.2.2033: Vim9: :def without argument gives compilation error
...
Problem: Vim9: :def without argument gives compilation error.
Solution: Add the DEF instruction. (closes #7344 )
2020-11-22 18:15:44 +01:00
Bram Moolenaar
95388e3179
patch 8.2.2022: Vim9: star command recognized errornously
...
Problem: Vim9: star command recognized errornously.
Solution: Give an error for missing colon. (issue #7335 )
2020-11-20 21:07:00 +01:00
Bram Moolenaar
eeece9e488
patch 8.2.2021: Vim9: get E1099 when autocommand resets did_emsg
...
Problem: Vim9: get E1099 when autocommand resets did_emsg.
Solution: Add did_emsg_cumul. (closes #7336 )
2020-11-20 19:26:48 +01:00
Bram Moolenaar
957cf67d50
patch 8.2.1978: making a mapping work in all modes is complicated
...
Problem: Making a mapping work in all modes is complicated.
Solution: Add the <Cmd> special key. (Yegappan Lakshmanan, closes #7282 ,
closes 4784, based on patch by Bjorn Linse)
2020-11-12 14:21:06 +01:00
Bram Moolenaar
59d8e56e04
patch 8.2.1967: the session file does not restore the alternate file
...
Problem: The session file does not restore the alternate file.
Solution: Add ":balt". Works like ":badd" and also sets the buffer as the
alternate file. Use it in the session file. (closes #7269 ,
closes #6714 )
2020-11-07 18:41:10 +01:00
Bram Moolenaar
36113e46b4
patch 8.2.1943: Vim9: wrong error message when colon is missing
...
Problem: Vim9: wrong error message when colon is missing.
Solution: Check for a missing colon. (issue #7239 )
2020-11-02 21:08:47 +01:00
Bram Moolenaar
e88c8e802c
patch 8.2.1934: Vim9: command modifiers in :def function not tested
...
Problem: Vim9: command modifiers in :def function not tested.
Solution: Add tests. Fix using modifier before filter command.
2020-11-01 17:03:37 +01:00
Bram Moolenaar
4f6b6ed208
patch 8.2.1923: Vim9: "filter" command modifier doesn't work
...
Problem: Vim9: "filter" command modifier doesn't work.
Solution: Check for space on char before argument. (closes #7216 ,
closes #7222 )
2020-10-29 20:24:34 +01:00
Bram Moolenaar
b4bcea474d
patch 8.2.1914: Vim9: cannot put line break in expression for '=' register
...
Problem: Vim9: cannot put line break in expression for '=' register.
Solution: Pass fgetline to set_expr_line(). (closes #7209 )
2020-10-28 13:53:50 +01:00
Bram Moolenaar
caf73dcfad
patch 8.2.1910: reading past the end of the command line
...
Problem: Reading past the end of the command line.
Solution: Check for NUL. (closes #7204 )
2020-10-26 21:39:13 +01:00
Bram Moolenaar
e100440158
patch 8.2.1898: command modifier parsing always uses global cmdmod
...
Problem: Command modifier parsing always uses global cmdmod.
Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
2020-10-24 20:49:43 +02:00
Bram Moolenaar
5661ed6c83
patch 8.2.1897: command modifiers are saved and set inconsistently
...
Problem: Command modifiers are saved and set inconsistently.
Solution: Separate parsing and applying command modifiers. Save values in
cmdmod_T.
2020-10-24 17:19:16 +02:00
Bram Moolenaar
210681c509
patch 8.2.1895: Vim9: silent command modifier test fails
...
Problem: Vim9: silent command modifier test fails.
Solution: Add missing changes.
2020-10-23 18:51:06 +02:00
Bram Moolenaar
683581eb49
patch 8.2.1891: Vim9: skipping over expression doesn't handle line breaks
...
Problem: Vim9: skipping over expression doesn't handle line breaks.
Solution: Pass evalarg to skip_expr(). (closes #7157 )
2020-10-22 21:22:58 +02:00
Bram Moolenaar
9668cc57a1
patch 8.2.1856: "2resize" uses size of current window
...
Problem: "2resize" uses size of current window.
Solution: Use size of resized window. (Yasuhiro Matsumoto, closes #7152 )
2020-10-17 17:39:55 +02:00
Bram Moolenaar
7a66a17190
patch 8.2.1853: "to_f" is recognized at "topleft" modifier
...
Problem: "to_f" is recognized at "topleft" modifier.
Solution: Do not recognize modifer when "_" follows. (closes #7019 )
2020-10-16 19:56:12 +02:00
Bram Moolenaar
21cbe175ee
patch 8.2.1842: crash when USE_FNAME_CASE is defined and using :browse
...
Problem: Crash when USE_FNAME_CASE is defined and using :browse.
Solution: Don't use read-only memory for ".". (Yegappan Lakshmanan,
closes #7123 )
2020-10-13 19:08:24 +02:00
Bram Moolenaar
1b1e9df78b
patch 8.2.1828: build failure without the +eval feature
...
Problem: Build failure without the +eval feature.
Solution: Add dummys for ex_block and ex_endblock.
2020-10-10 22:26:52 +02:00
Bram Moolenaar
9becdf2b98
patch 8.2.1826: Vim9: cannot use a {} block at script level
...
Problem: Vim9: cannot use a {} block at script level.
Solution: Recognize a {} block.
2020-10-10 21:33:48 +02:00
Bram Moolenaar
820d55a50b
patch 8.2.1820: Vim9: crash when error happens in timer callback
...
Problem: Vim9: crash when error happens in timer callback.
Solution: Check that current_exception is not NULL. (closes #7100 )
2020-10-10 15:05:23 +02:00
Bram Moolenaar
4934ad0e44
patch 8.2.1769: popup filter interferes with using :normal to move the cursor
...
Problem: A popup filter interferes with using :normal to move the cursor in
a popup.
Solution: Do not invoke the filter when ex_normal_busy is set.
2020-09-28 22:29:58 +02:00
Bram Moolenaar
373863ed48
patch 8.2.1746: Vim9: cannot use "fina" for "finally"
...
Problem: Vim9: Cannot use "fina" for "finally". (Naruhiko Nishino)
Solution: Specifically check for "fina". (closes #7020 )
2020-09-26 17:20:53 +02:00
Bram Moolenaar
d47f50b331
patch 8.2.1745: tiny version doesn't build
...
Problem: Tiny version doesn't build.
Solution: Add dummy ex_var() function.
2020-09-26 15:20:42 +02:00
Bram Moolenaar
30fd8204ce
patch 8.2.1744: Vim9: using ":const!" is weird
...
Problem: Vim9: using ":const!" is weird.
Solution: Use "var" - "final" - "const" like Dart. "let" still works for
now.
2020-09-26 15:09:30 +02:00
Bram Moolenaar
189832bf66
patch 8.2.1729: endless loop when ":normal" feeds popup window filter
...
Problem: Endless loop when ":normal" feeds popup window filter.
Solution: Add the ex_normal_busy_done flag.
2020-09-23 12:29:11 +02:00
Bram Moolenaar
2b22b113c6
patch 8.2.1683: Vim9: assignment test fails
...
Problem: Vim9: assignment test fails.
Solution: Include changes to find Ex command.
2020-09-14 18:35:18 +02:00
Bram Moolenaar
3bd8de40b4
patch 8.2.1679: Vim9: ":*" is not recognized as a range
...
Problem: Vim9: ":*" is not recognized as a range.
Solution: Move recognizing "*" into skip_range(). (closes #6838 )
2020-09-14 16:37:34 +02:00
Bram Moolenaar
4f25b1aba0
patch 8.2.1653: expand('<stack>') does not include the final line number
...
Problem: Expand('<stack>') does not include the final line number.
Solution: Add the line nuber. (closes #6927 )
2020-09-10 19:25:05 +02:00
Bram Moolenaar
c3516f7e45
patch 8.2.1637: Vim9: :put ={expr} does not work inside :def function
...
Problem: Vim9: :put ={expr} does not work inside :def function.
Solution: Add ISN_PUT. (closes #6397 )
2020-09-08 22:45:35 +02:00
Bram Moolenaar
c2af0afff5
patch 8.2.1519: Vim9: Ex command default range is not set
...
Problem: Vim9: Ex command default range is not set.
Solution: When range is not given use default. (closes #6779 )
2020-08-23 21:06:02 +02:00
Bram Moolenaar
2e80095501
patch 8.2.1518: Vim9: cannot assign to local option
...
Problem: Vim9: cannot assign to local option.
Solution: Skip over "&l:" and "&g:". (closes #6749 )
2020-08-23 19:34:48 +02:00