Jan Edmund Lazo
5fc8a7ee09
vim-patch:8.1.1300: in a terminal 'ballooneval' does not work right away
...
Problem: In a terminal 'ballooneval' does not work right away.
Solution: Flush output after drawing the balloon. Add the <Ignore> key
code. Add a test.
2f10658b06
2019-12-30 00:34:44 -05:00
Jan Edmund Lazo
ebd5c2cdda
ui: add basic tests for pumheight,pumwidth
2019-12-29 23:16:52 -05:00
Jan Edmund Lazo
1250a01325
vim-patch:8.2.0058: running tests changes ~/.viminfo
...
Problem: Running tests changes ~/.viminfo.
Solution: Make 'viminfo' empty when summarizing tests results. (closes vim/vim#5414 )
eb698d0b32
2019-12-29 22:43:43 -05:00
Jan Edmund Lazo
74e37ac665
vim-patch:8.1.2087: cannot easily select one test function to execute
...
Problem: Cannot easily select one test function to execute.
Solution: Support the $TEST_FILTER environment variable. (Ozaki Kiichi,
closes vim/vim#2695 )
a7f6c3cf07
2019-12-29 22:43:16 -05:00
Jan Edmund Lazo
6c606c1191
vim-patch:8.1.1875: cannot get size and position of the popup menu
...
Problem: Cannot get size and position of the popup menu.
Solution: Add pum_getpos(). (Ben Jackson, closes vim/vim#4827 )
e9bd57286a
https://github.com/neovim/neovim/pull/11562 backported the vim patch.
This patch only updates the runtime/doc/ files to match Vim.
2019-12-29 18:34:05 -05:00
Jan Edmund Lazo
e80f61020a
vim-patch:8.0.1540: popup menu positioning fails with longer string
...
Problem: Popup menu positioning fails with longer string.
Solution: Only align with right side of window when width is less than
'pumwidth' (closes vim/vim#2661 )
2b10bcbfc1
2019-12-29 18:34:05 -05:00
Jan Edmund Lazo
81a0d10f13
fixup! vim-patch.sh: list related missing Vim patches [ci skip] #11514
2019-12-29 18:34:04 -05:00
Jan Edmund Lazo
1e693ac97d
vim-patch:8.1.1303: not possible to hide a balloon
...
Problem: Not possible to hide a balloon.
Solution: Hide the balloon when balloon_show() is called with an empty
string or list. Add balloon_gettext().
be0a2597ae
2019-12-29 18:34:04 -05:00
Jan Edmund Lazo
be4165308f
screen: fix pvs/v1048
2019-12-29 18:34:04 -05:00
Jan Edmund Lazo
1d3d84fe81
vim-patch:8.1.0554: popup menu overlaps with preview window
...
Problem: Popup menu overlaps with preview window.
Solution: Adjust the height computation. (Hirohito Higashi, closes vim/vim#3414 )
614ab8aa00
Cherry-picked "row -> pum_win_row" rename changes from patch 8.1.0062.
2019-12-29 18:34:04 -05:00
Jan Edmund Lazo
51c9e3c4d1
vim-patch:8.0.1538: popupmenu is too far left when completion is long
...
Problem: Popupmenu is too far left when completion is long. (Linwei)
Solution: Adjust column computations. (Hirohito Higashi, closes vim/vim#2661 )
bb008dd323
2019-12-29 18:34:04 -05:00
Jan Edmund Lazo
d56f36f46c
vim-patch:8.0.1522: popup menu is positioned in the wrong place
...
Problem: Popup menu is positioned in the wrong place. (Davit Samvelyan,
Boris Staletic)
Solution: Correct computation of the column and the conditions for that.
(Hirohito Higashi, closes vim/vim#2640 )
4287ed33dd
2019-12-29 18:34:04 -05:00
Jan Edmund Lazo
ac85d1f52f
vim-patch:8.1.0670: macro for popup menu width is unused
...
Problem: Macro for popup menu width is unused.
Solution: Remove it. (Hirohito Higashi)
3d631cb0b3
2019-12-29 18:34:03 -05:00
Jan Edmund Lazo
669d675ef3
vim-patch:8.0.1495: having 'pumwidth' default to zero has no merit
...
Problem: Having 'pumwidth' default to zero has no merit.
Solution: Make the default 15, as the actual default value.
42443c7d7f
Includes 'pumwidth' documentation changes from 8.0.1531.
Sort 'pum*' option in alphabetical order.
2019-12-29 18:31:04 -05:00
Jan Edmund Lazo
703ed11c97
vim-patch:8.0.1491: the minimum width of the popup menu is hard coded
...
Problem: The minimum width of the popup menu is hard coded.
Solution: Add the 'pumwidth' option. (Christian Brabandt, James McCoy,
closes vim/vim#2314 )
a8f04aa275
2019-12-29 18:15:46 -05:00
Ashkan Kiani
34a59242a0
Revert "runtime: Add vim.lsp.get_client_by_name" #11623
...
reverts 680693e263
#11603
2019-12-29 09:05:32 +01:00
artem-nefedov
ddffd31737
netrw.vim: do not save +/* registers p.2 #11625
...
remove last place where system clipboard was used by netrw
(extends 6c22c7ab97
)
fix #11592
2019-12-29 08:57:28 +01:00
Hirokazu Hata
680693e263
runtime: Add vim.lsp.get_client_by_name ( #11603 )
...
Since the client name is more obvious than the client id for the user, add an
API to get the lsp client by the client name.
2019-12-28 09:28:00 -08:00
Rafik Draoui
4f4c06a7a4
doc: update 'cpoptions' default value #11619
...
Since version 0.2, the `_` compatibility option is turned on by default.
ref 1743df82f9
ref b0196586de/src/nvim/option_defs.h (L135)
2019-12-28 08:07:27 +01:00
Ashkan Kiani
52566dd780
LSP: Fix flaky test #11618
2019-12-27 12:20:17 +01:00
Justin M. Keyes
b0196586de
Merge #11568 'fillchars: foldopen, foldsep, foldclose'
2019-12-26 07:06:43 +01:00
Justin M. Keyes
927a4f24e0
Merge #11612 from janlazo/clang-pvs
2019-12-26 07:02:44 +01:00
Jan Edmund Lazo
234c4a846b
os/env: fix pvs/v781
2019-12-26 00:29:15 -05:00
Jan Edmund Lazo
d6ba578ccb
misc1: fix pvs/v781
2019-12-26 00:29:15 -05:00
Jan Edmund Lazo
251177b63b
ex_getln: fix pvs/v781
2019-12-26 00:29:15 -05:00
Jan Edmund Lazo
23dbe73585
ex_docmd: fix pvs/v781
2019-12-26 00:29:15 -05:00
Jan Edmund Lazo
f6b4547598
ex_cmds: fix pvs/v781
2019-12-26 00:29:15 -05:00
Jan Edmund Lazo
fd429345c9
search: fix pvs/v1048
2019-12-26 00:29:14 -05:00
Jan Edmund Lazo
6a0242beea
quickfix: qf_parse_fmt_plus never fails
2019-12-26 00:29:14 -05:00
Jan Edmund Lazo
0be59d2b5e
hardcopy: fix pvs/v1048
2019-12-26 00:29:14 -05:00
Jan Edmund Lazo
362c3a3ccf
api/vim: fix pvs/v1048
2019-12-26 00:29:14 -05:00
Jan Edmund Lazo
35c3985da6
clang/'Dead store': remove dead code
2019-12-26 00:29:13 -05:00
Jan Edmund Lazo
c740e3b4b5
clang/'Logic error': set ret_tv if non-null
2019-12-25 17:16:39 -05:00
Matthieu Coudron
bbad324b17
fillchars: adding foldopen, foldsep, foldclose
...
You can try it with
set fillchars+=foldopen:▾,foldsep:│,foldclose:▸
2019-12-25 14:28:36 +01:00
Daniel Hahler
5f1aec5abd
Fix scripts/vim-patch.sh for Bash 4.3
...
Ref: https://github.com/neovim/neovim/pull/11514#issuecomment-568780231
2019-12-25 13:03:16 +01:00
Ashkan Kiani
07a2260e1d
LSP: Handle rpc RequestCancelled specifically. ( #11606 )
...
This was creating extra noise in errors that we should've been handling
internally.
Fixes #11515
2019-12-24 14:28:09 -08:00
Daniel Hahler
34abe8fd23
vim-patch.sh: list related missing Vim patches [ci skip] #11514
...
* scripts/vim-patch.sh: factor out _set_tokens_and_tags
This allows for caching `$tokens` and `$vim_commit_tags`, which will
become relevant with the next commit adding
`list_missing_previous_vimpatches_for_patch`.
2019-12-24 08:15:18 +01:00
Daniel Hahler
b3686b1597
system(), jobstart(): raise error on non-executable #11234
...
* tv_to_argv: error when cmd is not executable
Callers always assume that emsg was emitted:
- https://github.com/neovim/neovim/blob/57fbf288/src/nvim/eval.c#L12509
- https://github.com/neovim/neovim/blob/57fbf288/src/nvim/eval.c#L17923
- https://github.com/neovim/neovim/blob/57fbf288/src/nvim/eval.c#L18202
* test/functional/provider: display reason from missing_provider
* provider#node#Detect: skip / handle non-existing node executable
2019-12-24 07:53:56 +01:00
Carlos Hernandez
53fe877a97
snap: set "classic" confinement #11601
2019-12-24 06:43:25 +01:00
Marvim the Paranoid Android
31cfd67453
version.c: update [ci skip] #11600
...
vim-patch:8.2.0001: #endif comments do reflect corresponding #ifdef
vim-patch:8.2.0003: Build file dependencies are incomplete
vim-patch:8.2.0009: VMS: terminal version doesn't build
vim-patch:8.2.0022: click in popup window doesn't close it in the GUI
vim-patch:8.2.0029: MS-Windows: crash with empty job command
vim-patch:8.2.0031: MS-Windows: test for empty job fails
vim-patch:8.2.0032: MS-Windows: test for blank job fails
vim-patch:8.2.0034: missing check for out of memory
2019-12-24 06:41:13 +01:00
Jan Edmund Lazo
7dacab9afd
vim-patch:8.2.0033: make_extmatch() OOM #11602
...
Problem: Crash when make_extmatch() runs out of memory.
Solution: Check for NULL. (Dominique Pelle, closs vim/vim#5392 )
7c77b34967
2019-12-24 06:40:39 +01:00
Justin M. Keyes
2ef72437fc
Merge #11594 from janlazo/vim-8.0.1767
...
vim-patch:8.0.1767,8.2.0030
2019-12-23 07:16:21 +01:00
Daniel Hahler
2e280dac7d
gen_vimdoc.py: lint #11593
2019-12-23 07:08:49 +01:00
Carlos Hernandez
d6593d850a
snap: set "strict" confinement #11596
2019-12-23 07:04:14 +01:00
Jan Edmund Lazo
a16de288c3
spellfile: fix pvs/v1048
2019-12-22 22:26:05 -05:00
Jan Edmund Lazo
dd2e2f8aaa
getchar: fix pvs/v1048
2019-12-22 21:17:30 -05:00
Jan Edmund Lazo
0c70aa6509
charset: fix pvs/v1048
2019-12-22 21:14:04 -05:00
Jan Edmund Lazo
8758e96bf0
tag: fix pvs/v1048
2019-12-22 21:11:18 -05:00
Jan Edmund Lazo
33f6c25af8
eval: fix pvs/V1048
2019-12-22 21:02:49 -05:00
Jan Edmund Lazo
80ebfc304e
vim-patch:8.2.0030: "gF" does not work on output of "verbose command"
...
Problem: "gF" does not work on output of "verbose command".
Solution: Recognize " line " and translations. (closes vim/vim#5391 )
64e74c9cc7
2019-12-22 19:43:18 -05:00