Justin M. Keyes
8b84119650
LSP: eliminate lsp.stop_all_clients()
...
Reduce API surface. We don't need so many variations of functions. Too
many functions means verbose, largely redundant documentation, tests,
and cognitive burden.
2019-12-31 15:39:17 -08:00
Justin M. Keyes
0dcf4bd3eb
gen_vimdoc.py: rename mode
to target
2019-12-31 15:39:17 -08:00
Justin M. Keyes
b112fe828f
gen_vimdoc.py: generate LSP docs
2019-12-31 08:06:48 -08:00
Justin M. Keyes
d839c35871
doc: LSP
2019-12-31 02:55:12 -08:00
Justin M. Keyes
93e7c7e3bd
doc [ci skip]
2019-12-31 02:25:10 -08:00
Justin M. Keyes
e922576bdd
Merge #11637 from janlazo/vim-8.1.1739
...
vim-patch:8.1.{1739,1741},8.2.0063
2019-12-31 04:03:11 +01:00
Jan Edmund Lazo
4bd51d8988
CI: set nodejs version to 10 on main scripts
...
nvm can run within a bash shell only.
2019-12-30 18:48:32 -05:00
Jan Edmund Lazo
eeabd3a8c6
vim-patch:8.2.0063: wrong size argument to vim_snprintf()
...
Problem: Wrong size argument to vim_snprintf(). (Dominique Pelle)
Solution: Reduce the size by the length. (related to vim/vim#5410 )
08b28b7ad5
2019-12-30 17:02:15 -05:00
Jan Edmund Lazo
0e7baed219
vim-patch:8.1.1741: cleared/added match highlighting not updated in other window
...
Problem: Cleared/added match highlighting not updated in other window.
(Andi Massimino)
Solution: Mark the right window for refresh.
4ef18dcc2e
2019-12-30 16:30:58 -05:00
Jan Edmund Lazo
6e6544d645
vim-patch:8.1.1739: deleted match highlighting not updated in other window
...
Problem: Deleted match highlighting not updated in other window.
Solution: Mark the window for refresh. (closes vim/vim#4720 ) Also fix that
ambi-width check clears with wrong attributes.
06029a857a
2019-12-30 16:26:43 -05:00
Justin M. Keyes
22a92a59a6
Merge #11605 'gen_vimdoc.py: fix formatting; sort by name'
2019-12-30 12:36:41 +01:00
Justin M. Keyes
c24f8f46b4
gen_vimdoc.py: sort by name
2019-12-30 03:31:32 -08:00
Justin M. Keyes
b81547ce6d
gen_vimdoc.py: better handling of inline (non-block) nodes
2019-12-30 03:12:24 -08:00
Justin M. Keyes
27b678f577
gen_vimdoc.py: fix deprecated check
2019-12-30 00:15:49 -08:00
Justin M. Keyes
f9be48436c
Merge #11632 from janlazo/vim-8.1.2087
...
vim-patch:8.1.2087,8.2.0058
2019-12-30 08:47:19 +01:00
Justin M. Keyes
00af06b372
Merge #11616 from janlazo/vim-8.0.1491
...
vim-patch:8.0.{1356,1491,1495,1522,1538,1540},8.1.{554,670,1300,1303,1875,2377}
2019-12-30 08:27:56 +01:00
Jan Edmund Lazo
5e1cad6d33
vim-patch:8.0.1356: using simalt in a GUIEnter autocommand inserts characters
...
Problem: Using simalt in a GUIEnter autocommand inserts strange characters.
(Chih-Long Chang)
Solution: Ignore K_NOP in Insert mode. (closes vim/vim#2379 )
c5aa55db7e
2019-12-30 01:15:18 -05:00
Jan Edmund Lazo
78aa41354e
vim-patch:8.1.2377: GUI: when losing focus a pending operator is executed
...
Problem: GUI: when losing focus a pending operator is executed.
Solution: Do not execute an operator when getting K_IGNORE. (closes vim/vim#5300 )
fa5612c7d8
2019-12-30 00:49:30 -05:00
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