| Commit message (Collapse) | Author | Age |
| ... | |
| | | |
| | |
| | |
| | |
| | | |
Should be faster then constantly running shada_removable for each buffer many
times.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | |
| | |
| | | |
Currently only merges history when reading ShaDa file. No tests yet.
|
| | | |
| | |
| | |
| | | |
Avoids unneeded malloc()s/free()s and lots of code for parsing.
|
| | | | |
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | | |
I do not know why marks were not read originally, but without this change marks
are not going to be read at startup when Vim starts without arguments.
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
What works:
1. ShaDa file dumping: header, registers, jump list, history, search patterns,
substitute strings, variables.
2. ShaDa file reading: registers, global marks, variables.
Most was not tested.
TODO:
1. Merging.
2. Reading history, local marks, jump and buffer lists.
3. Documentation update.
4. Converting some data from &encoding.
5. Safer variant of dumping viminfo (dump to temporary file then rename).
6. Removing old viminfo code (currently masked with `#if 0` in a ShaDa file for
reference).
|
| | | |
| | |
| | |
| | | |
Caused by using memcpy for assigning one structure to another.
|
| | | |
| | |
| | |
| | | |
It is not needed to know that os/* uses libuv.
|
| | | |
| | |
| | |
| | |
| | |
| | | |
This is required to have <esc> working correctly when the
`ttimeout`/`ttimeoutlen` options are set. Ref:
https://github.com/neovim/neovim/issues/2093#issuecomment-146506480
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Commit e3568364 ("default: enable 'langnoremap'. #2853") enabled it by
default but forgot to remove the lines saying it's disabled by default.
tweaked by Michael Reed
Reviewed-by: Felipe Morales <hel.sheep@gmail.com>
[ci skip]
|
| |/ /
| |
| |
| |
| |
| | |
Update runtime files.
https://github.com/vim/vim/commit/8feef4ff6253afb9dcc61c40082ed4fbb96b685c
|
| | | |
|
| |\ \
| |/
|/| |
deps: Update to libtermkey 0.18.
|
| |/
|
|
|
| |
Same code we were using before, only from official release tarball
instead of our GitHub mirror.
|
| | |
|
| |
|
|
|
| |
Redraw can be flaky especially when remote commands happen during
command-mode. Assert the state directly instead of using Screen.
|
| |
|
|
| |
Closes #3399
|
| | |
|
| |\
| |
| | |
build: Check for -Wvla before use
|
| |/
|
|
| |
OpenBSD's GCC (4.2.1) doesn't have the -Wvla flag.
|
| |\ |
|
| | |
| |
| |
| | |
The tests use `termopen` to spawn nvim and verify the TUI.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Using the `curbuf->terminal` condition alone is wrong since it does not
necessarily mean nvim is in terminal mode. It needs to be used with
`State & TERM_FOCUS` because the current buffer could have changed without
`terminal_enter` exiting.
Close #3403
|
| | |
| |
| |
| |
| | |
Take the return value of input_enqueue into consideration, waiting for the main
thread to consume input. Close #1714 #3377.
|
| | | |
|
| | |
| |
| |
| |
| | |
This allows callers to incrementally process buffers that are filled by
incomplete chunks more easily.
|
| | |
| |
| |
| |
| |
| |
| | |
Add a new special key that can be used by UIs to toggle the 'paste' option and
use it in the TUI instead of the user's 'pastetoggle' value.
Close #2843 #2092
|
| |/
|
|
|
|
|
| |
Setting `msg_didout` after `call_shell` is enough as it will cause
`hit_return_msg()` to print on next line.
Close #3269
|
| |\
| |
| | |
spell.c: Fix memory leak
|
| | | |
|
| |\ \
| | |
| | | |
garray.c: Prevent ga_concat() using memcpy(NULL,...)
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Calling ga_grow(gap, 0) does not reallocate memory for garray gap.
Because of this, gap->ga_data can be NULL after such a call, if gap does
not have memory allocated.
|
| |\ \ \
| |_|/
|/| | |
Disable a broken functional test.
|
| |/ /
| |
| |
| |
| |
| | |
No one has taken a real interest in fixing this, so let's disable it for
now. The issue crops up most on the QB OS X node, but it has
periodically occurred under other nodes too.
|
| |\ \
| | |
| | | |
CMake: Remove --sort-common from linker flags.
|
| |/ /
| |
| |
| |
| |
| |
| | |
Workaround for bugs reported at #2641 and #3374.
Root cause for this problem is still unknown.
Resolves #2641 and resolves #3374.
|
| |\ \
| |/
|/| |
Make `...` occurrences in echo output more useful
|
| | | |
|
| | | |
|
| |/
|
| |
Should be faster then O(depth) iteration, but removes const qualifiers.
|
| |\
| |
| | |
Fix append() with negative line numbers.
|
| | |
| |
| |
| |
| | |
We want to switch include_start/end when the index is positive or
negative.
|
| |\ \
| | |
| | | |
tutor-mode: update plugin
|
| | | | |
|