| Commit message (Collapse) | Author | Age |
... | |
| |
| |
| |
| | |
Without this cleanup, test will fail if run multiple times.
|
|\ \
| |/
|/| |
|
| | |
|
|\ \
| | |
| | | |
Vim 7.4.{786,787,789,790}
|
| | |
| | |
| | |
| | |
| | | |
* Compare tables instead of strings
* Add neovim specific test
|
| | | |
|
| | | |
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
The tests would leave the following test files in the root directory:
Xtest-functional-plugin-shada.shada
Xtest-functional-plugin-shada.shada.tmp.f
Clean them up in teardown().
|
|\ \
| | |
| | | |
shada: Do not save unlisted and quickfix buffers
|
| | |
| | |
| | | |
Fixes #3635
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Replaced old unit tests for errno with libuv error codes UV_ENOENT
and UV_EEXIST (for os_open and os_getperms).
Added libuv include path to test/includes compiler calls - needed
to get hold of libuv headers.
|
|\ \ \
| | | |
| | | | |
Store last search direction when writing ShaDa files
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Note: it looks like viminfo files do not store search direction intentionally.
After reading viminfo file search direction was considered to be “forward”.
Note 2: all files created on earlier Neovim version will automatically receive
“forward” direction.
Fixes #3580
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Source: https://github.com/mpeterv/luacheck
Docs: http://luacheck.readthedocs.org/en/0.12.0/index.html
Run via "make testlint".
|
| | |
| | |
| | |
| | |
| | | |
The focus event tests now live in their own `describe` block with each
test testing the handling of focus events in a single mode.
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change adds switch cases for K_FOCUSGAINED and K_FOCUSLOST to the
input handling functions in ex_getln.c and terminal.c. The handling is
identical to what's found in edit.c (just calling apply_autocmds).
If one enters cmdline-mode by feeding `:` and sends a focuslost event (by
leaving the window for example) the text `<FocusLost>` will be inserted
into the command line. There is similar behaviour in terminal mode. This
patch corrects this behavior to fire the apropriate autocmd instead.
Fixes #3714
|
|\ \
| |/
|/| |
Add plugin for editing ShaDa files
|
| | |
|
| | |
|
| |
| |
| |
| | |
Contains most of the logic
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Fixes #3676.
Reviewed-by: Marco Hinz <mh.codebro@gmail.com>
|
|\ \
| | |
| | | |
Clean up buffer.c build_stl_str_hl
|
| | | |
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
A terminal buffer now exits with: [Process exited <return value>]
You can hook into it. E.g. :au TermClose * call feedkeys('<cr>')
Closes #2293.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- change approach for test 1: screen:expect() instead of assert()
- use execute() instead of command()
- 2 new tests that check none and wrong input for :oldfiles!
Helped-by: @fwalch
Helped-by: @tarruda
Helper-by: @justinmk
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
This adds two new tests for:
:profile dump
:profile stop
|
| | |
|
|\ \
| | |
| | | |
Sort oldfiles in the marks_spec tests to avoid random ordering errors.
|
| | |
| | |
| | |
| | |
| | | |
According to @ZyX-I in #3594, ordering is not important so let's use
@tarruda's fix by sorting the results.
|
|/ /
| |
| | |
Fixes #3605
|
|/ |
|
|
|
|
|
| |
The abort came from using libuv tty handle on non-tty fd. Use uv_pipe_t in these
cases. Also add simple test for this case.
|
|
|
|
|
|
|
|
|
|
|
| |
Refactor input.c, normal.c and edit.c to use the K_EVENT special key to trigger
the CURSORHOLD event. In normal and edit mode, K_EVENT is treated as
K_CURSORHOLD, which enables better handling of arbitrary actions in those
states(eg: In normal mode the previous operator counts will be restored).
Also fix a test in vim_spec.lua. The test had a wrong assumption: cmdheight is
only used to determine when the press enter screen will be shown, not to limit
how many lines or control pagination.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Problem: Moving the cursor in Insert mode starts new undo sequence.
Solution: Add CTRL-G U to keep the undo sequence for the following
cursor movement command. (Christian Brabandt)
https://github.com/vim/vim/commit/8b5f65a527c353b9942e362e719687c3a7592309
Closes #3492
|
|\
| |
| | |
XDG base directory specification support
|
| | |
|
| | |
|
| |
| |
| |
| | |
Target: make all tests run with chmod -x ~/.config/nvim ~/.local/share/nvim.
|
| | |
|