Commit Graph

17912 Commits

Author SHA1 Message Date
Jan Edmund Lazo
4ad30f775e
Merge pull request #14424 from janlazo/vim-8.1.1726
vim-patch:8.1.1726,8.2.{296,860,1827,2388,2788,2790,2801}
2021-05-04 19:18:16 -04:00
James McCoy
63d8a8f4e8
Merge pull request #14480 from mhinz/issue-template
template: make sure people read `:h vim-differences`
2021-05-04 09:38:08 -04:00
James McCoy
c2624b87cb
Merge pull request #14486 from Sh3Rm4n/fix_get_str_line
get_str_line: Replace grow_array usage
2021-05-04 09:37:25 -04:00
Jan Edmund Lazo
d5b063aec1
Revert vim-patch:942db23c9cb7 for phpcomplete.vim
It targets Vim 8.2 without feature and version checks.
2021-05-04 07:28:24 -04:00
Fabian Viöl
c9567704b7 get_str_line: Replace grow_array usage
A single xmemdupz is sufficient, as it is already
zero-terminating the string
2021-05-03 22:53:13 +02:00
Thomas Vigouroux
3fc71ea228
Merge pull request #14418 from DerekStride/treesitter-set-directive
[RDY] tree-sitter ensure there is a nested table allocated for `#set!`
2021-05-03 21:41:39 +02:00
Michael Lingelbach
ad81144442
Merge pull request #14334 from DarwinSenior/vim.log
lsp: deep copy vim.lsp.log when reloading
2021-05-02 23:40:34 -07:00
James McCoy
a0da4c3a49
Merge pull request #14455 from Sh3Rm4n/fix_get_str_line
[RDY] Fix get str line
2021-05-02 16:47:36 -04:00
Michael Lingelbach
cfaf666ac9
Merge pull request #14462 from kabouzeid/feature/formatting_seq_sync
[LSP] Support for sequential formatting with multiple clients
2021-05-02 12:52:27 -07:00
Jan Edmund Lazo
ad6bb386be
vim-patch:4c295027a426
Update runtime files
4c295027a4
2021-05-02 13:00:38 -04:00
Jan Edmund Lazo
d19ede86ea
vim-patch:8.2.2790: filetype test fails
Problem:    filetype test fails
Solution:   Also update the scripts detection
63276685f9
2021-05-02 12:54:06 -04:00
Jan Edmund Lazo
0020858e1c
vim-patch:8.2.2788: Raku is now the only name what once was called perl6
Problem:    Raku is now the only name what once was called perl6.
Solution:   Adjust the filetype detection. (closes vim/vim#8120)
3f88e71fa2
2021-05-02 12:54:02 -04:00
Jan Edmund Lazo
3bc852cabf
vim-patch:11e3c5ba8203
Update runtime files
11e3c5ba82
2021-05-02 12:53:49 -04:00
Jan Edmund Lazo
7e36c9a2d3
vim-patch:56994d215815
Update runtime files.
56994d2158
2021-05-02 12:44:04 -04:00
Jan Edmund Lazo
abb13dde98
vim-patch:130cbfc31235
Update runtime files
130cbfc312
2021-05-02 12:03:34 -04:00
Jan Edmund Lazo
b8f3ef10c9
vim-patch:dad4473f02e1
Update runtime files.
dad4473f02

Omit :echoconsole. Patch v8.2.2638 is not ported.
2021-05-02 11:51:38 -04:00
Karim Abou Zeid
bcf03affbd Increase default LSP sync timeout to 1000ms 2021-05-02 17:08:57 +02:00
Jan Edmund Lazo
eea3a692c6
vim-patch:c8cdf0f80b3c
Update runtime files.
c8cdf0f80b
2021-05-02 10:33:32 -04:00
Karim Abou Zeid
d923f38882 Add client.request_sync doc 2021-05-02 16:24:58 +02:00
Jan Edmund Lazo
6a8436065c
vim-patch:9faec4e3d439
Update runtime files.
9faec4e3d4

Omit vim9.
2021-05-02 10:23:35 -04:00
Karim Abou Zeid
f0f3fddcdd Synchronous formatting methods notify the user on timeout and interrupted 2021-05-02 16:16:49 +02:00
Karim Abou Zeid
dc9c6ea219 Support multiple range formatting clients 2021-05-02 15:37:31 +02:00
Karim Abou Zeid
54368736d0 doc clarification 2021-05-02 15:23:13 +02:00
Marco Hinz
04a33c1d9a
template: make sure people read :h vim-differences 2021-05-02 13:52:01 +02:00
Jan Edmund Lazo
2081504a33
vim-patch:942db23c9cb7
Update runtime files
942db23c9c

Omit po files.
2021-05-01 23:47:11 -04:00
Jan Edmund Lazo
ac83c6eba6
vim-patch:e0e391755432
Update runtime files.
e0e3917554
2021-05-01 23:19:58 -04:00
Jan Edmund Lazo
8f8602d2df
vim-patch:98a29d00a48e
Update runtime files.
98a29d00a4
2021-05-01 23:19:57 -04:00
Jan Edmund Lazo
dd2bc06411
vim-patch:82be4849eed0
Update runtime files.
82be4849ee
2021-05-01 23:19:57 -04:00
Jan Edmund Lazo
c1dd4e83b4
vim-patch:7e6a515ed14e
Update runtime files.
7e6a515ed1

Omit vim9.
2021-05-01 22:29:03 -04:00
Jan Edmund Lazo
b1cd67b62e
vim-patch:4072ba571bab
Update runtime files.
4072ba571b

Omit vim9 references.
Omit assert_fails(). Patch v8.2.1183 is not ported yet.
2021-05-01 22:29:03 -04:00
Jan Edmund Lazo
710f0eae2f
vim-patch:1b884a005398
Update runtime files.
1b884a0053

Omit doc/autocmd.txt.
Omit tools/emoji_list.vim. Patch v8.2.1540 is not ported.
2021-05-01 22:29:03 -04:00
Jan Edmund Lazo
83b6a18598
vim-patch:23515b4ef758
Update runtime files
23515b4ef7

Omit filetype.txt changes for :Man.
2021-05-01 22:29:03 -04:00
Jan Edmund Lazo
0c93005383
vim-patch:4466ad6baa22
Update runtime files
4466ad6baa

Omit vim9 references in autocmd.txt.
Omit matchfuzzypos().
2021-05-01 22:29:02 -04:00
Jan Edmund Lazo
2ebd1f6286
vim-patch:3132cddd209e
Update runtime files
3132cddd20

Omit :sort,sort() changes.
2021-05-01 22:29:02 -04:00
Jan Edmund Lazo
330500a5bf
vim-patch:cb80aa2d53e5
Update runtime files.
cb80aa2d53

Omit runtime/doc/tabpage.txt.
Patch v8.2.1401 is not ported yet.

Port optwin.vim changes without gettext().
Patch v8.2.1544 is not ported yet.
2021-05-01 22:29:02 -04:00
statiolake
b227cedf82
signs: fix overflow during adjustment on Windows (#14472)
On Windows, `new_lnum + MAXLNUM` causes overflow and as a result the
line number of that sign becomes invalid negative number. This occurs
when the `set signcolumn=yes`, in other words `signcolumn` is not `auto`
and the sign column is less than 2 columns.

The related change was made in the commit
f2ed7605da. Originally the above addition
is only executed if `amount != MAXLNUM`, so reintroducing this check
fixes the bug and will hardly produces a new bug.

Fixes https://github.com/neovim/neovim/issues/14460
2021-05-02 00:35:52 +02:00
Karim Abou Zeid
48a59f8f4f Add formatting_seq_sync, change formatting and formatting_sync 2021-05-01 21:12:40 +02:00
Jan Edmund Lazo
b16c7c515c
vim-patch:4f4d51a942cc
Update runtime files.
4f4d51a942

Omit "??" operator.
Patches v8.2.1794,v8.2.1798 are not ported yet.
2021-05-01 14:22:52 -04:00
francisco souza
993ca90c9b
lsp: fix regression in jump_to_location() (#14446)
This fixes a regression that was introduced in [1] by accidentally leaving out a line.

1: https://github.com/neovim/neovim/pull/12262
2021-05-01 19:28:21 +02:00
Julian Berman
ef81999f4e
fix: make nvim_win_get_number() return win number (#14470)
Closes https://github.com/neovim/neovim/issues/14467
2021-05-01 16:57:05 +02:00
TJ DeVries
27da5511a0
docs: Treesitter (#13260)
* doc & fixes: Generate treesitter docs

* fixup to treesitter-core

* docs(treesitter): fix docs for most functions

Co-authored-by: Thomas Vigouroux <tomvig38@gmail.com>
2021-05-01 08:19:48 -04:00
Shadman
ca6107cfbc
doc: update vim.cmd() (#14450) 2021-05-01 13:09:05 +02:00
Björn Linse
9d4250d43d
Merge pull request #14380 from bfredl/virtcol
decorations: right_align and win_col
2021-05-01 12:39:15 +02:00
Björn Linse
0865f1238f decorations: right_align and win_col 2021-05-01 11:48:04 +02:00
Jan Edmund Lazo
b084f49496
vim-patch:8.2.1827: filetype detection does not test enough file names
Problem:    Filetype detection does not test enough file names.
Solution:   Test more file names. (Adam Stankiewicz, closes vim/vim#7099)
10a1a534d1
2021-05-01 02:27:32 -04:00
Jan Edmund Lazo
e1171cf1d2
vim-patch:d58a3bf7dac8
Update runtime files.
d58a3bf7da

Omit syntax/man.vim.
2021-05-01 02:01:25 -04:00
Jan Edmund Lazo
d1a2523f6c
vim-patch:1d59aa1fdfb1
Update runtime files.
1d59aa1fdf
2021-05-01 01:37:13 -04:00
Michael Lingelbach
0150cc4160
Merge pull request #14463 from mfussenegger/decoded-result-false
lsp: Allow decoded.result to be `false`
2021-04-30 11:37:47 -07:00
Mathias Fussenegger
69d4143e7b lsp: Allow decoded.result to be false
Some servers might respond to `workspace/executeCommand` requests with a
boolean result and that could be `false`.

A `false` result should be allowed and not trigger the `on_error`
handler:

    -- Invalid server message
    on_error(client_errors.INVALID_SERVER_MESSAGE, decoded)

Concrete example where this occurred is with eclipse.jdt.ls:

    vim.lsp.buf_request(
      0,
      'workspace/executeCommand',
      {
        command = 'java.project.isTestFile',
        arguments = { vim.uri_from_bufnr(0), },
      },
      function(err, _, resp)
        print(vim.inspect(err), vim.inspect(resp))
      end
    )
2021-04-30 20:17:56 +02:00
Björn Linse
388a834a07
Merge pull request #14361 from bfredl/synenable
[WIP] startup: do "syntax enable" instead of "syntax on" after init.vim
2021-04-30 18:07:32 +02:00