aboutsummaryrefslogtreecommitdiff
path: root/test/functional
Commit message (Collapse)AuthorAge
...
* | | functests: Fix legacy/097_glob_path_specZyX2017-04-09
| | |
* | | functests: Fix legacy/096_location_list_specZyX2017-04-09
| | |
* | | functests: Fix legacy/067_augroup_exists_specZyX2017-04-09
| | |
* | | functests: Fix some tests which are failing locally for unrelated reasonsZyX2017-04-09
| | |
* | | functests: Fix legacy/074_global_var_in_viminfo_specZyX2017-04-09
| | |
* | | functests: Fix legacy/065_float_and_logic_operators_specZyX2017-04-09
| | |
* | | functests: Fix legacy/063_match_and_matchadd_specZyX2017-04-09
| | |
* | | functests: Fix legacy/062_tab_pages_specZyX2017-04-09
| | |
* | | functests: Fix legacy/051_highlight_spec testZyX2017-04-09
| | |
* | | functests: Fix legacy/030_fileformats_spec testZyX2017-04-09
| | | | | | | | | | | | For some reason it had a number of not working bwipeout! commands. execute() successfully hid the failures, command() is not that permissive.
* | | functests: Replace execute with either command or feed_commandZyX2017-04-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hope this will make people using feed_command less likely: this hides bugs. Already found at least two: 1. msgpackparse() will show internal error: hash_add() in case of duplicate keys, though it will still work correctly. Currently silenced. 2. ttimeoutlen was spelled incorrectly, resulting in option not being set when expected. Test was still functioning somehow though. Currently fixed.
* | | functests: Refactor options/pastetoggleZyX2017-04-08
| | | | | | | | | | | | | | | Note: typo, ttimeoutlen not set ever. Mention @hardenedapple
* | | functests: Refactor legacy/054_buffer_local_autocommands_specZyX2017-04-08
| | |
* | | functests: Refactor legacy/003_cindent_spec and legacy/increment_specZyX2017-04-08
| | |
* | | functests: Refactor legacy/018_unset_smart_indenting_specZyX2017-04-08
| | |
* | | functests: Refactor legacy/029_join testZyX2017-04-08
| | |
* | | functests: Refactor legacy/012_directory_specZyX2017-04-08
| | |
* | | functests: Move test from legacy/009 to autocmd/autocmdZyX2017-04-08
| | |
* | | functests: Refactor 009_bufleave_autocommand_specZyX2017-04-08
|/ / | | | | | | It was not testing anything actually: the `e yy` command simply failed because of unsaved changes, BufLeave never run thus.
* | win: os_get_hostname() #5416 (#6413)Justin M. Keyes2017-04-07
| |
* | completion: fix segfault with ignorecase+infercase (#6452)Justin M. Keyes2017-04-06
| | | | | | | | | | Helped-by: Matthew Malcomson <hardenedapple@gmail.com> Closes #6451
* | test: retry() works with asserts; error() not required.Justin M. Keyes2017-04-06
| |
* | tests: short form `screen:except(func)` expects condition only. #6440Björn Linse2017-04-06
| | | | | | | | | | | | - Use this to properly test cursor shape events. - tests: update screen_basic_spec to use `screen:expect` short form. Clearer than using `screen:wait` directy.
* | 'guicursor': Disable by default for unknown terminals.Justin M. Keyes2017-04-04
| | | | | | | | | | | | | | User can still set guicursor explicitly in init.vim. Closes #5990 Closes #6403
* | 'guicursor': enabled=false if 'guicursor' is emptyJustin M. Keyes2017-04-04
| | | | | | | | | | Closes #6429 Closes #6430
* | 'listchars': `Whitespace` highlight group #6367Yichao Zhou2017-04-03
| |
* | tests: Fix testlint errorsZyX2017-04-03
| |
* | functests: Test some :write errorsZyX2017-04-03
| |
* | eval: Add s flag, use p_fs by default, error out on unknown flagZyX2017-04-03
| |
* | api/cursor_style_set: mode descriptionsJustin M. Keyes2017-04-01
| |
* | 'guicursor': Empty means "block cursor in all modes".Justin M. Keyes2017-04-01
| | | | | | | | Also: update default 'guicursor' to match the documentation.
* | tui: 'guicursor' shape #6044Matthieu Coudron2017-04-01
| | | | | | | | Closes #2583
* | 'pastetoggle': support value >1 char (#6421)Matthew Malcomson2017-04-01
| | | | | | | | | | | | | | | | | | | | If we `set pastetoggle=abcde`, and manually type it, then `vgetorpeek()` sees part of the option before it has all been inserted into the typebuffer. To signify this it sets `keylen = KEYLEN_PART_KEY`, but the condition about whether to return the current key from `vgetorpeek()` only checks for `keylen = KEYLEN_PART_MAP`. Add a check for `KEYLEN_PART_KEY` to account for the `'pastetoggle'` option.
* | unittests: Add trace description right to the error messageZyX2017-04-01
| |
* | fold.c: more edge-cases when updating (#6207)Matthew Malcomson2017-03-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When foldUpdateIEMSRecurse() re-uses an existing fold, it misses the case where the existing fold spans from before startlnum to after firstlnum, the new fold does not span this range, and there is no "forced start" of a fold. We add a case for this in. Ensure that if there was no forced break in folds, we merge folds that now touch each other. Include testing for a tricky foldmethod=expr case that has never been a bug. This case works at the moment because of some effects that are not obvious when reading the code. A test for this could be useful to ensure a regression doesn't happen. vim-patch:8.0.0408
* | api: {get,set}_option should {get,set} global value of local options (#6405)Jakob Schnitzer2017-03-30
| | | | | | | | | | - nvim_get_option should return the global default of a local option. - nvim_set_option should set the global default of a local option.
* | test: set 'nomore' by default (#6360)Matthew Malcomson2017-03-30
| | | | | | | | | | | | Escaping from a '-- More --' prompt in tests is awkward as it doesn't take keys from the typebuffer, requiring a call to `feed()` in lua at the correct time. Moreover, it's rarer that a test will want the '-- More --' prompt to be activated than not.
* | test: Use workspace-local temp directory.Justin M. Keyes2017-03-30
| | | | | | | | Closes #6291
* | functests: Try sleeping a bit moreZyX2017-03-29
| |
* | eval: Fix extend() behaviour with NULL lists and dictionariesZyX2017-03-29
| | | | | | | | | | Ref #4615 Ref vim/vim#768
* | eval/typval: Fix SEGV in test_alot.vim testZyX2017-03-29
| |
* | eval: Fix len argument to xstrlcatZyX2017-03-29
| |
* | eval: Make sure that v:_null_dict does not crash dictwatcher*()ZyX2017-03-29
| | | | | | Ref #4615
* | eval: Move part of dictwatcher* functions to eval/typvalZyX2017-03-29
| |
* | functests: Fix buf_functions test on WindowsZyX2017-03-29
| |
* | eval/typval: Add tv_list_equal() tests, compare NULL lists equalZyX2017-03-29
| |
* | eval/typval,tests: Fix extending list with itself, add testsZyX2017-03-29
| | | | | | | | | | Adds unit test for tv_list_extend and regression test for extend() VimL function.
* | eval/typval: Make tv_list_concat handle NULL lists correctlyZyX2017-03-29
| | | | | | | | Fixes some FIXMEs in eval/null_spec.lua.
* | functests: Add null_spec.lua from #4615ZyX2017-03-29
| | | | | | | | | | | | For now it is full of FIXMEs and tests for incorrect behaviour. Sorted out to have FIXMEs in one place, commented crashing tests in other and correctly working tests in the third one.
* | eval: Fix max_min functionsZyX2017-03-29
| | | | | | | | | | | | Found two bugs: 1. Multiple unneeded error messages, vim/vim#1039. 2. Unformatted error string, vim/vim#1040.