Commit Graph

17819 Commits

Author SHA1 Message Date
Jan Edmund Lazo
62adc04f08
vim-patch:469bdbde1e8e
Minor runtime file updates.
469bdbde1e
2021-04-27 09:21:32 -04:00
Jan Edmund Lazo
f19c896e9d
vim-patch:2ed639abdc40
Update a few runtime files.
2ed639abdc
2021-04-27 09:21:32 -04:00
Jan Edmund Lazo
d227c22f00
vim-patch:32b364fcc097
Runtime file updates.
32b364fcc0
2021-04-27 09:21:31 -04:00
Jan Edmund Lazo
527d108223
vim-patch:664f3cf3f21d
Runtime file updates.
664f3cf3f2
2021-04-27 09:21:31 -04:00
Jan Edmund Lazo
3e47e529b0
vim-patch:c08ee7476b19
Update runtime files.
c08ee7476b
2021-04-27 09:21:31 -04:00
Jan Edmund Lazo
5426785541
vim-patch:9834b96820be
Update version 8.2 notes and make syntax.
9834b96820
2021-04-27 09:21:31 -04:00
Jan Edmund Lazo
8e782f6124
vim-patch:4ceaa3a6e0b8
Update a few runtime files
4ceaa3a6e0

Omit de.po.
2021-04-27 09:21:31 -04:00
Jan Edmund Lazo
b918d99a61
vim-patch:91359014b359
Update runtime files.
91359014b3
2021-04-27 09:21:30 -04:00
Jan Edmund Lazo
348f72524d
vim-patch:0c0734d527a1
Update runtime files
0c0734d527

Omit rand(), srand() documentation.
Patch v8.1.2342 is not ported yet.
2021-04-27 09:21:30 -04:00
Jan Edmund Lazo
d1231d4f8e
vim-patch:403f3eb4c189
Update runtime files.
403f3eb4c1

Port sr.po changes, done by vim-patch.sh.
No way I'm manually porting the rest.
2021-04-27 09:21:30 -04:00
Jan Edmund Lazo
52564c9aa2
vim-patch:09c6f265b210
Update runtime files.
09c6f265b2

Omit getmousepos().
Patch v8.1.2304 is not ported yet.
2021-04-27 09:21:30 -04:00
Jan Edmund Lazo
d270313c79
vim-patch:1ebbb6ee452d
Fix vim.desktop generation.
1ebbb6ee45
2021-04-27 09:21:29 -04:00
Jan Edmund Lazo
cf0fb01ea5
vim-patch:574ee7bc1246
Update runtime files
574ee7bc12

Omit ru.po because I don't know the language and there's too much to port.
2021-04-27 09:21:29 -04:00
Jan Edmund Lazo
6cdb755507
vim-patch:5ef1c6a4838a
Update runtime files
5ef1c6a483

"scrollfocus" is for Windows GUI only so it is N/A.
2021-04-27 09:21:29 -04:00
Jan Edmund Lazo
d4b65fa6fb
vim-patch:1ff14ba24c4d
Update runtime files.
1ff14ba24c
2021-04-27 09:21:28 -04:00
Jan Edmund Lazo
233292b0ba
vim-patch:96f45c0b6fc9
Update runtime files
96f45c0b6f

Omit de.po changes.
Same reason as before: too much and I don't understand the language.
2021-04-27 09:21:28 -04:00
Jan Edmund Lazo
f0bf853f41
vim-patch:2e693a88b24d
Update runtime files.
2e693a88b2
2021-04-27 09:21:28 -04:00
Jan Edmund Lazo
ecb48e7f8a
fixup! man.vim: Refactor verify_exists to unset $MANSECT as needed
":unset" is not a valid Ex command.
Use setenv() to set/unset environment variables.
2021-04-27 09:21:28 -04:00
Jan Edmund Lazo
b1fed1ada9
vim-patch:5be4ceecea55
Update runtime files.
5be4ceecea
2021-04-27 09:21:27 -04:00
Jan Edmund Lazo
766a107839
vim-patch:589edb340454
Updte runtime files
589edb3404

Omit state() changes in eval.txt because patch v8.1.2047 is not merged.
2021-04-27 09:21:27 -04:00
Jan Edmund Lazo
d6cef4ef9d
vim-patch:8fe1000e9c34
Update runtime files
8fe1000e9c

Omit de.po changes.
There's too many lines to port and I don't understand the language.
2021-04-27 09:21:27 -04:00
Jan Edmund Lazo
01a629ca03
vim-patch:8.1.1726: the eval.txt help file is too big
Problem:    The eval.txt help file is too big.
Solution:   Split off testing support to testing.txt.  Move function details
            to where the functionality is explained.
ed997adaa1

Vim commit 5477506a9f01d40fad2e8f0555bc37adee30478f
contains the duplicate tag fix in runtime/doc/testing.txt.
2021-04-27 09:21:26 -04:00
James McCoy
fbe18d9ca4
Merge pull request #14448 from jamessan/nightly-ci-permissions
Update permissions for vim-patches workflow
2021-04-27 07:22:28 -04:00
James McCoy
0ab1f9ff3f
ci(gha/vim-patches): Create PR against branch running the workflow
Avoids hard-coding branch names.

[skip ci]
2021-04-26 23:45:40 -04:00
James McCoy
2601296c3f
ci(gha): Rename nightly workflow to vim-patches
[skip ci]
2021-04-26 23:45:40 -04:00
James McCoy
3047a909a2
ci(gha/nightly): Enable "contents: write" permissions to setup PR
[skip ci]
2021-04-26 23:45:36 -04:00
Björn Linse
ecf075eb29
Merge pull request #14416 from bfredl/floatorder
ui_compositior: handle overlapping displayed floats in the same tick
2021-04-26 22:11:35 +02:00
Björn Linse
eeb1099bc4 ui_compositior: handle multiple displayed floats in the same tick
problem: the order of non-focuesed float opened before focused float is wrong (sunjon)
solution: check curwin and correct the order (bfredl)
2021-04-26 12:59:51 +02:00
Thomas Vigouroux
bb7d3790bf
Merge pull request #14435 from michaelb/doc_missing_nvim_open_term
doc : fixing missing @return in nvim_open_term doc
2021-04-24 14:03:35 +02:00
Michael Bleuez
684b4ae736 doc : fixing missing @return in nvim_open_term doc 2021-04-24 12:47:52 +02:00
Michael Lingelbach
11728988dc
Merge pull request #14429 from ckipp01/force
[LSP] - Don't automatically force shutdown on second restart.
2021-04-23 14:52:13 -07:00
Gabriel Sanches
8885ea7f24
lsp: make tagstack smarter motion-wise (#12262)
This commit prevents two things regarding the tagstack and jumping to
locations:

  - Pushing the same item twice in a row

  - Pushing an item where the destination is the same as the source

Both prevent having to press CTRL-T additional times just to pop items
that don't make the cursor move.
2021-04-23 14:50:35 -07:00
Michael Lingelbach
d650c654a8
Merge pull request #14432 from mjlbach/revert_14428
Revert "lsp: fix blocking in closing of clients"
2021-04-23 12:49:40 -07:00
Michael Lingelbach
4eb29e079a Revert "lsp: fix blocking in closing of clients"
This reverts commit 2e6c09838f.

* Fixes #14428
* This commit caused neovim to close while open handles to the uv timer
  to kill active language servers were still open
2021-04-23 12:17:00 -07:00
Marco Hinz
be494023d8
lsp: check if config is nil 2021-04-23 20:56:44 +02:00
Marco Hinz
4de404a681
lsp: sort diagnostics by severity (#14372)
Allow to sort diagnostics (and thus signs and virtual text) by severity, so that
the most important message is shown first.

    vim.lsp.handlers['textDocument/publishDiagnostics'] = vim.lsp.with(
      vim.lsp.diagnostic.on_publish_diagnostics, {
        severity_sort = true,
      }
    )

Fixes https://github.com/neovim/neovim/issues/13929
2021-04-23 20:09:56 +02:00
ckipp01
2a77d9d8a4 Don't automatically force shutdown on second restart.
This is maybe a bit of a niche case, but I hit on this often as I'm
developing a server, and therefore continually restarting it to get the
latest changes of the server. Previously, I could only do this once
since if you send in a request to restart/shut down the server, it will
register it as a `tried_graceful_shutdown = true` meaning that the next
restart would force it to be killed instead of another graceful exit.

Instead, this changes the name a bit and now it will only mark
`graceful_shutdown_failed = true` _if_ it actually fails to gracefully
shutdown. This change allows for a user to restart multiple times in a
situation like mine where nothing is going wrong, but I just want to
restart continually as I'm developing without having to close and
reopen.
2021-04-23 14:26:33 +02:00
Jan Edmund Lazo
bb33727922
vim-patch:8.2.2776: :mksession uses current value of 'splitbelow' and 'splitright' (#14398)
Problem:    :mksession uses current value of 'splitbelow' and 'splitright'
            even though "options" is not in 'sessionoptions'. (Maxim Kim)
Solution:   Save and restore the values, instead of setting to the current
            value. (closes vim/vim#8119)
0995c81f2f

Patch v8.2.1682 is not ported.
Replace "goto fail;" with "return FAIL;".
2021-04-22 08:14:42 -04:00
Shadman
8402865cba
lua: make vim.cmd an alias of vim.api.nvim_exec() (#14401)
Previously vim.cmd was an alias of nvim_command().

From now on it is an alias of nvim_exec().
2021-04-22 13:02:02 +02:00
Jan Edmund Lazo
4570d04b16
Merge pull request #14411 from seandewar/vim-8.2.1588
vim-patch:8.2.1588 - port `prompt_getprompt()`
2021-04-21 21:23:04 -04:00
Marco Hinz
c37eaf5746
Merge pull request #14417 from jamessan/ci-update
GHA updates
2021-04-21 23:49:54 +02:00
Sean Dewar
ff198bb78a
fix(oldtest): fix assert_match() for :buffers t
Previous pattern could cause test to fail if ":buffers t" reported
"1 second ago".
2021-04-21 14:55:04 +01:00
Sean Dewar
65f35e0c7d
vim-patch:8.2.1588: cannot read back the prompt of a prompt buffer
Problem:    Cannot read back the prompt of a prompt buffer.
Solution:   Add prompt_getprompt(). (Ben Jackson, closes vim/vim#6851)
077cc7aa0e

Updated prompt_getprompt() doc to cb80aa2d53
and removed mention of method syntax usage (not supported by Nvim).
2021-04-21 14:55:04 +01:00
Sean Dewar
805eb81ccd
oldtest: port test_prompt_buffer.vim
Included from before v8.2.1588. Required for v8.2.1588.
Many tests use stuff like term_sendkeys() which is N/A, so are skipped.
2021-04-21 14:54:51 +01:00
Sean Dewar
60870d1531
eval: port tv_get_buf_from_arg()
Cherry-picked from v8.2.1562, but uses Nvim's tv_check_str_or_nr().
Required for v8.2.1588.

It isn't used for f_bufnr() to avoid a double error message if the first
argument isn't a number or string similiar to what's seen in Vim.
2021-04-21 11:29:47 +01:00
Shadman
01493e7990
api: fix nvim_exec() silencing behaviour (#14413)
Previously nvim_exec would silent output no matter whether output
is true or false.
Now output is only silent and captured when output is true.
2021-04-21 10:41:37 +02:00
Shadman
d7f9e58e40
gitignore: add vim patches (#14412) 2021-04-21 09:29:16 +02:00
James McCoy
62df537543
ci(gha/release): Enable "contents: write" permission to publish release 2021-04-21 00:32:38 -04:00
James McCoy
491708c989
ci(gha/win): Specify valid directory for DEPS_BUILD_DIR 2021-04-21 00:14:51 -04:00
James McCoy
9a01833d90
ci(gha): Simplify clang installation 2021-04-21 00:14:51 -04:00