| Commit message (Collapse) | Author | Age |
... | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Do this for new-style tests too, because they run after the old-style
tests which don't clean up their temp files.
Reverts ebd251c
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Clever compiler warns for buffer being too small.
Solution: Make the buffer bigger (even though it's not really needed).
https://github.com/vim/vim/commit/5431589d25e73892fcf7ad1eaca53f742c1c9303
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Some compilers give warning messages.
Solution: Initialize variables, change printf() argument. (Christian
Brabandt, closes vim/vim#4305)
https://github.com/vim/vim/commit/1f3601e92e7fd2813b9541580d6d9649c802eb58
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Vim script debugger tests are old style.
Solution: Turn into new style tests. (Yegappan Lakshmanan, closes vim/vim#4259)
https://github.com/vim/vim/commit/113bf0672b114af5800fa642bcd09f674758e5d5
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Some autocmd tests are old style.
Solution: Turn the tests into new style. (Yegappan Lakshmanan, closes vim/vim#4295)
https://github.com/vim/vim/commit/69ea587289b03e23a9fb96adffd6e8173cbc5896
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Typos and small problems in source files.
Solution: Small fixes.
https://github.com/vim/vim/commit/ad3ec76bb8030b9a1d3f0a49c374d0de2383b977
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Timer interrupting cursorhold and mapping not tested.
Solution: Add tests with timers. (Ozaki Kiichi, closes vim/vim#3871)
https://github.com/vim/vim/commit/26d982185e21398738a9c688429c0a1840d7c9c3
|
| | |
| | |
| | |
| | |
| | | |
Problem: Cannot test if a command causes a beep.
Solution: Add assert_beeps().
https://github.com/vim/vim/commit/b48e96f61c87a64e38e3ac50732c92a84a4833b8
|
|\ \ \
| | | |
| | | | |
vim-patch:8.0.{647,768,797,1085,1092,1107,1133,1408}
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Crash in setqflist().
Solution: Check for string to be NULL. (Dominique Pelle, closes vim/vim#2464)
https://github.com/vim/vim/commit/a0ca7d002d4efcf4bce0af6943146a339677ed3d
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Terminal window status shows "[Scratch]".
Solution: Show "[Terminal]" when no title was set. (Yasuhiro Matsumoto)
Store the terminal title that vterm sends and use it. Update the
special buffer name. (closes vim/vim#1869)
https://github.com/vim/vim/commit/2155441460a6dc0a72125f7860507693112a1460
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Finished job in terminal window is not handled.
Solution: Add the scrollback buffer. Use it to fill the buffer when the job
has ended.
https://github.com/vim/vim/commit/d85f271bf8516dbd90be4d18f905f0abbfcd6db6
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Syntax timeout not used correctly.
Solution: Do not pass the timeout to syntax_start() but set it explicitly.
(Yasuhiro Matsumoto, closes vim/vim#2139)
https://github.com/vim/vim/commit/f3d769a585040ac47f7054057758809024ef6377
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Syntax highlighting can make cause a freeze.
Solution: Apply 'redrawtime' to syntax highlighting, per window.
https://github.com/vim/vim/commit/06f1ed2f78c5c03af95054fc3a8665df39dec362
|
|/ / /
| | |
| | | |
Remove <C-R> special char after reading following chars
|
| | | |
|
|\ \ \
| | | |
| | | | |
Fix #9889: stopinsert prohibiting terminal mode
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Using `:stopinsert` while in normal mode in a terminal buffer
prevents neovim from entering insert mode.
Solution: Move `stop_insert_mode = false` from terminal_check to
terminal_enter to be consistent with edit.c, as suggested by bfredl in
#9889.
Closes https://github.com/neovim/neovim/issues/9889.
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
common (#9922)
Problem: .ts files are recognized as xml, while typescript is more common.
Solution: Recognize .ts files as typescript.
https://github.com/vim/vim/commit/1a4dce7cad4af4de347853aad6d671da2df662ad
|
|/ /
| |
| |
| |
| | |
References https://github.com/neovim/neovim/pull/9907
Fixes https://github.com/neovim/neovim/issues/9912
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Nvim notes:
- Nvim does not support "-u DEFAULTS", that change is omitted.
- Also add 'shadafile' as an alias to 'viminfofile'.
- Deprecate 'viminfofile'.
Problem: Not easy to start Vim cleanly without changing the viminfo file.
Not possible to know whether the -i command line flag was used.
Solution: Add the --clean command line argument. Add the 'viminfofile'
option. Add "-u DEFAULTS".
https://github.com/vim/vim/commit/c4da113ef98dcfd6f2a088b1693c0317dcb5bf42
|
| |
| |
| |
| |
| |
| | |
Problem: Can't get size or current index from quickfix list.
Solution: Add "idx" and "size" options. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/fc2b270cfd36230166df486aae4d96d9d1f32755
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Various small quickfix issues.
Solution: Remove ":" prefix from title set by a user. Add the qf_id2nr().
function. Add a couple more tests. Update documentation.
(Yegappan Lakshmanan)
https://github.com/vim/vim/commit/b4d5fbabc99917a8069ba32a60c2d73d4f60e128
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Function prototypes missing without the quickfix feature. (Tony
Mechelynck)
Solution: Move non-quickfix functions to buffer.c.
https://github.com/vim/vim/commit/f0a521f4f76904edb74e182c12732189b347ff68
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Options of a buffer for a terminal window are not set properly.
Solution: Add "terminal" value for 'buftype'. Make 'buftype' and
'bufhidden' not depend on the quickfix feature.
Also set the buffer name and show "running" or "finished" in the
window title.
https://github.com/vim/vim/commit/1f2903c43109b16594d141a730659317b15f388d
|
|\ \
| | |
| | | |
windows: float config changes
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Allow floating windows of width 1. #9846
- For a new floating window the size must be specified. Later on we
might try to calculate a reasonable size by buffer contents
- Remember the configured size of a window, just like its position.
- Make get_config and set_config more consistent. Handle relative='' properly in set_config.
get_config doesn't return keys that don't make sense for a non-floating window.
- Don't use width=0 for non-changed width, just omit the key.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
'inccommand' invokes ex_substitute() to build its "preview". During the
brief (~millisecond) time it takes to execute that function, the buffer
is "dirty" (its contents are invalid). Events must not be handled during
this time, else they would see a temporary state which is not the true,
logical state of the buffer.
ref #9777
|
| | |
| | |
| | |
| | | |
closes #9777
|
|\ \ \
| | | |
| | | | |
vim-patch:8.0.{1104,1130}
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: The qf_jump() function is still too long.
Solution: Split of parts to separate functions. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/9cb03716c963338f9a98d2ebc7aa3ac8b9c1eea6
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: The qf_jump() function is too long.
Solution: Split of parts to separate functions. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/ef6b8de42f439271edcf5cf22b2450f2cf302c2e
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
API: emit nvim_error_event on failed async request
|
| |/ /
| | |
| | |
| | |
| | | |
We already do this for _invalid_ async requests #9300.
Now we also do it for failed invocation of valid requests.
|
|\ \ \
| | | |
| | | | |
vim-patch:8.1.{1156,1157}
|
| | | | |
|
| | | | |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Unicode emoji and other image characters not recognized.
Solution: Add ranges for musical notation, game pieces, etc. (Martin
Tournoij, closes vim/vim#4238)
https://github.com/vim/vim/commit/d489c9801b3aaf284d42643507bbfb9ce3bc0f2f
|
|/ /
| |
| | |
Fixes https://github.com/neovim/neovim/issues/9892
|
| |
| |
| | |
Closes https://github.com/neovim/neovim/issues/9890
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
vim-patch:8.0.0714: when a timer causes a command line redraw " goes missing
Problem: When a timer causes a command line redraw the " that is displayed
for CTRL-R goes missing.
Solution: Remember an extra character to display.
https://github.com/vim/vim/commit/a92522fbf3a49d06e08caf010f7d7b0f58d2e131
vim-patch:8.0.0720: unfinished mapping not displayed when running timer
Problem: Unfinished mapping not displayed when running timer.
Solution: Also use the extra_char while waiting for a mapping and digraph.
(closes vim/vim#1844)
https://github.com/vim/vim/commit/6a77d2667e982655f6adacee774ee7aa2581bd8a
close #9835
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
According to [MessagePack RPC specification](https://github.com/msgpack-rpc/msgpack-rpc),
message ID must be 32-bit unsigned integer. But Neovim implementation
uses uint64_t instead of uint32_t. This can have wrong results in the
case of large ids or a malformed request, for example:
Actual response: [1,18446744073709551615,[1,"Message is not an array"],null]
Expected response: [1,4294967295,[1,"Message is not an array"],null]
The issue does not affect RPC clients written in dynamically-typed
languages like Python. Wrong type of sequence id number breaks RPC
clients written statically typed languages like C/C++/Golang: all of
them expect uint32_t as message id.
Examples:
https://github.com/msgpack-rpc/msgpack-rpc-cpp/blob/11268ba2be5954ddbb2b7676c7da576985e45cfc/src/msgpack/rpc/protocol.h#L27
https://github.com/ugorji/go/blob/master/codec/msgpack.go#L993
closes #8850
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Using a sentinel value in the response-id is ambiguous because the
msgpack-rpc spec allows all values (including zero/max). And clients
control the id, so we can't be sure they won't use the sentinel value.
Instead of a sentinel value, check the message type explicitly.
ref #8850
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Using `:wincmd j` and friends doesn't make much sense to a floating window. For
convenience though, any direction will simply change to the previous window.
Make sure the previous window is valid, not the current window, and not another
floating window. Change to the first window (which is never a floating window)
otherwise.
|
| | |
|
| |
| |
| |
| |
| |
| | |
Problem: Reading invalid memory with CTRL-W :.
Solution: Correct the command characters. (closes vim/vim#2469)
https://github.com/vim/vim/commit/2efb323e875d2852f63e41c40641760d1d6b069f
|