kevinhwang91
2dc0f81271
fixup! vim-patch:8.2.0959: using 'quickfixtextfunc' is a bit slow
2021-05-20 11:34:10 +08:00
James McCoy
5d9c560127
Merge pull request #14538 from jamessan/vim-patch.sh-fixup
...
fix(vim-patch.sh -m): Show all commits touching a file, not just the first
2021-05-19 22:51:00 -04:00
James McCoy
cf714bf418
vim-patch.sh -m: Ignore changes to version.c
...
[skip ci]
2021-05-19 22:50:05 -04:00
James McCoy
86d35bef13
fix(vim-patch.sh -m): Show all commits touching a file, not just the first
...
[skip ci]
2021-05-19 22:50:05 -04:00
James McCoy
216bfa1d6b
Merge pull request #14579 from jamessan/windows-env-vars
...
Deduplicate env var names on Windows
2021-05-19 22:46:42 -04:00
Jan Edmund Lazo
30befcdce4
Merge pull request #14592 from janlazo/vim-8.2.2869
...
vim-patch:8.2.{2869,2871}
2021-05-19 21:36:31 -04:00
Jan Edmund Lazo
49ab1b91e7
Remove '- 1' for sizes passed to xstrlcpy
...
xstrlcpy() NUL-terminates the destination string
such that reducing the destination string length by 1
to reserve the last byte for NUL is pointless.
https://github.com/neovim/neovim/pull/14490#discussion_r635661185
2021-05-19 21:09:53 -04:00
Jan Edmund Lazo
003cda2312
vim-patch:8.2.2871: unnessary VIM_ISDIGIT() calls, badly indented code
...
Problem: Unnessary VIM_ISDIGIT() calls, badly indented code.
Solution: Call skipdigits() on the next character. Improve indenting.
(Dominique Pellé, closes vim/vim#8227 )
4781d6fd86
2021-05-19 20:58:09 -04:00
Jan Edmund Lazo
5fd605e1d1
vim-patch:8.2.2869: using unified diff is not tested
...
Problem: Using unified diff is not tested.
Solution: Test all cases also with unified diff. (issue vim/vim#8197 )
485b627100
2021-05-19 20:44:06 -04:00
Michael Lingelbach
045e47ec55
Merge pull request #14563 from mjlbach/fix_intelephense_langserver
...
lsp: handle case where CompletionItem.insertTextFormat is nil
2021-05-19 12:39:44 -07:00
Björn Linse
abf2ffd1e1
Merge pull request #12076 from bfredl/luavar
...
use new conversion rules for vim.g, vim.v
2021-05-19 19:54:09 +02:00
Björn Linse
7fbf3bf18b
lua: use proper conversion of vim.g values
2021-05-19 19:29:19 +02:00
Marco Hinz
6deae3d14b
fix(health/python3): remove obsolete check ( #14590 )
...
Python 3.3 reached its end-of-life 2017-09-29:
https://www.python.org/dev/peps/pep-0398
Closes https://github.com/neovim/neovim/issues/14586
2021-05-19 19:26:15 +02:00
Marco Hinz
f6a86a3d7d
Merge pull request #14589 from mhinz/revert-smarter-tagstack
...
Unfortunately, there are some subtle bugs in the smarter tagstack changes,
so we'll revert them for now and try to come up with a better approach.
One of the added tests, adds current position to jumplist before jumping,
is valuable though and changed to still work after reverting the other two
commits.
Closes #14571
2021-05-19 18:58:21 +02:00
Michael Lingelbach
edd48f57aa
Merge pull request #14583 from cbarrete/unsupported-call-hierarchies
...
lsp: handle unsupported call hierarchy call
2021-05-19 09:39:44 -07:00
kevinhwang91
19d4926f5a
vim-patch:8.2.0959: using 'quickfixtextfunc' is a bit slow
...
Problem: Using 'quickfixtextfunc' is a bit slow.
Solution: Process a list of entries. (Yegappan Lakshmanan, closes vim/vim#6234 )
00e260bb6c
2021-05-20 00:24:22 +08:00
kevinhwang91
00246d7be5
vim-patch:8.2.0933: 'quickfixtextfunc' does not get window ID of location list
...
Problem: 'quickfixtextfunc' does not get window ID of location list.
Solution: Add "winid" to the dict argument. (Yegappan Lakshmanan,
closes vim/vim#6222 )
7ba5a7eff3
2021-05-20 00:19:25 +08:00
kevinhwang91
ebe1a08366
vim-patch:8.2.0869: it is not possible to customize the quickfix window contents
...
Problem: It is not possible to customize the quickfix window contents.
Solution: Add 'quickfixtextfunc'. (Yegappan Lakshmanan, closes vim/vim#5465 )
858ba06d5f
2021-05-20 00:16:07 +08:00
Cédric Barreteau
ca336c681d
lsp: handle unsupported call hierarchy call
2021-05-19 11:55:03 -04:00
Marco Hinz
9051064672
test(lsp_spec): improve correctness
...
References https://github.com/neovim/neovim/issues/14571
2021-05-19 16:35:02 +02:00
Marco Hinz
34922fba6b
Revert "lsp: make tagstack smarter motion-wise ( #12262 )"
...
This reverts commit 8885ea7f24
.
2021-05-19 15:33:32 +02:00
Marco Hinz
3e5c484ec5
Revert "lsp: fix regression in jump_to_location() ( #14446 )"
...
This reverts commit 993ca90c9b
.
2021-05-19 15:31:41 +02:00
Thomas Vigouroux
52ca7f1a26
Merge pull request #14585 from littlepoco/master
...
Update README.md
2021-05-19 07:34:49 +02:00
Aaron Wu
e2af1a7da3
Update README.md
2021-05-19 11:46:37 +08:00
Björn Linse
d16e9d8ed4
Merge pull request #14582 from bfredl/gender
...
docs: fix some remanining cases of gender pronoun for "the user"
2021-05-18 23:45:46 +02:00
Björn Linse
ef9d3e6791
docs: fix some remanining cases of gender pronoun for "the user"
...
Adapted from original PR by:
Co-Author: Mathias Jean Johansen <mathias@mjj.io>
2021-05-18 22:47:17 +02:00
Thomas Vigouroux
237175cf20
fix(bufupdate): send events when inserting with virtualedit
...
Problem first raised
https://github.com/nvim-treesitter/nvim-treesitter/issues/1304
2021-05-18 19:31:56 +02:00
James McCoy
c46d981461
Merge pull request #14580 from jamessan/title-stack
...
fix(tui): Stop sending extra parameter for save/restore title
2021-05-18 11:57:12 -04:00
James McCoy
88ee095d42
fix(job): Deduplicate env var names on Windows
...
Windows handles environment variable names case-insensitively (i.e.,
%Path% can be accessed via %PATH%). Since nvim explicitly creates the
environment block for jobs, we need to ensure it doesn't contain
duplicate names with different cases (e.g., both %Path% and %PATH%) as
that can confuse processes using the environment.
`f_environ()` now converts all env var names to upper-case on Windows,
since it does duplicate detection and also provides the base environment
for jobs. Similarly, `create_environment()` converts any env var names
supplied in the job opts to upper-case so they can be compared against
what we get from `f_environ()`.
Closes #14541
2021-05-18 08:53:08 -04:00
James McCoy
0368591bb4
fix(tui): Stop sending extra parameter for save/restore title
...
Closes #14573
2021-05-18 07:18:50 -04:00
James McCoy
d250905c69
test(job_spec): Test handling of case-insensitively matching env vars
...
Since Windows is case-insensitive, there should only be a single env var
in visible in the resulting job. However, non-Windows should see both.
2021-05-18 06:53:03 -04:00
Matthieu Coudron
c40de6e5f5
feat(ci): autolabel pull requests ( #14574 )
...
autolabel pull requests depending on which files are modified
2021-05-18 09:37:18 +02:00
Jan Edmund Lazo
dc18c1e3ee
win/package: update wintools.zip for curl v7.76.1 ( #14570 )
...
https://github.com/neovim/neovim/issues/14078
2021-05-17 14:57:46 +02:00
Michael Lingelbach
63df353545
lsp: handle case where CompletionItem.insertTextFormat is nil
...
* Update tests to use explicit insertTextFormat for snippets
2021-05-16 15:25:34 -07:00
Yegappan Lakshmanan
e0a01bdf7f
Update vim diff and credits ( #14566 )
...
Patch 8.2.2524 added the support for the fields 'foldopen', 'foldclose'
and 'foldsep' to the 'fillchars' option in Vim:
http://ftp.vim.org/pub/vim/patches/8.2/8.2.2524
Update the credits in intro.txt based on Vim credits.
2021-05-16 13:55:53 -04:00
Jan Edmund Lazo
dab6b08a1e
Merge pull request #14406 from shadmansaleh/vim-8.2.0877
...
vim-patch:8.2.{0877, 0880, 0884, 0887, 0896} - port searchcount()
2021-05-15 20:57:50 -04:00
Jan Edmund Lazo
6ab83f3572
Add 'FUNC_ATTR_NONNULL_RET' to nonnull alloc funcs ( #14559 )
2021-05-15 20:36:13 -04:00
Shadman
d67dcaba02
vim-patch:8.2.2854: custom statusline cannot contain % items ( #14558 )
...
Problem: Custom statusline cannot contain % items.
Solution: Add "%{% expr %}". (closes vim/vim#8190 )
30e3de21fc
2021-05-15 13:10:41 -04:00
Björn Linse
0cd1430316
Merge pull request #14468 from bfredl/zindex
...
[WIP] z-index!
2021-05-15 14:44:22 +02:00
Björn Linse
edb5864a29
floats: z-index
2021-05-15 13:56:27 +02:00
Jan Edmund Lazo
c57a85d534
Merge pull request #14532 from janlazo/vim-8.1.1433
...
vim-patch:8.0.1394,8.1.1967,8.2.{23,1000,1059,2354,2419,2433,2473,2850}
2021-05-14 18:50:44 -04:00
Michael Lingelbach
ba04b3d838
Merge pull request #14555 from mickael-menu/fix/range-code-action
...
lsp: Fix range end offset off by one character
2021-05-14 12:30:47 -07:00
Mickaël Menu
c23640140d
lsp: Fix range end offset off by one character
2021-05-14 18:33:23 +02:00
Raymond W. Ko
7c95697026
treesitter: add predicate "any-of?" ( #14344 )
...
For the case of Clojure and other Lisp syntax highlighting, it is
necessary to create huge regexps consisting of hundreds of symbols with
the pipe (|) character. To make things more difficult, these Lisp
symbols sometimes consists of special characters that are themselves
part of special regexp characters like '*'. In addition to being
difficult to maintain, it's performance is suboptimal.
This patch introduces a new predicate to perform 'source' matching in
amortized constant time. This is accomplished by compiling a hash table
on the first use.
2021-05-14 17:41:20 +02:00
Jan Edmund Lazo
520b925627
vim-patch:8.2.2850: recalling commands from history is not tested
...
Problem: Recalling commands from history is not tested.
Solution: Add tests. (closes vim/vim#8194 )
71c6f7a665
2021-05-13 23:57:24 -04:00
Jan Edmund Lazo
5110ef9171
fixup! vim-patch:8.1.1228: not possible to process tags with a function
2021-05-13 21:00:28 -04:00
Jan Edmund Lazo
30987b9190
fixup! vim-patch:8.0.1449: slow redrawing with DirectX
2021-05-13 21:00:28 -04:00
Jan Edmund Lazo
cc798c626a
vim-patch:8.0.1394: cannot intercept a yank command
...
Problem: Cannot intercept a yank command.
Solution: Add the TextYankPost autocommand event. (Philippe Vaucher et al.,
closes vim/vim#2333 )
7e1652c63c
2021-05-13 20:47:27 -04:00
Jan Edmund Lazo
c9195a1273
vim-patch:8.2.2473: crash when leaving command line window triggers autocommand
...
Problem: Crash when leaving command line window triggers autocommand.
(houyunsong)
Solution: Make sure not to close the current window or buffer.
8c6951fa28
N/A patches for version.c:
vim-patch:8.2.2414: using freed memory when closing the cmdline window
Problem: Using freed memory when closing the cmdline window.
Solution: Check the window is still valid.
b7e2670b6a
2021-05-13 20:47:26 -04:00
Jan Edmund Lazo
e9804aead6
lint
2021-05-13 20:47:26 -04:00