zeertzjq
89712dcbf8
fix(aucmd_win): always make aucmd_win the last window
2022-03-23 09:07:21 +08:00
zeertzjq
7735163652
fix(screen): do not do syntax highlighting at filler or folded lines ( #17818 )
2022-03-23 07:07:34 +08:00
zeertzjq
159111f9a5
refactor(ui_refresh): only save/restore p_lz if calling screen_resize() ( #17794 )
2022-03-23 06:34:45 +08:00
Lewis Russell
7863e6b709
vim-patch:8.2.1078: highlight and match functionality together in one file ( #17805 )
...
Problem: Highlight and match functionality together in one file.
Solution: Move match functionality to a separate file. (Yegappan Lakshmanan,
closes vim/vim#6352 )
https://github.com/vim/vim/commit/06cf97e714fd8bf9b35ff5f8a6f2302c79acdd03
2022-03-23 06:31:50 +08:00
Lewis Russell
f63a52a0db
vim-patch:8.1.1608: the evalfunc.c file is too big ( #17807 )
...
Problem: The evalfunc.c file is too big.
Solution: Move sign functionality to sign.c.
https://github.com/vim/vim/commit/b60d8514b8813e2f3acefd454efcccbe04ac135a
2022-03-23 06:31:06 +08:00
James McCoy
04d2476d3a
Merge pull request #17813 from muniter/jl-ci-api-docs-permissions
...
fix(ci): provide necessary permissions for calling workflow
2022-03-22 06:52:09 -04:00
Javier López
b55e65980a
fix(ci): provide necessary permissions for calling workflow
...
Also error on the side of security adding an extra check on the
automatic PR step.
2022-03-21 22:40:24 -05:00
James McCoy
0c02e8a62b
Merge pull request #17768 from muniter/jl-genvimdoc-ci
2022-03-21 11:41:19 -04:00
James McCoy
50f3bb7e57
Merge pull request #17491 from neovim/marvim/api-doc-update/master
2022-03-21 11:40:56 -04:00
dundargoc
e9b53f3fb5
fix(PVS/V583): the '?:' operator always returns one and the same value ( #17790 )
2022-03-20 17:25:03 -06:00
zeertzjq
18900758c3
Merge pull request #17760 from lewis6991/vim-patch-8.1.1734
...
vim-patch:8.1.{1734,1742,1743}: highlight, match and screen.c refactoring
2022-03-21 07:21:04 +08:00
Lewis Russell
087a9603d0
vim-patch:8.1.1743: 'hlsearch' and match highlighting in the wrong place
...
Problem: 'hlsearch' and match highlighting in the wrong place.
Solution: Move highlighting from inside screen functions to highlight.c.
https://github.com/vim/vim/commit/bbca7732e8a3deb6e5dcf84739579a2667a75475
2022-03-20 22:01:56 +00:00
Lewis Russell
3c62a3f9dd
vim-patch:8.1.1742: still some match functions in evalfunc.c
...
Problem: Still some match functions in evalfunc.c.
Solution: Move them to highlight.c.
https://github.com/vim/vim/commit/7dfb016d25e3e3e1f4411026dda21d1536f21acc
2022-03-20 22:01:56 +00:00
Lewis Russell
6566a4bdbd
vim-patch:8.1.1734: the evalfunc.c file is too big
...
Problem: The evalfunc.c file is too big.
Solution: Move some functions to other files.
https://github.com/vim/vim/commit/29b7d7a9aac591f920edb89241c8cde27378e50b
2022-03-20 22:01:56 +00:00
marvim
809dd65396
docs: regenerate [skip ci]
2022-03-20 18:00:30 +00:00
bfredl
e7391191e2
Merge pull request #17776 from bfredl/tsconceal
...
feat(ui): allow conceal to be defined in decorations
2022-03-20 18:59:20 +01:00
Tim Pope
af427dedf6
fix(lsp): set tabSize from 'shiftwidth', not 'softtabstop' ( #17787 )
...
The use of 'softtabstop' to set tabSize was introduced in 5d5b068 ,
replacing 'tabstop'. If we look past the name tabSize and at the actual
purpose of the field, it's the indentation width used when formatting.
This corresponds to the Vim option 'shiftwidth', not 'softtabstop'.
The latter has the comparatively mundane purpose of controlling what
happens when you hit the tab key (and even this is incomplete, as it
fails to account for 'smarttab').
2022-03-20 10:41:46 -07:00
bfredl
6eca9b69c4
feat(ui): allow conceal to be defined in decorations
...
Unlike syntax conceal, change highlight of concealed char
Can be used in tree-sitter using "conceal" metadata.
2022-03-20 18:02:41 +01:00
James McCoy
463738938d
Merge pull request #17785 from muniter/jl-fix-doxygen-destroyer
...
docs: properly escape to avoid doxygen weirdness
2022-03-20 10:35:27 -04:00
Sean Dewar
315858bf67
fix(termdebug): handle exiting during startup properly ( #16790 )
...
s:EndTermDebug should only be called when exiting if the debugger started
without error, otherwise the plugin breaks.
Vim handles this by using job_setoptions to set the on_exit callback to
s:EndTermDebug after startup succeeds. However, Nvim does not have such
functionality; instead; use s:starting to mimic this behaviour.
Also, introduce s:running to fix s:CheckGdbRunning; it did not work correctly
due to the "[Process exited X]" message keeping the job's channel alive (though
the stream is closed). This means nvim_get_chan_info cannot be used to check if
the debugger has exited, as it may still return a non-empty dict.
2022-03-20 10:10:01 +00:00
Christian Clason
75157d2572
vim-patch:47c532e2bc55 ( #17780 )
...
Update runtime files
https://github.com/vim/vim/commit/47c532e2bc55e8a48f7f47e1fae1ed30144f2fa1
2022-03-20 10:48:10 +01:00
zeertzjq
54f15a9e47
Merge pull request #17772 from zeertzjq/vim-8.2.2716
...
vim-patch:8.2.{2716,4546}: the equivalent class regexp is missing some characters
2022-03-20 12:31:11 +08:00
Gregory Anders
be35d3c5ad
feat(api): remove Lua autocommand callbacks when they return true ( #17784 )
...
This copies the semantics of nvim_buf_attach callbacks, and is a
convenient way to create oneshot autocommands gated by some condition.
2022-03-19 18:57:58 -06:00
zeertzjq
77eb6f9dc7
fix(api, lua): return NIL on failure to find converted function ( #17779 )
2022-03-20 08:08:50 +08:00
Javier López
b1207e5080
docs: properly escape to avoid doxygen weirdness
...
If this is not properly escaped doxygen 1.9.3 will not work correctly,
and the documentation generated in local machines will differ with what
is generated in CI.
2022-03-19 15:32:18 -05:00
zeertzjq
2ab52bd988
refactor(tinput_wait_enqueue): use rbuffer_read() when pasting ( #17754 )
...
When pasting, all of key buffer can be consumed, and in case of phase 3
the paste event must be put exactly once, so using rbuffer_read() should
be better here.
2022-03-19 21:56:47 +08:00
zeertzjq
536dc391f6
vim-patch:8.2.4593: unnecessary call to redraw_later() ( #17775 )
...
Problem: Unnecessary call to redraw_later().
Solution: Remove the call to redraw_later() in op_yank(). (closes vim/vim#9971 )
https://github.com/vim/vim/commit/95d2e7634ccd8e0da78086002509a856999e180c
2022-03-19 20:18:45 +08:00
zeertzjq
c4624b9543
vim-patch:8.2.4546: duplicate #undef
...
Problem: Duplicate #undef.
Solution: Remove one #undef. (closes vim/vim#9932 )
https://github.com/vim/vim/commit/0a4e098f32f3c83273ff63c02c8d0d5cdd7c897c
2022-03-19 17:12:29 +08:00
zeertzjq
81648fd277
vim-patch:8.2.2716: the equivalent class regexp is missing some characters
...
Problem: The equivalent class regexp is missing some characters.
Solution: Update the list of equivalent characters. (Dominique Pellé,
closes vim/vim#8029 )
https://github.com/vim/vim/commit/0b94e297afd072c51bf2eed12c7ffe3978d93399
Match upstream's indent in s:equivalence_class().
2022-03-19 17:12:29 +08:00
Xiretza
f2e5f509d9
docs: reword description for nvim_buf_line_count() ( #17766 )
...
This adds a few more keywords to make the function easier to find.
2022-03-18 19:58:00 +01:00
matveyt
e0fe91f6a3
fix(translation): po file for Russian ( #17767 )
2022-03-18 19:48:20 +01:00
Javier López
9191401025
ci(docs): add a check for PR's to commit their doc changes
...
Repurpose the api-docs workflow to also run in all PR's but work only as
a check, if the changes in the PR introduce doc changes that are not
committed fail.
[skip ci]
2022-03-18 13:29:55 -05:00
bfredl
c2fa3af41f
Merge pull request #17719 from dundargoc/doxygen/ex_docmd
...
refactor(ex_docmd): convert function comments to doxygen format
2022-03-18 19:05:24 +01:00
Lewis Russell
9e66d27d37
fix(syntax.c): correct hunk from Vim patch 8.0.0647 ( #17761 )
2022-03-18 21:15:18 +08:00
bfredl
0a81a33a9d
Merge pull request #17694 from lewis6991/fix_signcol
...
fix(signcol): always trigger a redraw
2022-03-18 11:07:13 +01:00
Lewis Russell and zeertzjq
00effff569
vim-patch:8.1.1693: syntax coloring and highlighting is in one big file ( #17721 )
...
Problem: Syntax coloring and highlighting is in one big file.
Solution: Move the highlighting to a separate file. (Yegappan Lakshmanan,
closes vim/vim#4674 )
https://github.com/vim/vim/commit/f9cc9f209ede9f15959e4c2351e970477c139614
Name the new file highlight_group.c instead.
Co-authored-by: zeertzjq <zeertzjq@outlook.com >
2022-03-18 12:47:08 +08:00
bfredl
c1b98cfa5e
Merge pull request #17459 from rktjmp/lua-error-tostring
...
feat: __tostring lua errors if possible before showing in messages
2022-03-18 00:57:48 +01:00
zeertzjq
cac90d2de7
feat(api, lua): support converting nested Funcref back to LuaRef ( #17749 )
2022-03-17 20:21:47 +01:00
bfredl
09a3b33d36
Merge pull request #17747 from bfredl/ui_input
...
feat(ui_client): input and resize
2022-03-17 20:17:38 +01:00
bfredl
3c7e937a89
Merge pull request #17266 from famiu/feat/ui/global-statusline
...
feat(statusline): add global statusline
2022-03-17 20:16:39 +01:00
bfredl
55b6ade7fe
feat(ui_client): implement async paste handling
2022-03-17 19:39:06 +01:00
Famiu Haque
5ab1229174
feat: add support for global statusline
...
Ref: #9342
Adds the option to have a single global statusline for the current window at the bottom of the screen instead of a statusline at the bottom of every window. Enabled by setting `laststatus = 3`.
Due to the fact that statuslines at the bottom of windows are removed when global statusline is enabled, horizontal separators are used instead to separate horizontal splits. The horizontal separator character is configurable through the`horiz` item in `'fillchars'`. Separator connector characters are also used to connect the horizontal and vertical separators together, which are also configurable through the `horizup`, `horizdown`, `vertleft`, `vertright` and `verthoriz` items in `fillchars`.
The window separators are highlighted using the `WinSeparator` highlight group, which supersedes `VertSplit` and is linked to `VertSplit` by default in order to maintain backwards compatibility.
2022-03-18 00:21:41 +06:00
hlpr98
c6640d0d70
feat(ui_client): handle resize events
2022-03-17 19:20:20 +01:00
hlpr98
6636160338
feat(ui_client): pass user input to remote server
2022-03-17 19:20:13 +01:00
dundargoc and zeertzjq
d238b8f600
chore: fix typos ( #17670 )
...
Co-authored-by: zeertzjq <zeertzjq@outlook.com >
2022-03-17 13:21:24 +08:00
James McCoy
746a29c580
Merge pull request #17707 from tesaguri/refactor-gen_vimdoc
2022-03-16 16:13:59 -04:00
bfredl
aeae88f32a
Merge pull request #17739 from dundargoc/doxygen/ex_cmds
...
refactor(ex_cmds): convert function comments to doxygen format
2022-03-16 20:52:40 +01:00
bfredl
4c7e2ab12e
Merge pull request #17741 from dundargoc/doxygen/message
...
refactor(message): convert function comments to doxygen format
2022-03-16 20:11:43 +01:00
bfredl
b9c3b617ba
Merge pull request #17732 from dundargoc/doxygen/fold
...
refactor(fold): convert function comments to doxygen format
2022-03-16 19:31:48 +01:00
Dundar Göc
a41321a8a2
refactor(ex_cmds): convert function comments to doxygen format
2022-03-16 18:32:15 +01:00