aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/setup.vim
Commit message (Collapse)AuthorAge
* test(old): add a function roughly equivalent to test_setmouse() (#20224)zeertzjq2022-09-17
| | | | Mouse movement events usually have no effect, so passing "move" to nvim_input_mouse() works in most cases.
* vim-patch:8.2.2524: cannot change the characters displayed in the foldcolumnzeertzjq2022-08-26
| | | | | | | Problem: Cannot change the characters displayed in the foldcolumn. Solution: Add fields to 'fillchars'. (Yegappan Lakshmanan, Matthieu Coudron, closes vim/vim#7860) https://github.com/vim/vim/commit/3aca5a6fbcfbf5f4492b9ea0c4308ac524d33606
* test(old): clear builtin menus before running tests (#19647)zeertzjq2022-08-05
| | | Otherwise Test_menu_expand() fails when run alone.
* test(old): set 'display' to an empty string (#19450)zeertzjq2022-07-20
|
* test(old): align defaults to Vim before each test insteadzeertzjq2022-07-12
|
* test(old): align defaults to Vim after every test (#19301)zeertzjq2022-07-10
| | | This can avoid divergences from Vim in some small places.
* vim-patch:8.2.0396: cmdexpand.c insufficiently testedzeertzjq2022-07-09
| | | | | | | | Problem: Cmdexpand.c insufficiently tested. Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5789) https://github.com/vim/vim/commit/24ebd83e030e1c6f9a6be1f06232756ba4d00a8c Map Q to gQ before every test since a test uses :mapclear.
* vim-patch:8.2.0325: ex_getln.c code not covered by testszeertzjq2022-07-08
| | | | | | | | | Problem: Ex_getln.c code not covered by tests. Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#5702) https://github.com/vim/vim/commit/578fe947e3ad0cc7313c798cf76cc43dbf9b4ea6 Cherry-pick Test_Ex_global() from patch 8.2.0293. Test_rightleftcmd() fails if incsearch is enabled, so disable it.
* test(old): use Q -> gQ mapping instead of changing test when possiblezeertzjq2022-07-05
|
* feat(defaults): search selection by * and # in visual mode (#18538)yamatsum2022-05-13
|
* vim-patch:8.2.4343: when reloading not all properties are detectedzeertzjq2022-02-14
| | | | | | | | Problem: When reloading not all properties are detected. Solution: Add the "edit" value to v:fcs_choice. (Rob Pilling, closes vim/vim#9579) https://github.com/vim/vim/commit/8196e94a8b72ed8618605cb66615571313097d78 Cherry-pick some test changes from patch 8.1.1826.
* test(old): reenable Test_virtual_replace() (#16674)zeertzjq2021-12-25
|
* feat(defaults): set nojoinspacesGregory Anders2021-08-17
|
* feat: defaults: set undo points in <C-U> and <C-W> (#15400)Gregory Anders2021-08-16
|
* feat(defaults): remove 'options' from viewoptions #15397Gregory Anders2021-08-16
| | | ref #6289
* feat(defaults): switchbuf=uselast #15394Gregory Anders2021-08-16
|
* feat(defaults): map CTRL-L to search highlights, update diffs #15385Gregory Anders2021-08-16
|
* feat(defaults): map Y to y$ #13268Matthieu Coudron2021-08-15
| | | | | | | | | rationale: - consistent with D and Y - long recommended by Vim's own ":help Y" close #13268 close #416 ref #6289
* refactor(options): remove obsolete distinction of "vi" vs "vim" defaultsBjörn Linse2021-07-14
| | | | | It might come as a schocking surprise, but the defaults we support are the NEOVIM defaults.
* vim-patch:8.1.0734: the hlsearch state is not stored in a session file (#13547)Jan Edmund Lazo2020-12-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The hlsearch state is not stored in a session file. Solution: Add "nohlsearch" if appropriate. (Jason Franklin) https://github.com/vim/vim/commit/e3c74d249ac36404d8af25f74baf335d143b30e3 Vi default for 'sessionoptions' includes 'options'. Use 'set sessionoptions&vi' to use Vim's default 'sessionoptions'. If a test sets 'sessionoptions', reset 'sessionoptions' at the end of the test. N/A patches for version.c: vim-patch:8.2.0119: message test fails on some platforms Problem: Message test fails on some platforms. (Elimar Riesebieter) Solution: Add type cast to vim_snprintf() argument. (Dominique Pelle) https://github.com/vim/vim/commit/1470dc35c4b14bda1995b7566c9a41a33eb06517 vim-patch:8.2.0234: message test fails on SunOS Problem: Message test fails on SunOS. Solution: Adjust expectation for printf "%p". (Ozaki Kiichi, closes vim/vim#5595) https://github.com/vim/vim/commit/d5b991493816a2edba7cacdd06820cf3c0abc4dc vim-patch:8.2.2149: popupwin test for latin1 sometimes fails Problem: Popupwin test for latin1 sometimes fails. Solution: Wait for the script to finish. https://github.com/vim/vim/commit/4c5bdb99ad632d703e94fffafba11b91861fea48 vim-patch:8.2.2150: Github actions CI isn't used for all available platforms Problem: Github actions CI isn't used for all available platforms. Solution: Update the github workflows. (Ozaki Kiichi, closes vim/vim#7433) https://github.com/vim/vim/commit/8ea05de6aa1d133cba3381bcc36adf1736b08e00 vim-patch:8.2.2151: $dir not expanded when configure checks for moonjit Problem: $dir not expanded when configure checks for moonjit. Solution: Use double quotes instead of single quotes. (closes vim/vim#7478) https://github.com/vim/vim/commit/a79a8944dade9115ccaa5a06a076dfb257e56c62 vim-patch:8.2.2153: popupwin test for latin1 still fails sometimes Problem: Popupwin test for latin1 still fails sometimes. Solution: Wait for the "cat" command to finish. https://github.com/vim/vim/commit/b125b535bb0456ab43c10683307a4bc359442d44 vim-patch:8.2.2154: popupwin test for terminal buffer fails sometimes Problem: Popupwin test for terminal buffer fails sometimes. Solution: Wait for the prompt to appear. https://github.com/vim/vim/commit/0353f56ddb379e7f1a68172fa4743355e04df21e
* defaults: set nostartoflineMatthieu Coudron2019-12-03
| | | | | | | Having the cursor change column can be surprising. Force startofline in functional and old tests. Remove the functional breakindent test, as it's a subset of the oldtest one.
* test/old: detect user modules for python,rubyJan Edmund Lazo2019-09-15
| | | | | | | | | Set the environment variables before changing $HOME so that python,ruby can find user modules not in $HOME. Reference: - https://github.com/neovim/neovim/commit/7be7ec98a22451ec75ce5eb9284fa1722b53c697 - https://github.com/neovim/neovim/issues/10270#issuecomment-531516948
* defaults: wildoptions=pum,tagfile #10384Justin M. Keyes2019-07-01
| | | ref #6289
* tests: fix Test_tagfiles: use Vim's 'tags' settingDaniel Hahler2019-06-16
| | | | | Otherwise it might fail with an existing `tags` file upwards, e.g. in neovim's source directory (which should be rather common).
* oldtests: set laststatus=1Jan Edmund Lazo2019-06-03
|
* vim-patch:8.0.1045: running tests may pollute shell historyJan Edmund Lazo2019-02-02
| | | | | | Problem: Running tests may pollute shell history. (Manuel Ortega) Solution: Make $HISTFILE empty. https://github.com/vim/vim/commit/6a8691d483914606213a24356a9124fa41c93b69
* vim-patch:8.1.0310: file info msg with 'F' in 'shortmess'Justin M. Keyes2018-09-21
| | | | | | | | | | Problem: File info message not always suppressed with 'F' in 'shortmess'. (Asheq Imran) Solution: Save and restore msg_silent. (Christian Brabandt, closes vim/vim#3221) https://github.com/vim/vim/commit/2f0f871159b2cba862fcd41edab65b17da75c422 ref #8840 ref #9027
* oldtests: set nrformats to Vim defaultJan Edmund Lazo2018-09-16
|
* oldtests: Test_undofile() passesJan Edmund Lazo2018-08-09
| | | | | | Set undodir to Vim's default value. Fix pathsep of expected undofile path for Windows. Comment out invalid test case for Neovim.
* oldtests: win: set shellpipe for cmd.exeJan Edmund Lazo2018-08-07
| | | | | Redirect errors from :make to error file. Fix execption error in test_compiler.vim on Windows.
* vim-patch:8.0.0810: MS-Windows: tests still hangJan Edmund Lazo2018-07-24
| | | | | | Problem: MS-Windows: tests still hang. Solution: Only create the XfakeHOME directory if it does not exist yet. https://github.com/vim/vim/commit/d0b6c6c54e0f3c2984e1d9b316a587ef14cfd53a
* vim-patch:8.0.0806: tests may try to create XfakeHOME twiceJan Edmund Lazo2018-07-24
| | | | | | Problem: Tests may try to create XfakeHOME twice. Solution: Avoid loading setup.vim twice. https://github.com/vim/vim/commit/f98246d4849e670c6660e97887428dcddf88dc9f
* vim-patch:8.0.0805: GUI test fails with gnome2Jan Edmund Lazo2018-07-24
| | | | | | Problem: GUI test fails with gnome2. Solution: Set $HOME to an existing directory. https://github.com/vim/vim/commit/d1ee0043c0360f6b504c0283edd2a844ef73a349
* oldtests: newstyle: win: reset shell to cmd.exeJan Edmund Lazo2018-04-12
| | | | | | | | Unset $SHELL so that child nvim use cmd.exe as default shell. Unset $TERM so that child nvim don't segfault with negative exit code. sh/bash use TERM=cygwin by default if it is unset. mintty sets TERM to xterm.
* 'fillchars': fix defaults logic; handle ambiwidth=double #7986Matthieu Coudron2018-02-23
| | | | Update tests.
* test/oldtest: move Nvim setup to testdir/setup.vimJustin M. Keyes2018-02-09
|
* defaults: sidescroll=1Justin M. Keyes2018-02-09
| | | | ref #6289
* 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
* defaults: 'showcmd', 'belloff', 'ruler'Justin M. Keyes2017-03-16
| | | | | | | | | | | - Vim "unix default" of 'noshowcmd' is serving few users. And it's inconsistent. - 'ruler' and 'belloff=all' improve the out-of-the-box experience. - Continue to use 'noshowcmd' and 'noruler' by default in the functional tests to keep them fast. TODO: Add a "disable slow stuff" command or mapping to address the use-case of a very slow terminal connection.
* vim-patch:7.4.2031 (#5955)Shougo2017-01-16
Problem: The list_lbr_utf8 test fails if ~/.vim/syntax/c.vim sets 'textwidth' to a non-zero value. (Oyvind A. Holm) Solution: Add a setup.vim file that sets 'runtimepath' and $HOME to a safe value. (partly by Christian Brabandt, closes vim/vim#912) https://github.com/vim/vim/commit/89b10421ca1aea55acbafac1df93be4e20210ceb