Bram Moolenaar
63b9173693
patch 8.2.3297: cannot use all commands inside a {} block
...
Problem: Cannot use all commands inside a {} block after :command and
:autocmd.
Solution: Do consider \n to separate commands. (closes #8620 )
v8.2.3297
2021-08-05 20:40:03 +02:00
Bram Moolenaar
af647e76ca
patch 8.2.3296: Vim9: cannot add a number to a float
...
Problem: Vim9: cannot add a number to a float.
Solution: Accept a number if the destination is a float. (closes #8703 )
v8.2.3296
2021-08-05 19:01:17 +02:00
zeertzjq
4f33bc20d7
patch 8.2.3295: 'cursorline' should not apply to 'breakindent'
...
Problem: 'cursorline' should not apply to 'breakindent'.
Solution: Make 'cursorline' apply to 'breakindent' and 'showbreak'
consistently. (closes #8684 )
v8.2.3295
2021-08-05 17:57:02 +02:00
Bram Moolenaar
1b6acf02b7
patch 8.2.3294: Lua: memory leak when adding dict item fails
...
Problem: Lua: memory leak when adding dict item fails.
Solution: Free the typval and the dict item.
v8.2.3294
2021-08-05 16:47:08 +02:00
Andy Gozas
6a230c6b32
patch 8.2.3293: finding completions may cause an endless loop
...
Problem: Finding completions may cause an endless loop.
Solution: Use a better way to check coming back where the search started.
(Andy Gozas, closes #8672 , closes #8671 )
v8.2.3293
2021-08-05 16:23:27 +02:00
Christian Brabandt
bc67e5a0a4
patch 8.2.3292: underscore in very magic pattern causes a hang
...
Problem: Underscore in very magic pattern causes a hang. Pattern with \V
are case sensitive. (Yutao Yuan)
Solution: Adjust condition for magicness and advance pointer. (Christian
Brabandt, closes #8707 , closes #8704 , closes #8705 )
v8.2.3292
2021-08-05 15:24:59 +02:00
Bram Moolenaar
4a01159da2
patch 8.2.3291: Coverity warns for not checking return value
...
Problem: Coverity warns for not checking return value.
Solution: If dict_add() fails give an error message.
v8.2.3291
2021-08-05 15:11:08 +02:00
Zdenek Dohnal
9fe17d473a
patch 8.2.3290: Vim9: compiling dict may use pointer after free
...
Problem: Vim9: compiling dict may use pointer after free and leak memory on
failure.
Solution: Pass a pointer to generate_PUSHS(). (Zdenek Dohnal, closes #8699 )
v8.2.3290
2021-08-04 22:30:52 +02:00
Bram Moolenaar
f18e8a969a
patch 8.2.3289: compiler warning for unused variable with small features
...
Problem: Compiler warning for unused variable with small features.
Solution: Rearrange #ifdefs.
v8.2.3289
2021-08-04 21:16:50 +02:00
Yegappan Lakshmanan
9dc4bef897
patch 8.2.3288: cannot easily access namespace dictionaries from Lua
...
Problem: Cannot easily access namespace dictionaries from Lua.
Solution: Add vim.g, vim.b, etc. (Yegappan Lakshmanan, closes #8693 ,
from NeoVim)
v8.2.3288
2021-08-04 21:12:52 +02:00
Bram Moolenaar
57942237c1
patch 8.2.3287: channel events not handled in BufEnter autocommand
...
Problem: Channel events not handled in BufEnter autocommand.
Solution: Decrement dont_parse_messages earlier. (Tim Pope, closes #8697 )
v8.2.3287
2021-08-04 20:54:55 +02:00
Bram Moolenaar
d61f2f772a
patch 8.2.3286: win_enter_ext() has too many boolean arguments
...
Problem: win_enter_ext() has too many boolean arguments.
Solution: use one flags argument with defined values.
v8.2.3286
2021-08-04 20:26:19 +02:00
Gregory Anders
dd097bdc13
patch 8.2.3285: scdoc filetype is not recognized
...
Problem: Scdoc filetype is not recognized.
Solution: Add filetype detection. (Gregory Anders, closes #8701 )
v8.2.3285
2021-08-04 20:00:27 +02:00
Sean Dewar
80d7395dcf
patch 8.2.3284: no error for insert() or remove() changing a locked blob
...
Problem: No error for insert() or remove() changing a locked blob.
Solution: Check a blob is not locked before changing it. (Sean Dewar,
closes #8696 )
v8.2.3284
2021-08-04 19:25:54 +02:00
Christian Clason
0eec851942
patch 8.2.3283: Julia filetype is not recognized
...
Problem: Julia filetype is not recognized
Solution: Add filetype detection. (Christian Clason, closes #8700 )
v8.2.3283
2021-08-04 17:03:59 +02:00
Bram Moolenaar
41a3485dd6
patch 8.2.3282: Vim9: error about using -complete without -nargs is confusing
...
Problem: Vim9: error about using -complete without -nargs is confusing.
Solution: Change the wording.
v8.2.3282
2021-08-04 16:09:24 +02:00
Bram Moolenaar
23e2e11515
patch 8.2.3281: Vim9: TODO items in tests can be taken care of
...
Problem: Vim9: TODO items in tests can be taken care of.
Solution: Update test for now working functionality. (closes #8694 )
v8.2.3281
2021-08-03 21:16:18 +02:00
Gary Johnson
51ad850f5f
patch 8.2.3280: 'virtualedit' local to buffer is not the best solution
...
Problem: 'virtualedit' local to buffer is not the best solution.
Solution: Make it window-local. (Gary Johnson, closes #8685 )
v8.2.3280
2021-08-03 18:33:08 +02:00
Bram Moolenaar
2c70711e3f
patch 8.2.3279: Vim9: cannot use block in cmdline window
...
Problem: Vim9: cannot use block in cmdline window.
Solution: Add EX_CMDWIN to the CMD_block flags. (closes #8689 )
v8.2.3279
2021-08-02 22:26:56 +02:00
Bram Moolenaar
7bf9a07bd7
patch 8.2.3278: Vim9: error when adding 1 to float
...
Problem: Vim9: error when adding 1 to float.
Solution: Accept t_number_bool. (closes #8687 )
v8.2.3278
2021-08-02 21:55:15 +02:00
Bram Moolenaar
c3160727b9
patch 8.2.3277: Vim9: compiled has() does not work properly
...
Problem: Vim9: compiled has() does not work properly.
Solution: Fix check for has() vs exists().
v8.2.3277
2021-08-02 21:12:05 +02:00
Bram Moolenaar
bb7ee7abe1
patch 8.2.3276: Vim9: exists() can only be evaluated at runtime
...
Problem: Vim9: exists() can only be evaluated at runtime.
Solution: Evaluate at compile time for option name literals. (closes #8437 )
v8.2.3276
2021-08-02 20:06:50 +02:00
Bram Moolenaar
35578168be
patch 8.2.3275: optimizer can use hints about ga_grow() normally succeeding
...
Problem: Optimizer can use hints about ga_grow() normally succeeding.
Solution: Use GA_GROW_FAILS() and GA_GROW_OK() in several places. (Dominique
Pellé, issue #8635 )
v8.2.3275
2021-08-02 19:10:38 +02:00
Bram Moolenaar
952d9d827e
patch 8.2.3274: macro for printf format check can be simplified
...
Problem: Macro for printf format check can be simplified.
Solution: Add ATTRIBUTE_FORMAT_PRINTF(). (Dominique Pellé, issue #8635 )
v8.2.3274
2021-08-02 18:07:18 +02:00
Bram Moolenaar
1321257317
patch 8.2.3273: autocmd test fails
...
Problem: Autocmd test fails.
Solution: Require white space before the "{" that starts a block.
v8.2.3273
2021-08-01 22:01:30 +02:00
Bram Moolenaar
e041dde7bb
patch 8.2.3272: cannot use id zero with prop_find()
...
Problem: Cannot use id zero with prop_find(). (Naohiro Ono)
Solution: Also accept id zero.
v8.2.3272
2021-08-01 21:30:12 +02:00
Bram Moolenaar
e4db17fb6e
patch 8.2.3271: Vim9: cannot use :command or :au with block in :def function
...
Problem: Vim9: cannot use :command or :au with a block in a :def function.
Solution: Recognize the start of the block.
v8.2.3271
2021-08-01 21:19:43 +02:00
Bram Moolenaar
0d4d9ee9bb
patch 8.2.3270: prop_find() finds property with ID -2
...
Problem: prop_find() finds property with ID -2.
Solution: Use a separate flag to indicate an ID was specified. (issue #8674 )
v8.2.3270
2021-08-01 19:28:15 +02:00
Bram Moolenaar
f78da4f9d6
patch 8.2.3269: Vim9: wrong argument check for partial
...
Problem: Vim9: wrong argument check for partial. (Naohiro Ono)
Solution: Handle getting return type without arguments. Correct the minimal
number of arguments for what is included in the partial.
(closes #8667 )
v8.2.3269
2021-08-01 15:40:31 +02:00
Bram Moolenaar
73b8b0ae3a
patch 8.2.3268: cannot use a block with :autocmd like with :command
...
Problem: Cannot use a block with :autocmd like with :command.
Solution: Add support for a {} block after :autocmd. (closes #8620 )
v8.2.3268
2021-08-01 14:52:32 +02:00
Bram Moolenaar
6db660bed9
patch 8.2.3267: Vim9: crash when disassembling using deleted script variable
...
Problem: Vim9: crash when disassembling a function that uses a deleted
script variable.
Solution: Check the variable still exists. (closes #8683 )
v8.2.3267
2021-08-01 14:08:54 +02:00
Bram Moolenaar
e97976baa7
patch 8.2.3266: Vim9: assignment with two indexes may check next line
...
Problem: Vim9: assignment with two indexes may check next line.
Solution: Limit the number of lines to avoid checking the next line when
assiging to a LHS subscript. (closes #8660 )
v8.2.3266
2021-08-01 13:17:17 +02:00
Christian Brabandt
78ba933d18
patch 8.2.3265: smartcase does not work correctly in very magic pattern
...
Problem: Smartcase does not work correctly in very magic pattern.
Solution: Take the magicness into account when skipping over regexp items.
(Christian Brabandt, closes #8682 , closes #7845 )
v8.2.3265
2021-08-01 12:44:37 +02:00
Bram Moolenaar
f24f51d030
patch 8.2.3264: Vim9: assign test fails
...
Problem: Vim9: assign test fails.
Solution: Add missing change.
v8.2.3264
2021-08-01 12:01:49 +02:00
Bram Moolenaar
f5d52c90e0
patch 8.2.3263: Vim9: "..=" does not accept same types as the ".." operator
...
Problem: Vim9: "..=" does not accept same types as the ".." operator.
Solution: Convert value to string like ".." does. (issue #8664 )
v8.2.3263
2021-07-31 22:51:10 +02:00
Bram Moolenaar
9e0ee59019
patch 8.2.3262: build failure when ABORT_ON_INTERNAL_ERROR is defined
...
Problem: Build failure when ABORT_ON_INTERNAL_ERROR is defined.
Solution: Adjust how estack_len_before is used.
v8.2.3262
2021-07-31 22:17:28 +02:00
Bram Moolenaar
1780f08ba4
patch 8.2.3261: Vim9: when compiling repeat(123, N) return type is number
...
Problem: Vim9: when compiling repeat(123, N) return type is number.
Solution: Make return type a string. (closes #8664 )
v8.2.3261
2021-07-31 22:03:59 +02:00
Bram Moolenaar
335c8c7b20
patch 8.2.3260: build failure with small features
...
Problem: Build failure with small features.
Solution: Add #ifdef.
v8.2.3260
2021-07-31 21:44:35 +02:00
Bram Moolenaar
620c959c6c
patch 8.2.3259: when 'indentexpr' causes an error did_throw may hang
...
Problem: When 'indentexpr' causes an error the did_throw flag may remain
set.
Solution: Reset did_throw and show the error. (closes #8677 )
v8.2.3259
2021-07-31 21:32:31 +02:00
Bram Moolenaar
78db17c6f3
patch 8.2.3258: error messages have the wrong text
...
Problem: Error messages have the wrong text.
Solution: Adjust the error message.
v8.2.3258
2021-07-31 19:12:58 +02:00
Bram Moolenaar
8e3fc135e8
patch 8.2.3257: calling prop_find() with -1 for ID gives errornous error
...
Problem: Calling prop_find() with -1 for ID gives errornous error. (Naohiro
Ono)
Solution: When passing -1 use -2. (closes #8674 )
v8.2.3257
2021-07-31 18:33:57 +02:00
Bram Moolenaar
bf634a0a8b
patch 8.2.3256: executable test may fail on new Ubuntu system
...
Problem: Executable test may fail on new Ubuntu system.
Solution: Consider /usr/bin/cat and /bin/cat the same.
v8.2.3256
2021-07-31 17:20:04 +02:00
Connor Lane Smith
b9115da4be
patch 8.2.3255: ci" finds following string but ci< and others don't
...
Problem: ci" finds following string but ci< and others don't.
Solution: When not inside an object find the start. (Connor Lane Smit,
closes #8670 )
v8.2.3255
2021-07-31 13:31:42 +02:00
Yegappan Lakshmanan
28d8421bfb
patch 8.2.3254: win_gettype() does not recognize a quickfix window
...
Problem: win_gettype() does not recognize a quickfix window.
Solution: Add "quickfix" and "loclist". (Yegappan Lakshmanan, closes #8676 )
v8.2.3254
2021-07-31 12:43:23 +02:00
Bram Moolenaar
890ee4e2be
patch 8.2.3253: channel test fails randomly
...
Problem: Channel test fails randomly.
Solution: Add a sleep after sending the "echoerr" command. (Michael Soyka)
v8.2.3253
2021-07-30 21:56:10 +02:00
Yegappan Lakshmanan
4a15504e91
patch 8.2.3252: duplicated code for adding buffer lines
...
Problem: Duplicated code for adding buffer lines.
Solution: Move code to a common function. Also move map functions to map.c.
(Yegappan Lakshmanan, closes #8665 )
v8.2.3252
2021-07-30 21:32:45 +02:00
Bram Moolenaar
0f5575d0a7
patch 8.2.3251: listing builtin_gui as an available terminal is confusing
...
Problem: Listing builtin_gui as an available terminal is confusing.
Solution: Do not list builtin_gui. (Christian Brabandt, closes #8669 ,
closes #8661 )
v8.2.3251
2021-07-30 21:18:03 +02:00
Christian Brabandt
1790be6cb6
patch 8.2.3250: MS-Windows: cannot build with libsodium
...
Problem: MS-Windows: cannot build with libsodium.
Solution: Change FEAT_SODIUM into HAVE_SODIUM. (Christian Brabandt,
closes #8668 , closes #8663 )
v8.2.3250
2021-07-30 20:51:59 +02:00
Bram Moolenaar
60dc8274e9
patch 8.2.3249: Vim9: error for re-imported function with default argument
...
Problem: Vim9: error for re-imported function with default argument.
Solution: Do not check argument type if it is still unknown. (closes #8653 )
v8.2.3249
2021-07-29 22:48:54 +02:00
Bram Moolenaar
921ba52926
patch 8.2.3248: Vim9: error message for wrong input uses wrong line number
...
Problem: Vim9: error message for wrong input uses wrong line number.
Solution: Use the line number of the start of the command. (issue #8653 )
v8.2.3248
2021-07-29 22:25:05 +02:00