Jan Edmund Lazo
abb13dde98
vim-patch:130cbfc31235
...
Update runtime files
130cbfc312
2021-05-02 12:03:34 -04:00
Jan Edmund Lazo
6a8436065c
vim-patch:9faec4e3d439
...
Update runtime files.
9faec4e3d4
Omit vim9.
2021-05-02 10:23:35 -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
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
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
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
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
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
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
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
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
Ikko Ashimine
136edab705
screen: fix typo in screen.c
...
accomodate -> accommodate
2021-04-29 01:45:19 +09: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
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
ae362c2120
vim-patch:5666fcd0bd79
...
Update runtime files.
5666fcd0bd
Do not manually port E290 error message.
Neovim has E5030,E5031 error messages to replace E290.
2021-04-27 09:21:33 -04:00
Jan Edmund Lazo
841bc219d2
vim-patch:95a9dd1efc5a
...
Update runtime files.
95a9dd1efc
2021-04-27 09:21:32 -04:00
Jan Edmund Lazo
8aa817bbb3
po: remove duplicate translations
...
Neovim runs "src/nvim/po/check.vim" to validate all translations.
Build fails if any translation file has a duplicate.
Remove these duplicates via "msguniq --unique".
https://manpage.me/?q=msguniq
2021-04-27 09:21:32 -04:00
Jan Edmund Lazo
527d108223
vim-patch:664f3cf3f21d
...
Runtime file updates.
664f3cf3f2
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
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
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
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
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
Michael Bleuez
684b4ae736
doc : fixing missing @return in nvim_open_term doc
2021-04-24 12:47:52 +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
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