| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem:
Nvim has Lua but the "nvim" CLI can't easily be used to execute Lua
scripts, especially scripts that take arguments or produce output.
Solution:
- support "nvim -l [args...]" for running scripts. closes #15749
- exit without +q
- remove lua2dox_filter
- remove Doxyfile. This wasn't used anyway, because the doxygen config
is inlined in gen_vimdoc.py (`Doxyfile` variable).
- use "nvim -l" in docs-gen CI job
Examples:
$ nvim -l scripts/lua2dox.lua --help
Lua2DoX (0.2 20130128)
...
$ echo "print(vim.inspect(_G.arg))" | nvim -l - --arg1 --arg2
$ echo 'print(vim.inspect(vim.api.nvim_buf_get_text(1,0,0,-1,-1,{})))' | nvim +"put ='text'" -l -
TODO?
-e executes Lua code
-l loads a module
-i enters REPL _after running the other arguments_.
|
| |
|
|
|
|
|
|
|
| |
Problem: Startup test fails if there is a status bar at the top of the
screen. (Ernie Rael)
Solution: Use a larger vertical offset in the test.
https://github.com/vim/vim/commit/fa04eae5a5b9394079bde2d37ce6f9f8a5567d48
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| |
|
|
|
|
|
|
|
| |
Problem: GUI geometry startup test fails.
Solution: Check string values instead of numbers
https://github.com/vim/vim/commit/3d031a0ae791f901c0c2dedd5d8b9de137c23acc
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| |
|
|
|
|
|
|
|
| |
Problem: GUI geometry startup test fails on some systems. (Drew Vogel)
Solution: Add tolerance to the size check. (closes vim/vim#8815)
https://github.com/vim/vim/commit/b376aa2da4211fee7eaf16450bb8b37674e45bb0
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| | |
|
| |
|
|
|
|
|
|
|
| |
Problem: Bufwrite not sufficiently tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#8192)
https://github.com/vim/vim/commit/36f96a515109dc1fad279571a645c0f0d65f2de4
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
|
| |
|
|
|
|
|
|
| |
Problem: Not enough tests for buffer writing.
Solution: Add more tests. Use CheckRunVimInTerminal in more places.
(Yegappan Lakshmanan, closes vim/vim#6167)
https://github.com/vim/vim/commit/494e9069cb32620f7688a7cb128a3feff827639e
|
| |
|
|
|
|
|
|
|
| |
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: 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: The Athena GUI support is outdated.
Solution: Remove the Athena GUI code.
https://github.com/vim/vim/commit/0b962e5685edd41b55d5427b894797e725707639
|
| |
|
|
|
|
|
|
|
| |
Problem: A bit of code is not covered by tests.
Solution: Add a few more test cases. (Dominique Pellé, closes vim/vim#8857)
https://github.com/vim/vim/commit/d176ca3dde47c11aae0376c31b7e1ba0939c8c6c
Cherry-pick Test_trim() change from patch 8.2.0448.
Cherry-pick Test_History() change from patch 8.2.1736.
Cherry-pick charidx() and trim() type checks from patch 8.2.3135.
|
| |
|
|
|
|
|
|
| |
Problem: Not all command line arguments are tested.
Solution: Add tests for -D and -serverlist. (Dominique Pellé, closes vim/vim#7992)
https://github.com/vim/vim/commit/c5cf369e9543ff065e2e1da91da3218c223840e2
Cherry-pick two deletions from patch 8.2.1799.
|
| |
|
|
|
|
|
|
|
|
| |
Problem: various code is not properly tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5871)
https://github.com/vim/vim/commit/cde0ff39da2459b16007fef701ebaa449fb6fe9d
Cherry-pick test_clientserver.vim change from patch 8.1.1826.
Cherry-pick a comment from patch 8.2.0301.
Omit test_viminfo.vim.
|
| |
|
|
|
|
| |
We should now be equal with Vim in regards to method call support of already ported built-ins.
Enable all relevant commented-out uses of the syntax in tests that I could grep.
|
| |
|
|
|
|
|
|
| |
site packages must be sourced before user config
NOTE: we only consider dirs exactly matching "after" to be an AFTER dir.
vim8 considers all dirs like "foo/bar_after", "Xafter" etc, as an
"after" dir in SOME codepaths not not in ALL codepaths.
|
| |
|
|
|
|
|
|
| |
Now remove the addition of "start/*" packages in 'packpath' as
explicit items in 'runtimepath'. This avoids 'runtimepath' from becoming
very long when using a lot of plugins as packages.
To get the effective search path as a list, use |nvim_list_runtime_paths()|
|
| | |
|
| |
|
|
|
|
|
|
| |
Problem: Some command line arguments and regexp errors not tested.
Solution: Add a few test cases. (Dominique Pellé, closes vim/vim#8013)
https://github.com/vim/vim/commit/a2b3e7dc9201fb3d8782c6b4ab53862160e254da
Cherry-pick Test_t_arg() from patch v8.2.0509.
|
| |
|
|
|
|
|
|
| |
Problem: The -w command line argument doesn't work.
Solution: Don't set 'window' when set with the -w argument. (closes vim/vim#8011)
https://github.com/vim/vim/commit/0a1a6a1aa4004d0e4d64cc375540156b8bd92a87
Cherry-pick Test_w_arg() from patch v8.2.0509.
|
| |
|
|
|
|
|
|
|
| |
Problem: There is no way to avoid some escape sequences.
Solution: Suppress escape sequences when the --not-a-term argument is used.
(Gary Johnson)
https://github.com/vim/vim/commit/7007e31bde75b6360a1b54c7572e4f855458f37d
"Test_not_a_term" passes because Neovim does not support "--not-a-term" flag.
|
| |
|
|
|
|
|
| |
Problem: Conditions for startup tests are not exactly right.
Solution: Check for type of GUI instead of MS-Windows. (Ozaki Kiichi,
closes vim/vim#7976)
https://github.com/vim/vim/commit/f8c52e8d08de3fdf48db877d7d53d2d68c6ceb7b
|
| |
|
|
|
|
|
| |
Problem: Test disabled on MS-Windows even though it should work.
Solution: Restore the condition for skipping the test. (Ken Takata,
closes vim/vim#7970)
https://github.com/vim/vim/commit/321481299757cdd43baeed33f4c5ba543fdfc7f7
|
| |
|
|
|
|
| |
Problem: GUI-specific command line arguments not tested.
Solution: Add tests for several arguments. (Dominique Pellé, closes vim/vim#7962)
https://github.com/vim/vim/commit/240309c9bfa8a0d2f154712f8e0dd33589f181d3
|
| |
|
|
|
|
|
| |
Problem: Not all ways Vim can be started are tested.
Solution: Add a test for different program names. (Dominique Pellé,
closes vim/vim#7651)
https://github.com/vim/vim/commit/df4c9af7e73aa5d0fb5bf4c0e19a39b4e1d73517
|
| |
|
|
|
|
|
|
|
|
| |
Problem: Arguments -T and -x not tested yet.
Solution: Add a test. (Dominique Pellé, closes vim/vim#7490
https://github.com/vim/vim/commit/1f33e0a7c4cd278158b37f91a2aa44f0bcd1f21a
Neovim does not support '-T' command line argument so skip the test.
Ref a16eab9e57368188c834634cd824ce1ac5613db1
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: MS-Windows: shell commands fail if &shell contains a space.
Solution: Use quotes instead of escaping. (closes vim/vim#4920)
https://github.com/vim/vim/commit/2efc44b3f0b6bd8307cb281af095e08e15ab1c24
Always double-quote &shell if it contains a space.
Neovim does not support escaping space with backslash, unlike Vim.
N/A patches for version.c:
vim-patch:8.0.1455: if $SHELL contains a space then 'shell' is incorrect
Problem: If $SHELL contains a space then the default value of 'shell' is
incorrect. (Matthew Horan)
Solution: Escape spaces in $SHELL. (Christian Brabandt, closes vim/vim#459)
https://github.com/vim/vim/commit/4bfa8af14142e54f509048239f4e8596911f56aa
vim-patch:8.2.1194: test failure because shell prompt differs
Problem: Test failure because shell prompt differs.
Solution: Set the shell prompt.
https://github.com/vim/vim/commit/a4dc6f92bb29b00783f8945bbe1101e837b6ad3c
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Startup test depends on random source file.
Solution: Write a test file to find quickfix errors in.
https://github.com/vim/vim/commit/1e1f612bd42085becb2208b9a95ed3ed0d272ee8
N/A patches for version.c:
vim-patch:8.2.1216: startup test fails
Problem: Startup test fails.
Solution: Adjust expected values for deleted lines.
https://github.com/vim/vim/commit/b6e4e4c6f7b4f7eadcc4c2397bfa57e0734e005f
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Problem: Command line argument -q [errorfile] is not tested.
Solution: Add a test. (Dominique Pelle, closes vim/vim#3730)
https://github.com/vim/vim/commit/54948183d210f5117271bb5710752da24054fade
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Invalid argument test fails without X clipboard.
Solution: Test -display only with the +xterm_clipboard feature.
https://github.com/vim/vim/commit/5416b75031138182387399f8fe5e17a884414e1a
N/A patches for version.c:
vim-patch:8.2.1640: Amiga: missing header for getgrgid()
Problem: Amiga: missing header for getgrgid().
Solution: Add the grp.h header. (Ola Söder, closes vim/vim#6906)
https://github.com/vim/vim/commit/f842cd9e285afb9d86c6f9bff400e5e576f873c0
vim-patch:8.2.1645: GTK3: icons become broken images when resized
Problem: GTK3: icons become broken images when resized.
Solution: Use gtk_image_new_from_icon_name(). (closes vim/vim#6916)
Fix compiler warnings.
https://github.com/vim/vim/commit/81a4cf469a0f5c1603ac3130af9f011053854180
vim-patch:8.2.1646: Amiga: Unnecessary #include
Problem: Amiga: Unnecessary #include.
Solution: Remove the #include. (Ola Söder, closes vim/vim#6908)
https://github.com/vim/vim/commit/33e3346322e40b2877f63f2f37398832c7017e2f
vim-patch:8.2.1648: Amiga: no common build file for Amiga (-like) systems
Problem: Amiga: no common build file for Amiga (-like) systems.
Solution: Turn Make_morph.mak into Make_ami.mak. (Ola Söder, closes vim/vim#6805)
https://github.com/vim/vim/commit/a62372be1f73b69f9d4c9413ec816d773a16a0f5
vim-patch:8.2.1649: GTK3: using old file chooser
Problem: GTK3: using old file chooser.
Solution: Use native file chooser on GTK 3.20 and above. (Yogeshwar
Velingker, closes vim/vim#6909)
https://github.com/vim/vim/commit/3e4cc9671c5551b73f0176cab40e676ed72a1716
vim-patch:8.2.1654: when job writes to hidden buffer current window is wrong
Problem: When job writes to hidden buffer current window has display
errors. (Johnny McArthur)
Solution: Use aucmd_prepbuf() instead of switch_to_win_for_buf().
(closes vim/vim#6925)
https://github.com/vim/vim/commit/ad9ec5e79916d206fd7677b77e36485c47ae534f
vim-patch:8.2.1655: cannot build with Strawberry Perl 5.32.0
Problem: Cannot build with Strawberry Perl 5.32.0.
Solution: Use Perl_sv_2pvbyte_flags. (closes vim/vim#6921)
https://github.com/vim/vim/commit/895a7a472d2eb4413e63cdad3213cb1ef1633458
vim-patch:8.2.1661: cannot connect to 127.0.0.1 for host with only IPv6 addresses
Problem: Cannot connect to 127.0.0.1 for host with only IPv6 addresses.
Solution: pass AI_V4MAPPED flag to getaddrinfo. (Filipe Brandenburger,
closes vim/vim#6931)
https://github.com/vim/vim/commit/c6a67c92bcbf4ef09063814af0c65d3e0585ada0
|
| |
|
|
|
|
| |
Problem: Invalid argument test fails without GTK.
Solution: Test -display and --display separately.
https://github.com/vim/vim/commit/240f7abab01b5e3fd5336dd780e42501ec3f2fcb
|
| |
|
|
|
|
| |
Problem: Crash when using invalid command line argument.
Solution: Check for options not being initialized.
https://github.com/vim/vim/commit/27821260c0afaac85cb1c10627f1d7fbe48860ae
|
| |
|
|
|
| |
Problem: Cannot get the Vim command line arguments.
Solution: Add v:argv. (Dmitri Vereshchagin, closes vim/vim#1322)
https://github.com/vim/vim/commit/69bf634858a2a75f2984e42b1e4017bc529a040a
|
| |
|
|
|
|
| |
Problem: Startup test fails on MS-Windows.
Solution: Allow for any path.
https://github.com/vim/vim/commit/4515bcdec8f3ba54f9d671cc37b9c9b3e19ea999
|
| |
|
|
|
|
| |
Problem: Startup test fails.
Solution: Adjust expected output from -V2 argument.
https://github.com/vim/vim/commit/7779ee30d912e9dd5bd2371f8b27057bd249d53c
|
| | |
|
| |
|
|
|
|
| |
Problem: Code and data in tests can be hard to read.
Solution: Use the new heredoc style. (Yegappan Lakshmanan, closes vim/vim#4400)
https://github.com/vim/vim/commit/c79745a82faeb5a6058e915ca49a4c69fa60ea01
|
| |
|
|
|
|
| |
Problem: When starting with multiple tabs file messages is confusing.
Solution: Set 'shortmess' when loading the other tabs. (Christian Brabandt)
https://github.com/vim/vim/commit/c75e81262347e47a69faabd72caf89fec3f06e8f
|
| | |
|
| |
|
|
|
|
| |
Problem: Invalid command line arguments not tested.
Solution: Add a test. (Dominique Pelle, closes vim/vim#4346)
https://github.com/vim/vim/commit/ba9ea91beb8f687b0f61b28319c1dbdced2f46ca
|
| |
|
|
|
|
| |
Problem: Accessing invalid memory in SmcOpenConnection().
Solution: Reduce size of errorstring by one. (Dominique Pelle, closes vim/vim#3469)
https://github.com/vim/vim/commit/4841a7ccaed57f723016656e9683b587ac91f621
|
| | |
|
| |
|
|
|
|
|
| |
Problem: Several command line arguments are not tested.
Solution: Add tests for -m, -M, -R and -Vfile. (Dominique Pelle,
closes vim/vim#3458)
https://github.com/vim/vim/commit/036b09ca78c5516d2b914ebc9494bf7580b8fed8
|
| |
|
|
|
|
| |
Problem: Startup test fails on MS-Windows.
Solution: Do the Arabic test in silent Ex mode. Loosen the check for -V2.
https://github.com/vim/vim/commit/4b1c9a91b5d7f98b6e3391e776a289d485aa274d
|
| |
|
|
|
|
|
| |
Problem: Several command line arguments are not tested.
Solution: Add tests for -A, -F, -H, -p and -V. (Dominique Pelle,
closes vim/vim#3446)
https://github.com/vim/vim/commit/9e81db9742a35cc972ce5cae204e837093987692
|
| |
|
|
|
| |
Problem: No test for -o and -O command line arguments.
Solution: Add a test. (Dominique Pelle, closes vim/vim#3438)
https://github.com/vim/vim/commit/8f4499b81612568b4964e8445d86e34e6d644b13
|
| |
|
|
|
| |
Lack of whitespace caused a file named "NONE-u" to be created (because
GetVimCommand() returns a command ending with "-i NONE").
|
| |
|
|
|
| |
Problem: "vim -c startinsert!" doesn't append.
Solution: Correct line number on startup. (Christian Brabandt, closes vim/vim#2117)
https://github.com/vim/vim/commit/09ca932f8e7d63a83b39baa7c03d4c6145e3baab
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* vim-patch:8.0.0538: no test for falling back to default term value
Problem: No test for falling back to default term value.
Solution: Add a test.
https://github.com/vim/vim/commit/85045a73db258a054a17fd52a67eb5cd02a788dc
* vim-patch:8.0.0539: startup test fails on Mac
Problem: Startup test fails on Mac.
Solution: Use another term name, "unknown" is known. Avoid a 2 second delay.
https://github.com/vim/vim/commit/08f88b139d2f93661ed2b17214ee6b308b4edb5b
* oldtest: nvim does not support ':set term'
|