| Commit message (Collapse) | Author | Age |
... | |
| |
|
|
|
|
|
|
|
|
|
| |
Problem: Using uninitialized memory with "let g:['bar'] = 2".
Solution: Initialize v_type of a new dict item.
https://github.com/vim/vim/commit/3b318513561b5862944769188ae4af6b70311838
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
|
|
|
|
|
|
|
|
| |
Problem: Vim9: no error if declaring a funcref with a lower case letter.
Solution: Check the name after the type is inferred. Fix confusing name.
https://github.com/vim/vim/commit/98b4f145eb89405021e23a4a37db51d60a75a1d0
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Messages in globals.h not translated, xgettext on MS-Windows not
fully supported.
Solution: Add globals.h to list of input files. Update MS-Windows makefiles
to improve message translations. (Ken Takata, closes vim/vim#6858)
https://github.com/vim/vim/commit/fa57335e532e505ce9229ddb2354a593fb057561
Also update gettext() docs to match latest Vim.
|
|
|
|
|
|
|
|
|
|
| |
Problem: Cannot translate messages in a Vim script.
Solution: Add gettext(). Try it out for a few messages in the options
window.
https://github.com/vim/vim/commit/0b39c3fd4c5d1c8ebd2efa85fced7df5e17efd3b
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
|
|
|
|
|
|
| |
Problem: Unlike `:autocmd`, `nvim_create_autocommand()` does not expand
environment variables in the `pattern`, which is unexpected.
Solution: Add a note to the documentation explaining this and suggesting
using `expand()` explicitly.
|
|\ |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: test_garbagecollect_now() does not check v:testing as documented.
Solution: Give an error if v:testing is not set.
https://github.com/vim/vim/commit/b3d83980d2ac0f7a25314270416f17af874ca269
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Build failure.
Solution: Add missing changes.
https://github.com/vim/vim/commit/3a0f092ac0dbdd4ce71f9c4abe020e89f13df36c
Omit E1176: only applicable to Vim9 script.
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Recursion test fails with MSVC.
Solution: Use a smaller limit for MSVC.
https://github.com/vim/vim/commit/50e05254450954f04183efc7bc871527a67868b8
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Condition with many "(" causes a crash.
Solution: Limit recursion to 1000.
https://github.com/vim/vim/commit/fe6fb267e6ee5c5da2f41889e4e0e0ac5bf4b89d
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Using uninitialized memory when reading empty file.
Solution: Check for empty file before checking for NL. (Dominique Pellé,
closes vim/vim#9511)
https://github.com/vim/vim/commit/f5d639a8af719eb8ecb141b5c0890627e4d83134
Co-authored-by: Dominique Pelle <dominique.pelle@gmail.com>
|
| |
| |
| |
| |
| |
| | |
Copying each .so file one by one, rather than the entire parser
directory, allows newer .so files to overwrite older .so files with the
same name. This is useful when bumping a parser version and rebuilding
neovim without needing to run `make distclean` beforehand.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Can delete a numbered function. (Naohiro Ono)
Solution: Disallow deleting a numbered function. (closes vim/vim#8760)
https://github.com/vim/vim/commit/ddfc05100a29263a682dd96bb924dfde4354a654
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Various pieces of code not covered by tests.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#8245)
https://github.com/vim/vim/commit/611728f80604dd56960e8c197e5749d203c8feb1
Only port the last two hunks of test_user_func.vim.
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Function test fails.
Solution: Adjust expected error number.
https://github.com/vim/vim/commit/e9b8b78e046b40b877c999432c4698edb3413d5d
Cherry-pick colons from patch 8.2.1593.
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Confusing error message with white space before comma in the
arguments of a function declaration.
Solution: Give a specific error message. (closes vim/vim#2235)
https://github.com/vim/vim/commit/86cdb8a4bd1abff40b5f80c3c4149b33cbaab990
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Insufficient testing for function range and dict.
Solution: Add a few tests. (Dominique Pellé, closes vim/vim#7428)
https://github.com/vim/vim/commit/67322bf74a106b6476b093e75da87d61e2181b76
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Using \z() with \z1 not tested for syntax highlighting.
Solution: Add a test. (Dominique Pellé, closes vim/vim#9365)
https://github.com/vim/vim/commit/354b23a9f87fd8c5aec457d88320a0a5bce4b985
Co-authored-by: Dominique Pelle <dominique.pelle@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Various code lines not covered by tests.
Solution: Add test cases. (Dominique Pellé, closes vim/vim#8178)
https://github.com/vim/vim/commit/6d37e8e3baafba460bd2d051170d213c1ba9a523
Co-authored-by: Dominique Pelle <dominique.pelle@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: No test for verbose output of :call.
Solution: Add a test.
https://github.com/vim/vim/commit/a0d072ef8203b225bd46bcd826cb3d2e3c3b941a
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Several syntax HL errors not checked.
Solution: Add tests. (Yegappan Lakshmanan, closes vim/vim#5954)
https://github.com/vim/vim/commit/fbf2122cf920a89274ffbefaaeb6c5eeacf5187b
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Client-server test fails under valgrind.
Solution: Use WaitForAssert().
https://github.com/vim/vim/commit/25d57009520f0e590920b9f953b1cbbb358e72a2
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Various errors not tested.
Solution: Add tests. (Yegappan Lakshmanan, closes vim/vim#5895)
https://github.com/vim/vim/commit/476a613135bdc94e61c1dce8a9cbb4ab0b6dc2d1
Need to remove "F" flag from 'shortmess' as early as possible.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Timers test not run where possible.
Solution: Adjust platform checks. (closes vim/vim#10645)
https://github.com/vim/vim/commit/eb273cd7b036c35ae9070bd6352101914f273e71
Cherry-pick a line from patch 8.2.0183.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Tests use hand coded feature and option checks.
Solution: Use the commands from check.vim in more tests.
https://github.com/vim/vim/commit/8c5a278fc508da6dfe50e69b6ee734451aa4eafb
Omit Test_wincolor(): there are later patches that touch that function.
Omit test_memory_usage.vim: a Lua test is used for that file.
Cherry-pick Test_issue_3969() from patch 8.1.0969.
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: map() returing zero for NULL list is unexpected.
Solution: Return the empty list. (closes vim/vim#7133)
https://github.com/vim/vim/commit/ffdf8adfa8108d4765fdc68abbd2fe49a4292b25
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Null dict is not handled like an empty dict.
Solution: Fix the code and add tests. (Yegappan Lakshmanan, closes vim/vim#5968)
https://github.com/vim/vim/commit/ea04a6e8baff2f27da7cdd54bf70a5525994f76d
Nvim doesn't support modifying NULL list, so comment out a line.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Some tests are still old style.
Solution: Convert to new style tests. (Yegappan Lakshmanan, closes vim/vim#5957)
https://github.com/vim/vim/commit/08f4157c5cabc55bcb22f04dd7c717aba40caa34
Fix missing error message when sort() compare function fails.
Cherry-pick a line in test_utf8.vim from patch 8.2.0448.
Cherry-pick builtin_function() change from patch 8.2.0595.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Test hangs on MS-Windows console.
Solution: use feedkeys() instead of test_feedinput(). (Ken Takata)
https://github.com/vim/vim/commit/272ca95fc3d21ae1e2626a7aec38a6990e88ad6b
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Balloon test fails in the GUI.
Solution: Skip test in the GUI.
https://github.com/vim/vim/commit/7d8ea0b24191d64155fcf9e8d2d2eefff91ae549
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| |
| |
| | |
Fix #20787
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Code in eval.c not sufficiently covered by tests.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5815)
https://github.com/vim/vim/commit/8b633135106dda8605463b780573c45b00c22afe
Nvim does not have v:none, so comment out test for it.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Not enough test coverage for evalvars.c.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5804)
https://github.com/vim/vim/commit/8dfcce3a78ccb520cc9d09081f998091494c50bf
Assert E475 instead of E474 in :redir test because a later patch changed
the error number.
Comment out the test for :echo with a deeply nested container as Nvim
implements :echo very differently.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Looking up the alloc ID for tests fails.
Solution: Fix the line computation. Use assert_fails() for unlet test.
https://github.com/vim/vim/commit/065ee9aebf9abe08ae8c0dba7d05cbdcc423c8e0
Use v:count and v:errmsg instead of count and errmsg.
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: No test for what previously caused a crash.
Solution: Add test for unletting errmsg.
https://github.com/vim/vim/commit/254b105b755d9736ece5f7f28db92acaf3e7bf76
Use v:errmsg instead of errmsg.
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Test for ANSI colors fails without an "ls" command.
Solution: Use "dir". (Ken Takata, closes vim/vim#5582)
https://github.com/vim/vim/commit/94255df057afa0b7dde77612f3274d4440871bd1
Cherry-pick test_functions.vim change from patch 8.2.0186.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Still a few places where range() does not work.
Solution: Fix using range() causing problems.
https://github.com/vim/vim/commit/b09920203a0f2b202497ef9632f8447f73d0f1fb
Code is mostly N/A.
Cherry-pick all of Test_range() from patch 8.2.0159.
- Use nvim_input() instead of test_feedinput()
- Assert a different result from json_encode()
- Assert a different error for sign_undefine()
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
|\ \
| |/
|/| |
fix: setting tabline option not redrawing tabline
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
With #20374 tabline option is marked with 'statuslines' redraw flag.
But 'statuslines' doesn't redraw tabline. As a result, tabline doesn't
get redrawn when tabline option is set and statuslines get unnecessarily redrawn.
This patch fixes the issue by adding a new redraw flag P_RTABL to redraw
tabline.
|
|\ \ |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|