aboutsummaryrefslogtreecommitdiff
path: root/test/functional
Commit message (Collapse)AuthorAge
...
* tests: Migrate legacy test 62.Lucas Hoffmann2015-07-11
|
* Merge pull request #2932 from lucc/helpers/write_fileMichael Reed2015-07-06
|\ | | | | | | | | | | [RDY] tests: Add write_file helper function Reviewed-by: Florian Walch <florian@fwalch.com> Reviewed-by: Michael Reed <m.reed@mykolab.com>
| * tests: Use new write_file() function in tests.Lucas Hoffmann2015-06-30
| |
| * tests: Use write_file() in source().Lucas Hoffmann2015-06-30
| |
| * tests: Add helpers.write_file() to write short files.Lucas Hoffmann2015-06-30
| |
* | clipboard: don't overwrite before pasting in visual mode. #2945Björn Linse2015-07-04
|/ | | | | This occured when clipboard=unnamedplus and doing "+p in visual mode. Fixes #2942.
* rplugin: allow users to register hosts #2896Nick Hynes2015-06-25
|
* api: vim_set_var() should return the old value #2899Justin M. Keyes2015-06-25
| | | | Closes #2816
* tests: 061_undo_tree_spec: minor editsJustin M. Keyes2015-06-22
|
* tests: Repeat a flaky part of the migrated test 61.Lucas Hoffmann2015-06-22
| | | | | | This is the part of the test that relies on wall clock time and sometimes fails if the system is under load. The test is repeated up to three times before a failure is reported to the user.
* tests: Split test 61 into several it() blocks.Lucas Hoffmann2015-06-22
|
* tests: Fix an further simplify migrated test 61.Lucas Hoffmann2015-06-22
| | | | | | | | :undojoin can only be used inside scripts and command chains. So it has to be tested inside an explicit `source()` call. Also add a new test case for the different behavior when sourceing normal mode commands from a script or inserting them interactively.
* tests: Don't set ul in migrated test 61.Lucas Hoffmann2015-06-22
| | | | | | | | | | The legacy test uses `set ul=100` to break the changes into blocks that can be undone separately. This is needed because the legacy test is sourced from a file and changes would be grouped into on undo block by default. The lua test suite does not have this restriction. Also add a new test case to test this effect of using `set ul=100` in a sourced script.
* tests: Migrate legacy test 61.Lucas Hoffmann2015-06-22
| | | | | | | | | | | | | | | | | | This test is real time based as it also tests the `:earlier` and `:later` commands with time arguments (using `:sleep`). This can sometimes case the test to fail on systems that are under heavy load or where the time interval between creating the expected buffer state and the `:earlier` or `:later` command that tries to jump to it changes. To be system independent we use nvim's `:sleep` command and `wait()` for it in the test suit. The legacy vim test writes to test.out a lot with `:.w >>test.out`. This does currently not work in the lua test suite so the test is modernized to use busted's assertions instead of the output file. This test was treated special in the legacy Makefile but after the conversion the related code can be removed.
* doc: Fix some typos and trailing whitespace. #2875Lucas Hoffmann2015-06-21
|
* defaults: enable 'hlsearch' by default. #2859Justin M. Keyes2015-06-20
| | | | | | Also update the documentation regarding the option. Re: https://github.com/neovim/neovim/issues/2676
* defaults: enable 'autoindent' #2857Felipe Morales2015-06-20
| | | | Re: https://github.com/neovim/neovim/issues/2676
* defaults: enable 'smarttab' by default. #2855Felipe Morales2015-06-20
|
* completion: Initialize v:completed_item #2839Shougo Matsushita2015-06-20
| | | | | v:completed_item should always be a dict (not empty string), even before the first completion.
* tests: Modernize migrated argument_count test.Lucas Hoffmann2015-06-16
|
* tests: Migrate legacy test argument_count.Lucas Hoffmann2015-06-16
|
* tests: Modernize migrated legacy test argument_0count.Lucas Hoffmann2015-06-16
|
* tests: Migrate legacy test argument_0count.Lucas Hoffmann2015-06-16
|
* tests: wviminfo_spec.lua: reworkJustin M. Keyes2015-06-12
| | | | 074_global_var_in_viminfo_spec: remove some redundant sanity checks.
* tests: Add tests for the :wv command.Lucas Hoffmann2015-06-12
|
* tests: Migrate legacy test 74.Lucas Hoffmann2015-06-12
| | | | | Helped-By: David Bürgin <676c7473@gmail.com> Helped-By: Justin M. Keyes <justinkz@gmail.com>
* Add complete() noinsert/noselect support #2792Shougo Matsushita2015-06-11
|
* Add noinsert and noselect features in completeopt #2564Shougo Matsushita2015-06-04
| | | | | | | | | | | | Backported from vim_dev: https://groups.google.com/forum/#!searchin/vim_dev/completeopt/vim_dev/tVsk0pdOGvs/fCzBbPkA4w0J Use case: https://github.com/Shougo/neocomplcache.vim/issues/426 Reviewed-by: Felipe Morales <hel.sheep@gmail.com> Reviewed-by: Scott Prager <splinterofchaos@gmail.com> Reviewed-by: Michael Reed <m.reed@mykolab.com>
* terminal : don't set vterm size to 0 (workaround #2732)Frederik Van Slycken2015-05-31
|
* tests: Use pending() instead of silently skipping test. #2737Florian Walch2015-05-29
|
* tests: Migrate legacy test 65.Lucas Hoffmann2015-05-27
| | | | Helped-By: David Bürgin <676c7473@gmail.com>
* tests: Migrate legacy test 82.Lucas Hoffmann2015-05-27
| | | | | Helped-By: David Bürgin <676c7473@gmail.com> Helped-By: Shougo Matsushita <Shougo.Matsu@gmail.com>
* tests: Migrate legacy test 3 #2399David Bürgin2015-05-27
|
* tests: Migrate legacy test 76. #2711Lucas Hoffmann2015-05-27
|
* tests: Migrate legacy test 60. #2721Lucas Hoffmann2015-05-27
| | | | Helped-By: Justin M. Keyes <justinkz@gmail.com>
* tests: Convert legacy test29David Bürgin2015-05-25
|
* tests: Migrate legacy test 31 #2736Nelson Yeung2015-05-25
|
* completion: Add v:completed_item feature #2563Shougo Matsushita2015-05-24
| | | | | | | Reviewed-by: Michael Reed <m.reed@mykolab.com> Reviewed-by: Luke Andrew <luke.github@la.id.au> Reviewed-by: Justin M. Keyes <justinkz@gmail.com> Reviewed-by: Florian Walch <florian@fwalch.com>
* options: Enable &wildmenu, use "list:longest,full" for &wildmode by default ↵Felipe Morales2015-05-17
| | | | #2677
* options: mark nonfunctional &termencoding option as hidden. #2631Björn Linse2015-05-17
| | | | | | | Remove related dead code and references in the docs. Helped-By: Michael Reed <m.reed@mykolab.com> Helped-By: Shougo Matsushita <Shougo.Matsu@gmail.com>
* test: v:servername, serverstart(), serverstop()Justin M. Keyes2015-05-17
|
* vim-patch:7.4.587 #2622David Bürgin2015-05-13
| | | | | | | Problem: Conceal does not work properly with 'linebreak'. (cs86661) Solution: Save and restore boguscols. (Christian Brabandt) https://github.com/vim/vim/commit/v7-4-587
* test/terminal: fix indeterminism in colorcolumn screen testBjörn Linse2015-05-10
| | | | | | | | Previously, the screen test was expecting the screen state to be identical to the previous screen test in `thelpers.screen_setup()`, which is indeterministic. (The later screen test can accidentally still see the previous identical state). The solution is to add a test for a intermediate different state.
* test/ui: Add concealing tests. #2055Clinton McKay2015-05-09
|
* tests: Migrate legacy test 96 #2220David Bürgin2015-05-04
|
* unify jobstart, termopen, and system interfacesScott Prager2015-05-02
| | | | | | | | | | | | | | | | | For any of these functions, if {cmd} is a string, execute "&shell &shellcmdflag '{cmd}'", or simply {cmd} if it's a list. In termopen(), if the 'name' option is not supplied, try to guess using '{cmd}' (string) or {cmd}[0] (list). Simplify ex_terminal to use the string form of termopen(). termopen: get name from argument Convert list_to_argv to tv_to_argv. Helped-by: Björn Linse <@bfredl> Helped-by: oni-link <knil.ino@gmail.com> Helped-by: Thiago de Arruda <@tarruda>
* term: use an argument vector for termopen().Scott Prager2015-05-02
| | | | | | | | | | | | | | | | | | | | | | Old behaviour: termopen('cmd') would run `&shell &shcf "cmd"`, which caused the functional tests to fail on some systems due to the process not "owning" the terminal. Also, it is inconsistent with jobstart(). Modify termopen() so that &shell is not invoked, but maintain the old behaviour with :terminal. Factor the common code for building the argument vector from jobstart() and modify the functional tests to call termopen() instead of :terminal (fixes #2354). Also: * Add a 'name' option for termopen() so that `:terminal {cmd}` produces a buffer named "term//{cwd}/{cmd}" and termopen() users can customize the name. * Update the documentation. * Add functional tests for `:terminal` sinse its behaviour now differs from termopen(). Add "test/functional/fixtures/shell-test.c" and move "test/functional/job/tty-test.c" there, too. Helped-by: Justin M. Keyes <@justinmk>
* vim-patch:7.4.659 + testMichael Reed2015-05-01
| | | | | | | | | | Problem: When 'ruler' is set the preferred column is reset. (Issue 339) Solution: Don't set curswant when redrawing the status lines. https://code.google.com/p/vim/source/detail?r=v7-4-659 Helped-by: David Bürgin <676c7473@gmail.com> Based on #2347 by @pvinis
* UI test: visual selection after left click in tablineMarco Hinz2015-04-28
|
* UI test: left click in tablineMarco Hinz2015-04-28
|