aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ex_cmds
Commit message (Collapse)AuthorAge
...
* menu_get(): Do not include empty itemsJustin M. Keyes2019-01-27
| | | | | Caused by a typo: `dict` instead of `dic`. Renamed variable to `d` to make it less similar.
* fix ":menu Item.SubItem"Justin M. Keyes2019-01-27
| | | | | | | | | | | | | | :menu should print sub-menu contents. E.g. this should print the "File.Save" submenu: nvim -u NORC :source $VIMRUNTIME/menu.vim :menu File.Save Regressed in dc685387a3d6 Blocks #8173 menu_get() also was missing some results for some cases.
* screen: don't unconditionally clear messages on window scrollBjörn Linse2019-01-15
| | | | | | | | | | | | | | | In vim, scrolling a window might mess up the cmdline. To keep it simple, cmdline was always cleared for any window scroll. In nvim, where safe scrolling is implemented in the TUI layer, this problem doesn't exist. Clearing the message on scrolling, when we not do it e.g when switching tabs is a bit weird, as the former is a much smaller context change. A vim patch introduced the possibility to avoid the cmdlline clear for redraws caused by async events. This case will now trivially be covered, as the redraw is always avoided. vim-patch:8.0.0592: if a job writes to a buffer screen is not updated
* :recover : Fix crash on non-existent *.swp #9504raffitz2019-01-15
| | | | | | | Reverts d2944e6a298e. mf_open() _can_ fail if the file does not exist. closes #9503 closes #9504
* Merge #9291 'vim-patch:8.1.{550,551}'Justin M. Keyes2018-12-02
|\
| * fixup: 30 col resize to scroll debugJan Edmund Lazo2018-12-01
| |
| * functionaltests: vim-patch:8.1.{550,551} fixJan Edmund Lazo2018-11-30
| |
* | VimL/confirm(): Show dialog even if :silentJustin M. Keyes2018-12-01
| | | | | | | | | | closes #8788 related #9034
* | insert: make <cmd> mapping work in completion (CTRL-X) modeBjörn Linse2018-12-01
|/
* signs: Add "numhl" argument #9113Reto Schnyder2018-10-13
| | | | | close #9113 ref #9040
* swapfile: Always show swap dialog (E325)Justin M. Keyes2018-09-23
| | | | | | | If swapfile dialog prompts for input, it must be displayed to the user. fix #8840 fix #9027
* startup: always wait for UI with --embed, unless --headless also is suppliedBjörn Linse2018-09-22
|
* getchar: allow <SID> in <Cmd> mappingBjörn Linse2018-09-13
|
* tests: update expected output of :digraph commandJan Edmund Lazo2018-09-08
|
* tests: introduce screen:expect{...} formBjörn Linse2018-08-27
|
* cmdline: always use save_cmdline before command_line_enterBjörn Linse2018-08-17
| | | | | ":normal :" might be invoked in various ways, so its safest to always allow recursive invocation of cmdline mode
* defaults: shortmess+=F (#8619)Justin M. Keyes2018-06-22
| | | | | | Because we default to laststatus=2 (statusline is always visible), the :edit message is not useful. ref #6289
* ex_getln: remove msg_scrolled cargo-cult magic, fixes #8251Björn Linse2018-06-02
|
* fixup: always delete Xfile, fix exit code checkJan Edmund Lazo2018-05-25
| | | | | after_each + os.remove ensures Xfile is deleted after every test. Windows exit code is inconsistent.
* win: test: close shada file before os.removeJan Edmund Lazo2018-05-24
|
* win: test: don't test symlink if not admin userJan Edmund Lazo2018-05-24
|
* win: test: disable non-admin failing testsJan Edmund Lazo2018-05-24
| | | | | | | mkfifo (msysgit) does not work outside of msys2 environment. gzip tests fail on Windows. mklink requires admin privs for file symbolic links so mklink fails.
* :digraphs : highlight with hl-SpecialKey #2690Jakson Alves de Aquino2018-05-01
| | | | closes #2690
* msg: do not scroll entire screen (#8088)Björn Linse2018-03-31
|
* getchar: implement <Cmd> key to invoke command in any modeBjörn Linse2018-03-23
|
* test: rename next_message() to next_msg()Justin M. Keyes2018-03-11
|
* 'fillchars': fix defaults logic; handle ambiwidth=double #7986Matthieu Coudron2018-02-23
| | | | Update tests.
* Resolve issues mentioned in PR reviewJan Edmund Lazo2018-02-19
|
* test: enable ex_cmds/cd_spec.lua on WindowsJan Edmund Lazo2018-02-19
|
* test: enable ex_cmds/write_spec.lua in WindowsJan Edmund Lazo2018-02-19
|
* tests: integrate ex_cmds/bang_filter_spec into ui/output_specBjörn Linse2018-02-10
| | | | they test the same thing. Filtering is tested elsewhere.
* shell: support bellBjörn Linse2018-02-10
|
* shell: add test for binary and multibyte outputBjörn Linse2018-02-06
| | | | Also update existing tests for new (vim-compatible) newline behavior
* test: robust cleanup, unique filenames #7950 (#7950)Justin M. Keyes2018-02-01
| | | | | | | Use unique filenames to avoid test conflicts. Use read_file() instead of io.popen(), to ensures the file is closed. Use helpers.rmdir(), it is far more robust than lfs. closes #7911
* os/input.c: parse keycodes in non-string context #7411lePerdu2018-01-18
| | | | | | | | | | | cb02137dfac7 had two mistakes, of the same nature: trans_special() must be invoked with in_string=false unless the parsing context is a VimL string. replace_termcodes() and input_enqueue() are low-level mechanisms where VimL strings do not exist. keymap.c: adjust double-quote case to satisfy keymap_spec.lua closes #7410
* api: change nvim_command_output behaviorJustin M. Keyes2018-01-10
| | | | | | | | | | | | | | | | | | | Implement nvim_command_output with `execute({cmd},"silent")`. Behavior changes: - does not provoke any hit-enter prompt - no longer prepends a newline char - does not capture some noise (like the "[New File]" message, see the change to tabnewentered_spec.lua) Technically ("bug-for-bug") this a breaking change. But the previous behavior of nvim_command_output meant that it probably wasn't used for anything outside of tests. Also remove the undocumented `v:command_output` variable which was a hack introduced only for the purposes of nvim_command_output. closes #7726
* keymap: Do not use vim_isIDc in keymap.cZyX2017-11-30
| | | | | | | | Note: there are three changes to ascii_isident. Reverting first two (in find_special_key and first in get_special_key_code) normally fails the new test with empty &isident, but reverting the third does not. Hence adding `>` to &isident. Ref vim/vim#2389.
* test: :highlight validation errorsnate2017-11-25
| | | | | add test when highlight group doesn't exist. add test when an invalid color name is used for `cterm`.
* Merge #7345 'location-list update on buffer-modified'Justin M. Keyes2017-11-21
|\
* | 'viewoptions': add "curdir" flag #7447Eric Roberts2017-11-18
| | | | | | | | | | | | | | | | | | | | The flag enables the current local directory set by ":lcd" to be saved to views which is the current default behaviour. The option can be removed to disable this behaviour. closes #7435 vim-patch:8.0.1289
* | test: ctrl_c_spec: bias timeouts for success (#7451)Matthew Malcomson2017-10-28
| | | | | | | | | | Having timeouts that are likely to fail incurs a penalty of waiting for screen:expect() to fail, hence removing such small timeouts will speed up the test on average.
* | test: avoid redundant clear() #7340Justin M. Keyes2017-10-16
| |
* | More testsKillTheMule2017-10-02
| |
* | menu_get: adjust tests for prettyprintingKillTheMule2017-10-01
|/ | | | ... and add a bit of new testing
* menu_get(): docJustin M. Keyes2017-07-28
|
* viml: introduce menu_get() function #6322Matthieu Coudron2017-07-28
| | | | menu_get({path}, {modes}). See :h menu_get.
* functests: Ensure different SIDs on successive source() callsZyX2017-07-04
|
* functests: Add some more :echo tests which also check for regressionZyX2017-07-04
| | | | Fixes #6954
* functests: Make ex_cmds/echo actually use :echoZyX2017-07-04
|
* functests: Copy eval/string_spec.lua to ex_cmds/echo_spec.luaZyX2017-07-04
|