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
Björn Linse
b0a1d1eb64
startup: do "syntax enable" instead of "syntax on"
...
"syntax on" overwrites existing highlight groups, while "syntax enable"
just sets missing groups. This change prevents user defined highlights in
init.vim/lua to get overwritten. The manual recommends "syntax enable" for
new configurations anyway, "on" command was probably used as it is the
implicit default.
2021-04-30 16:48:12 +02:00
Fabian Viöl
4d5516dc05
get_str_line: Simplify growarray usage
2021-04-30 14:42:02 +02:00
Jan Edmund Lazo
f5d1f0bf03
vim-patch:1c6737b20a5c
...
Update runtime files.
1c6737b20a
2021-04-29 23:35:37 -04:00
Jan Edmund Lazo
1e03e76daf
vim-patch:207f009326c8
...
Update runtime files.
207f009326
Omit nl.po.
2021-04-29 21:56:34 -04:00
Jan Edmund Lazo
9f54d125d2
vim-patch:3d1cde8a2f28
...
Update runtime files.
3d1cde8a2f
2021-04-29 21:08:09 -04:00
Jan Edmund Lazo
09f3e62bc6
vim-patch:e7b1ea0276cc
...
Update runtime files.
e7b1ea0276
2021-04-29 20:42:16 -04:00
James McCoy
59eae3b38f
Merge pull request #14459 from jamessan/pvs-script
...
fix(pvscheck): Switch URL to pvs-studio.com
2021-04-29 20:05:39 -04:00
James McCoy
794a287846
fix(pvscheck): Switch URL to pvs-studio.com
...
[skip ci]
2021-04-29 20:04:29 -04:00
Jan Edmund Lazo
0a0034718c
vim-patch:2547aa930b59
...
Update runtime files.
2547aa930b
Omit modifyOtherKeys, vim9, vim.man.
2021-04-29 09:27:19 -04:00
Fabian Viöl
ef8afa0eb7
Fix documentation typos for msg_scroll_flush
2021-04-29 12:48:56 +02:00
Fabian Viöl
766f4c3f62
get_str_line: Use heap instead of stack
...
The stack allocated buffer does introduce an arbitrary limit,
to the length of the line.
Previously, if the line was too long, it might be catched by a
stack smash canary or resulted into a crash.
This is not guaranteed though, and thus could result into undefined
behavior.
To mitigate this, an dynamic allocated buffer is replacing the stack
allocated buffer, with the initial capacity of the copied line.
2021-04-29 11:48:51 +02:00
Jan Edmund Lazo
27fb03f5a0
vim-patch:7ff78465f705
...
Update runtime files
7ff78465f7
2021-04-28 23:04:14 -04:00
Jan Edmund Lazo
bb172c5104
vim-patch:e46a44050562
...
Runtime file updates
e46a440505
Omit vim9.
2021-04-28 22:42:43 -04:00
Jan Edmund Lazo
7c6ca6fed8
vim-patch:73fef33014db
...
Update runtime files
73fef33014
Omit usr_46.txt.
2021-04-28 22:14:37 -04:00
Jan Edmund Lazo
df2acdc3be
vim-patch:65e0d77a66b7
...
Update runtime files
65e0d77a66
Omit usr_46.txt because of vim9.
2021-04-28 21:57:50 -04:00
Jan Edmund Lazo
565783be4b
vim-patch:acc224064033
...
Update runtime files
acc2240640
Omit 'quickfixtextfunc'.
Omit ftplugin/man.vim.
2021-04-28 21:29:57 -04:00
Jan Edmund Lazo
04a4bbbe56
vim-patch:8.2.0860: cannot use CTRL-A and CTRL-X on unsigned numbers
...
Problem: Cannot use CTRL-A and CTRL-X on unsigned numbers.
Solution: Add "unsigned" to 'nrformats'. (Naruhiko Nishino, closes vim/vim#6144 )
aaad995f83
2021-04-28 21:29:57 -04:00
Jan Edmund Lazo
65821cc1b9
vim-patch:388a5d4f20b4
...
Update runtime files
388a5d4f20
Omit vim9.
2021-04-28 21:29:57 -04:00
Jan Edmund Lazo
0185625c04
vim-patch:47e13953ffdb
...
Update runtime files
47e13953ff
Ignore *.rej files, generated by vim-patch.sh.
Source of mistakes for 1st-time contributors.
2021-04-28 21:29:57 -04:00
Jan Edmund Lazo
3d86857f28
vim-patch:2cfb4a2a7248
...
Update runtime files
2cfb4a2a72
2021-04-28 21:29:56 -04:00
Jan Edmund Lazo
038ce7a5af
vim-patch:7ceefb35c811
...
Update runtime files
7ceefb35c8
Omit {ftplugin,syntax}/man.vim changes.
Omit E565,E578. They depend on patches v8.2.0614, v2.2.0670.
2021-04-28 21:29:56 -04:00
Jan Edmund Lazo
c2635665c5
vim-patch:2c7f8c574f1f
...
Update runtime files
2c7f8c574f
Omit the following line for man.vim:
hi def link manFooter PreProc
2021-04-28 21:29:56 -04:00
Jan Edmund Lazo
9d3576246b
vim-patch:8.2.2801: free Pascal makefile not recognized
...
Problem: Free Pascal makefile not recognized.
Solution: Add the fpcmake filetype. (Doug Kearns)
f6d9935a13
2021-04-27 22:54:38 -04:00
Jan Edmund Lazo
e612a0a76a
vim-patch:d1caa941d876
...
Update runtime files
d1caa941d8
Cherry-pick error E452 from patch v8.2.0486.
2021-04-27 22:40:39 -04:00
Jan Edmund Lazo
d894b3da1e
vim-patch:191acfdecabf
...
Update runtime files
191acfdeca
Skip has() changes for the "check" optional argument.
Patch v8.2.0427 is not ported yet.
Skip Vim9 (ex. :def).
2021-04-27 21:47:42 -04:00
Jan Edmund Lazo
c287e734f1
vim-patch:ff78155aa175
...
Update runtime files
ff78155aa1
Omit menu_info().
2021-04-27 21:31:28 -04:00
Jan Edmund Lazo
e7f6c52014
vim-patch:b17893aa940d
...
Update runtime files
b17893aa94
Omit feedkeys() changes.
2021-04-27 21:25:35 -04:00
Jan Edmund Lazo
a299f54cd7
vim-patch:eab6dff19f38
...
Update runtime files
eab6dff19f
Omit de.po translations.
2021-04-27 20:25:21 -04:00
derekstride
44d4526e18
Ensure there is a nested table allocated for #set!
...
Fixes the following bug:
```
test/functional/helpers.lua:107: Error executing lua:
vim/treesitter/query.lua:256: attempt to index a nil value
```
2021-04-27 12:29:37 -02:30
Jan Edmund Lazo
95f02cb587
vim-patch:8.2.2388: no easy way to get the maximum or mininum number value
...
Problem: No easy way to get the maximum or mininum number value.
Solution: Add v:numbermax and v:numbermin.
57d5a01cb4
2021-04-27 09:21:36 -04:00
Jan Edmund Lazo
25c0675fe3
vim-patch:8.2.0296: mixing up "long long" and __int64 may cause problems
...
Problem: Mixing up "long long" and __int64 may cause problems. (John
Marriott)
Solution: Pass varnumber_T to vim_snprintf(). Add v:numbersize.
f9706e9df0
2021-04-27 09:21:35 -04:00
Jan Edmund Lazo
e257aff016
vim-patch:bc93cebb692f
...
Update runtime files.
bc93cebb69
2021-04-27 09:21:35 -04:00
Jan Edmund Lazo
278ca5f456
vim-patch:ebdf3c964a90
...
Update runtime files.
ebdf3c964a
Omit vim9.
2021-04-27 09:21:35 -04:00
Jan Edmund Lazo
4819737853
vim-patch:560979ed4f02
...
Update runtime files.
560979ed4f
Omit vim9.
2021-04-27 09:21:34 -04:00