| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
| |
Caused by a typo: `dict` instead of `dic`. Renamed variable to `d` to
make it less similar.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
: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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Reverts d2944e6a298e. mf_open() _can_ fail if the file does not exist.
closes #9503
closes #9504
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
closes #8788
related #9034
|
|/ |
|
|
|
|
|
| |
close #9113
ref #9040
|
|
|
|
|
|
|
| |
If swapfile dialog prompts for input, it must be displayed to the user.
fix #8840
fix #9027
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
":normal :" might be invoked in various ways, so its safest to always
allow recursive invocation of cmdline mode
|
|
|
|
|
|
| |
Because we default to laststatus=2 (statusline is always visible), the
:edit message is not useful.
ref #6289
|
| |
|
|
|
|
|
| |
after_each + os.remove ensures Xfile is deleted after every test.
Windows exit code is inconsistent.
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
closes #2690
|
| |
|
| |
|
| |
|
|
|
|
| |
Update tests.
|
| |
|
| |
|
| |
|
|
|
|
| |
they test the same thing. Filtering is tested elsewhere.
|
| |
|
|
|
|
| |
Also update existing tests for new (vim-compatible) newline behavior
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
add test when highlight group doesn't exist.
add test when an invalid color name is used for `cterm`.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
|/
|
|
| |
... and add a bit of new testing
|
| |
|
|
|
|
| |
menu_get({path}, {modes}). See :h menu_get.
|
| |
|
|
|
|
| |
Fixes #6954
|
| |
|
| |
|