aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_startup.vim
Commit message (Collapse)AuthorAge
* test(oldtest): uncomment method call syntax usesSean Dewar2021-11-26
| | | | | | 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.
* fix(runtime): ordering of loading packages with user configBjörn Linse2021-09-26
| | | | | | | | 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.
* refactor(runtime): always use DIP_START when searching for runtime filesBjörn Linse2021-09-18
| | | | | | | | 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()|
* test/old/win: debug Test_w_argJan Edmund Lazo2021-04-01
|
* vim-patch:8.2.2656: some command line arguments and regexp errors not testedJan Edmund Lazo2021-04-01
| | | | | | | | 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.
* vim-patch:8.2.2655: The -w command line argument doesn't workJan Edmund Lazo2021-04-01
| | | | | | | | 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.
* vim-patch:8.2.2662: there is no way to avoid some escape sequencesJan Edmund Lazo2021-03-27
| | | | | | | | | 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.
* vim-patch:8.2.2611: conditions for startup tests are not exactly rightJan Edmund Lazo2021-03-17
| | | | | | | 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
* vim-patch:8.2.2609: test disabled on MS-Windows even though it should workJan Edmund Lazo2021-03-17
| | | | | | | 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
* vim-patch:8.2.2604: GUI-specific command line arguments not testedJan Edmund Lazo2021-03-14
| | | | | | 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
* vim-patch:8.2.2329: not all ways Vim can be started are testedJan Edmund Lazo2021-01-13
| | | | | | | 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
* vim-patch:8.2.2161: arguments -T and -x not tested yetJan Edmund Lazo2020-12-19
| | | | | | | | | | 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
* vim-patch:8.1.2115: MS-Windows: shell commands fail if &shell contains a spaceJan Edmund Lazo2020-11-23
| | | | | | | | | | | | | | | | | | | | | | | | 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
* vim-patch:8.2.1217: startup test depends on random source fileJan Edmund Lazo2020-11-21
| | | | | | | | | | | | | | 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
* test/old: cherry-pick patch 8.2.0509 for Test_q_arg()Jan Edmund Lazo2020-11-21
|
* test/old: cherry-pick patch 8.1.2373 for test_startup.vimJan Edmund Lazo2020-11-21
|
* vim-patch:8.1.0650: command line argument -q [errorfile] is not testedJan Edmund Lazo2020-11-21
| | | | | | 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
* vim-patch:8.1.1298: invalid argument test fails without X clipboardJan Edmund Lazo2020-09-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* vim-patch:8.1.1297: invalid argument test fails without GTKJan Edmund Lazo2020-09-11
| | | | | | Problem: Invalid argument test fails without GTK. Solution: Test -display and --display separately. https://github.com/vim/vim/commit/240f7abab01b5e3fd5336dd780e42501ec3f2fcb
* vim-patch:8.1.1296: crash when using invalid command line argumentJan Edmund Lazo2020-09-11
| | | | | | Problem: Crash when using invalid command line argument. Solution: Check for options not being initialized. https://github.com/vim/vim/commit/27821260c0afaac85cb1c10627f1d7fbe48860ae
* vim-patch:8.1.2233: cannot get the Vim command line arguments (#12117)kuuote2020-05-24
| | | | | 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
* vim-patch:8.2.0692: startup test fails on MS-WindowsJan Edmund Lazo2020-05-03
| | | | | | Problem: Startup test fails on MS-Windows. Solution: Allow for any path. https://github.com/vim/vim/commit/4515bcdec8f3ba54f9d671cc37b9c9b3e19ea999
* vim-patch:8.2.0691: startup test failsJan Edmund Lazo2020-05-03
| | | | | | Problem: Startup test fails. Solution: Adjust expected output from -V2 argument. https://github.com/vim/vim/commit/7779ee30d912e9dd5bd2371f8b27057bd249d53c
* tabpage: :tabs indicates previous tabpage's curwinWe're Yet2020-01-19
|
* vim-patch:8.1.1362: code and data in tests can be hard to readJurica Bradaric2019-10-07
| | | | | | 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
* vim-patch:8.1.1197: when starting with multiple tabs file messages is confusingJan Edmund Lazo2019-09-08
| | | | | | 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
* adjust tests for nvimDaniel Hahler2019-06-11
|
* vim-patch:8.1.1292: invalid command line arguments not testedDaniel Hahler2019-06-10
| | | | | | Problem: Invalid command line arguments not tested. Solution: Add a test. (Dominique Pelle, closes vim/vim#4346) https://github.com/vim/vim/commit/ba9ea91beb8f687b0f61b28319c1dbdced2f46ca
* vim-patch:8.1.0426: accessing invalid memory in SmcOpenConnection()Jan Edmund Lazo2019-06-08
| | | | | | 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
* test/old: ignore defaults.vim assertionJan Edmund Lazo2019-06-08
|
* vim-patch:8.1.0417: several command line arguments are not testedJan Edmund Lazo2019-06-08
| | | | | | | 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
* vim-patch:8.1.0409: startup test fails on MS-WindowsJan Edmund Lazo2019-06-08
| | | | | | 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
* vim-patch:8.1.0406: several command line arguments are not testedJan Edmund Lazo2019-06-08
| | | | | | | 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
* vim-patch:8.1.0398: no test for -o and -O command line arguments (#9253)Jan Edmund Lazo2018-11-19
| | | | | 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
* test/old: test_startup: fix "-u NONE" argJustin M. Keyes2018-10-30
| | | | | Lack of whitespace caused a file named "NONE-u" to be created (because GetVimCommand() returns a command ending with "-i NONE").
* vim-patch:8.0.1151: "vim -c startinsert!" doesn't append (#8886)Jan Edmund Lazo2018-08-22
| | | | | 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.0{538,539} (#8615)Jan Edmund Lazo2018-06-24
| | | | | | | | | | | | | | | | * 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'
* vim-patch:8.0.0515: ml_get errors in silent Ex mode (#8452)KunMing Xie2018-05-30
| | | | | | Problem: ml_get errors in silent Ex mode. (Dominique Pelle) Solution: Clear valid flags when setting the cursor. Set the topline when not in full screen mode. https://github.com/vim/vim/commit/d5d37537d1fa46fd468bd378af2006dd09840f38
* vim-patch:8.0.0680James McCoy2017-08-21
| | | | | | | | Problem: Plugins in start packages are sourced twice. (mseplowitz) Solution: Use the unmodified runtime path when loading plugins (test by Ingo Karkat, closes vim/vim#1801) https://github.com/vim/vim/commit/07ecfa64a18609a986f21d6132d04ee8934f3200
* vim-patch:8.0.0612James McCoy2017-08-21
| | | | | | | | | Problem: Package directories are added to 'runtimepath' only after loading non-package plugins. Solution: Split off the code to add package directories to 'runtimepath'. (Ingo Karkat, closes vim/vim#1680) https://github.com/vim/vim/commit/ce876aaa9a250a5a0d0e34b3a2625e51cf9bf5bb
* nvim -h: omit special-case optionsJustin M. Keyes2017-08-18
| | | | | | Group some options, and sort them alphabetically. `nvim -h` should fit on one (smallish) screen. Uncommon options don't need to be here, they live in the :help.
* vim-patch:7.4.2189ckelsel2017-07-13
| | | | | | | | | | | | https://github.com/vim/vim/commit/f71d7b9ee5ceba75f70c30845332ddd728fd16c6 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Aug 9 22:14:05 2016 +0200 patch 7.4.2189 Problem: Cannot detect encoding in a fifo. Solution: Extend the stdin way of detecting encoding to fifo. Add a test for detecting encoding on stdin and fifo. (Ken Takata)
* vim-patch:7.4.2190 (#6882)Shougo2017-06-12
| | | | | | | | Problem: When startup test fails it's not easy to find out why. GUI test fails with Gnome. Solution: Add the help entry matches to a list an assert that. Set $HOME for Gnome to create .gnome2 directory. https://github.com/vim/vim/commit/50fa8dd00c241fa0786fe92ecc02fee4e5d28e06
* vim-patch:7.4.2164 (#6326)Justin M. Keyes2017-03-21
Problem: It is not possible to use plugins in an "after" directory to tune the behavior of a package. Solution: First load plugins from non-after directories, then packages and finally plugins in after directories. Reset 'loadplugins' before executing --cmd arguments. https://github.com/vim/vim/commit/66459b7c98c67f8a9d39de8f08e8e8f1fca0e359 vim-patch:7.4.2172 vim-patch:7.4.2169 vim-patch:7.4.2177 vim-patch:7.4.2178 vim-patch:7.4.2184 vim-patch:8.0.0050 vim-patch:8.0.0105 vim-patch:8.0.0400 vim-patch:8.0.0405 Closes #6034