Sean Dewar
b530221126
vim-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 vim/vim#7609 )
cec77d4530
2021-04-20 10:12:09 +01:00
Sean Dewar
b5dbd156f9
vim-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 vim/vim#7609 )
fefa6c347e
2021-04-20 10:12:09 +01:00
Sean Dewar
8c55a16e7d
vim-patch:8.2.1946: sort() with NULL string not tested
...
Problem: sort() with NULL string not tested.
Solution: Add a test. use v:collate. (Dominique Pellé, closes vim/vim#7247 )
35efa22ff2
2021-04-20 10:12:09 +01:00
Sean Dewar
a83292685b
vim-patch:8.2.1935: sort test fails on Mac
...
Problem: Sort test fails on Mac.
Solution: Disable the sort test with locale on Mac.
578f4cc7d0
2021-04-20 10:12:09 +01:00
Sean Dewar
6a0b8cbd81
vim-patch:8.2.1933: cannot sort using locale ordering
...
Problem: Cannot sort using locale ordering.
Solution: Add a flag for :sort and sort() to use the locale. (Dominique
Pellé, closes vim/vim#7237 )
55e29611d2
2021-04-20 10:12:02 +01:00
Sean Dewar
1d72b6e4cd
eval: port v:collate
...
Cherry-picked from patch v8.2.0988. Required for patch v8.2.1933.
2021-04-20 02:03:46 +01:00
Sean Dewar
96f62394cf
vim-patch:8.2.0174: various commands not completely tested
...
Problem: Various commands not completely tested.
Solution: Add more test cases. (Yegappan Lakshmanan, closes vim/vim#5551 )
5d98dc2a48
2021-04-20 01:50:56 +01:00
Matthieu Coudron
e343437bb6
Merge pull request #12323 from da-x/orphaned-signs
...
Handle 'orphaned signs' on line deletion for signcolumn >= 2
2021-04-18 17:12:41 +02:00
Jan Edmund Lazo
a129887c00
vim-patch:8.2.2773: PSL filetype not recognized ( #14389 )
...
Problem: PSL filetype not recognized.
Solution: Add a filetype pattern. (Daniel Kho, closes vim/vim#8117 )
112a006417
2021-04-17 22:41:51 -04:00
Björn Linse
63b64ebab0
Merge pull request #14385 from chentau/extmark_delete
...
Extmarks: remove `curbuf->deleted_bytes2` from `op_delete`
2021-04-17 09:25:44 +02:00
Dan Aloni
5b8575fa0d
test_signs.vim: adjust for sign removal on line deletion
2021-04-17 10:11:17 +03:00
Dan Aloni
f2ed7605da
Handle 'orphaned signs' on line deletion for signcolumn >= 2
2021-04-17 10:11:17 +03:00
Björn Linse
7de75f0993
Merge pull request #14365 from chentau/extmark_delbytes_move
...
Extmarks: flush curbuf->deleted_bytes2 after calling do_move
2021-04-17 08:58:00 +02:00
chentau
e32eaf6538
extmarks: remove curbuf->deleted_bytes2 from op_delete
2021-04-16 23:42:53 -07:00
Jan Edmund Lazo
fe808f02f6
Merge pull request #14355 from janlazo/vim-8.1.2313
...
vim-patch:8.1.2313,8.2.{2046,2769}
2021-04-15 21:55:56 -04:00
Jan Edmund Lazo
97288e73c2
vim-patch:8.2.2764: memory leak when default function argument is allocated
...
Problem: Memory leak when default function argument is allocated.
Solution: Free the expression result.
b47bed2f7a
2021-04-15 18:30:04 -04:00
Jan Edmund Lazo
7d3f31c064
vim-patch:8.2.2761: using "syn include" does not work properly
...
Problem: Using "syn include" does not work properly.
Solution: Don't add current_syn_inc_tag to topgrp. (Jaehwang Jerry Jung,
closes vim/vim#8104 )
2e240bd428
Cherry-pick AssertHighlightGroups from patch v8.2.2068.
2021-04-15 18:30:04 -04:00
Jan Edmund Lazo
eb93399d70
vim-patch:8.2.0265: "eval" after "if 0" doesn't check for following command
...
Problem: "eval" after "if 0" doesn't check for following command.
Solution: Add "eval" to list of commands that check for a following command.
(closes vim/vim#5640 )
a76b31542e
2021-04-15 18:30:03 -04:00
Jan Edmund Lazo
b34dc4c458
ex_cmds: port :eval
...
Cherry-picked from patch v8.1.1807.
Required for patch v8.2.2761.
2021-04-15 18:30:03 -04:00
Jan Edmund Lazo
011cfc538c
vim-patch:8.2.2769: Modula-3 config files are not recognized
...
Problem: Modula-3 config files are not recognized.
Solution: Add filetype patterns. (Doug Kearns)
6bc00699c5
2021-04-15 18:08:55 -04:00
Jan Edmund Lazo
b8c3bb6790
vim-patch:8.1.2313: debugging where a delay comes from is not easy
...
Problem: Debugging where a delay comes from is not easy.
Solution: Use different values when calling ui_delay().
eda1da0c9a
2021-04-15 18:06:51 -04:00
Jan Edmund Lazo
94b10d25da
vim-patch:8.2.2046: some test failures don't give a clear error
...
Problem: Some test failures don't give a clear error.
Solution: Use assert_match() and assert_fails() instead of assert_true().
(Ken Takata, closes vim/vim#7368 )
5dc4e2f883
2021-04-15 18:06:35 -04:00
chentau
5a36d413fb
flush curbuf->deleted_bytes2 after calling do_move
2021-04-14 21:47:21 -07:00
Björn Linse
3b01e37d09
Merge pull request #14358 from bfredl/decodeco
...
decoration: Clean up duplicate Decoration attributes + bonus hl_eol flag
2021-04-15 01:12:36 +02:00
Björn Linse
7b488314d0
decoration: Clean up duplicate Decoration attributes + bonus hl_eol flag
2021-04-14 13:04:33 +02:00
Björn Linse
c9817603cf
Merge pull request #14318 from chentau/extmark_luado
...
extmark: splice extmarks on :luado
2021-04-13 15:00:42 +02:00
Marco Hinz
4a36ec6da0
float: add "solid" border style ( #14310 )
...
It looks solid with the default `FloatBorder` group.
If you set the bgcolor of FloatBorder to the same color as for FloatNormal, you
effectively get an "1-cell padding".
2021-04-12 20:51:05 +02:00
chentau
ff43d9597e
extmark: splice extmarks on :luado
2021-04-12 11:33:50 -07:00
Jan Edmund Lazo
fa9e5ab0ea
test/old: ':execute' does not suppress range error
...
:2,1>
should trigger backwards range error
but it is suppressed for inccomand.
:execute "2,1>"
does not suppress the error.
2021-04-11 19:14:48 -04:00
Jan Edmund Lazo
4ff70cc58b
vim-patch:8.1.2416: loading menus sets v:errmsg
...
Problem: Loading menus sets v:errmsg.
Solution: Avoid setting v:errmsg and add a test for that. (Jason Franklin)
e24c5b3332
2021-04-11 17:05:42 -04:00
Jan Edmund Lazo
750f2b686b
vim-patch:8.1.1841: no test for Ex shift commands
...
Problem: No test for Ex shift commands.
Solution: Add a test. (Dominique Pelle, closes vim/vim#4801 )
d5e3cc11d3
Comment out some tests because of Neovim inccomand.
2021-04-11 17:05:42 -04:00
Jan Edmund Lazo
d2a9b29e1b
vim-patch:8.2.1920: listlbr test fails when run after another test
...
Problem: Listlbr test fails when run after another test.
Solution: Add test separately to list of test targets.
cf4d454df0
2021-04-11 17:05:42 -04:00
Jan Edmund Lazo
a0d3461bf8
vim-patch:8.2.2050: search test contains unneeded sleeps
...
Problem: Search test contains unneeded sleeps.
Solution: Rename the function, remove sleeps. (Christian Brabandt,
closes vim/vim#7369 )
6bed0dbc85
2021-04-11 17:05:41 -04:00
Jan Edmund Lazo
20e5cb151b
vim-patch:8.2.0409: search test leaves file behind
...
Problem: Search test leaves file behind.
Solution: Delete the file. Also use Check commands.
b68df220c5
Reorder tests based on test_search.vim in patch v8.2.0409.
2021-04-11 17:05:41 -04:00
Jan Edmund Lazo
b2971ebeed
vim-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.
657137ca48
Vim9 changes omitted.
2021-04-11 16:35:55 -04:00
Jan Edmund Lazo
ca214311d2
vim-patch:8.2.0069: ETYPE_ is used for two different enums
...
Problem: ETYPE_ is used for two different enums.
Solution: Rename one to use EXPR_.
87396072c5
2021-04-11 16:35:47 -04:00
Jan Edmund Lazo
de16fbcc57
vim-patch:8.2.0045: script test fails
...
Problem: Script test fails.
Solution: For numbers "is" and "isnot" work like "==" and "!=".
ec57ec692e
2021-04-11 16:35:14 -04:00
Jan Edmund Lazo
53cbfd0220
vim-patch:8.2.0044: expression type is used inconsistently
...
Problem: Expression type is used inconsistently.
Solution: Add "ETYPE_IS" and "ETYPE_ISNOT" as separate enum values. Rename
"TYPE_" to "ETYPE_" to avoid confusion.
07a3db89b8
2021-04-11 16:34:53 -04:00
Björn Linse
6435b46b48
Merge pull request #14317 from chentau/extmark_sub
...
extmark: correct extmark_splice call with substitute and inccommand when replacing with escaped backslashes
2021-04-10 18:14:42 +02:00
James McCoy
e3d0fb0d3c
Merge pull request #14321 from jamessan/ci-fixes
...
Some small cleanups/diagnostic improvements
2021-04-09 09:48:35 -04:00
Jan Edmund Lazo
8a1a256b44
Merge pull request #14326 from janlazo/vim-8.2.0623
...
vim-patch:8.2.{623,1822,2738}
2021-04-09 08:25:08 -04:00
chentau
343ee2d254
extmark: correct extmark_splice call with inccommand
2021-04-09 00:34:02 -07:00
bphilly96
82ac44d01f
vim-patch:8.2.2737: status line not updated when local 'statusline' option set ( #14325 )
...
Problem: Status line not updated when local 'statusline' option set.
Solution: Check the 'statusline' option of each window.
d8db838392
2021-04-08 23:14:08 -04:00
Jan Edmund Lazo
b35daa986f
vim-patch:8.2.2738: extending a list with itself can give wrong result
...
Problem: Extending a list with itself can give wrong result.
Solution: Remember the item before where the insertion happens and skip to
after the already inserted items. (closes vim/vim#1112 )
dcae51facc
Originated from Neovim commit 7ceebacb3f .
2021-04-08 22:58:13 -04:00
Jan Edmund Lazo
cfeaea0d3e
vim-patch:8.2.1822: list test doesn't fail
...
Problem: List test doesn't fail.
Solution: Adjust the test for NULL list handling.
f57497276b
Comment out test cases that modify null lists
because Neovim throws error messages instead of silently failing.
Null lists should be read-only and constant.
https://github.com/neovim/neovim/issues/4615
2021-04-08 22:39:28 -04:00
Jan Edmund Lazo
0d0eeff8a3
eval: add v:_null_string
...
Replacement for Vim's test_null_string().
Vim uses it to verify that its codebase handles null strings.
Preparation for the Test_null_list() in patch v8.2.1822.
Use v:_null_string, not non-existent env var, for null string tests.
Mention v:_null_string in id() because id(v:_null_string) returns (nil).
2021-04-08 22:36:20 -04:00
Jan Edmund Lazo
ec273a2c6b
vim-patch:8.2.0623: typo in test comment
...
Problem: Typo in test comment. (Christ van Willegen)
Solution: Avoid mixing up a data structure with a body part.
f7b398c6a9
Cherry-pick Test_dict_lock_operator() from patch v8.2.0619.
2021-04-08 18:53:36 -04:00
James McCoy
ce9b5848f9
Add more info to debug messages
...
[skip ci]
2021-04-08 08:13:39 -04:00
James McCoy
8caf841308
Lower "closed by the client" message level to INFO
...
[skip ci]
2021-04-08 07:44:51 -04:00
Jan Edmund Lazo
d99ce54252
vim-patch:8.2.1305: some tests are still old style
...
Problem: Some tests are still old style.
Solution: Convert tests 52 and 70 to new style. (Yegappan Lakshmanan,
closes vim/vim#6544 ) Fix error in FinishTesting().
622b3568fa
Omit test_mzscheme.vim.
Neovim does not support "mzscheme" feature.
2021-04-08 07:28:58 -04:00