Daiki Mizukami
cf4786ddfa
chore(gen_vimdoc): call delete_lines_below
only if the file exists
...
Previously, `delete_lines_below` would raise `FileNotFoundError` when
adding a new file to `CONFIG` and you had to manually write a file with
help tag of the first section as placeholder. This change relieves you
of that need.
2022-03-14 07:53:41 +09:00
Daiki Mizukami
2d28c40ef9
refactor(gen_vimdoc): detect section_start_token
automatically
2022-03-14 07:53:41 +09:00
dundargoc
4ba12b3dda
refactor: fix clint warnings ( #17682 )
2022-03-13 22:11:17 +08:00
zeertzjq
4ede2ea4b2
test: fix runnvim.sh ( #17690 )
2022-03-13 22:07:22 +08:00
zeertzjq
c45644f994
test(python3_spec): use a pattern to match SyntaxError message ( #17705 )
2022-03-13 22:05:56 +08:00
adrian5
9e6bc228ec
docs(api): improve section on nvim_set_hl ( #17692 )
2022-03-13 06:42:12 -06:00
zeertzjq
c9b94188d5
Merge pull request #17702 from zeertzjq/vim-8.1.0877
...
vim-patch:8.1.{0877,0892,1015},8.2.{3759,3762}: quickfix patches
2022-03-13 14:21:37 +08:00
VVKot
ff48e61ec9
vim-patch:8.2.3762: if quickfix buffer is wiped out getqflist() still returns it
...
Problem: If the quickfix buffer is wiped out getqflist() still returns its
number.
Solution: Use zero if the buffer is no longer present. (Yegappan Lakshmanan,
closes vim/vim#9306 )
56150da687
2022-03-13 13:17:28 +08:00
VVKot
c5e47e44aa
vim-patch:8.2.3759: quickfix buffer becomes hidden while still in a window
...
Problem: Quickfix buffer becomes hidden while still in a window.
Solution: Check if the closed window is the last window showing the quickfix
buffer. (Yegappan Lakshmanan, closes vim/vim#9303 , closes vim/vim#9300 )
78a61068cf
2022-03-13 13:17:28 +08:00
zeertzjq
dc32a20503
test(old): add some missing tests from Vim patches 8.1.2320 and 8.1.2360
2022-03-13 13:17:28 +08:00
Jan Edmund Lazo
163ec00f44
vim-patch:8.1.1015: quickfix buffer shows up in list, can't get buffer number
...
Problem: Quickfix buffer shows up in list, can't get buffer number.
Solution: Make the quickfix buffer unlisted when the quickfix window is
closed. get the quickfix buffer number with getqflist().
(Yegappan Lakshmanan, closes vim/vim#4113 )
647e24ba3d
2022-03-13 13:17:28 +08:00
VVKot
6c26ab71ce
vim-patch:8.1.0892: failure when closing a window when location list is in use
...
Problem: Failure when closing a window when location list is in use.
Solution: Handle the situation gracefully. Make sure memory for 'switchbuf'
is not freed at the wrong time. (Yegappan Lakshmanan,
closes vim/vim#3928 )
eeb1b9c7ed
2022-03-13 13:17:28 +08:00
Jan Edmund Lazo
91ac0088e1
vim-patch:8.1.0877: new buffer used every time the quickfix window is opened
...
Problem: New buffer used every time the quickfix window is opened.
Solution: Reuse the buffer. (Yegappan Lakshmanan, closes vim/vim#3902 )
ee8188fc74
2022-03-13 13:17:28 +08:00
zeertzjq
0cf2dc63bf
fix(win_split_ins): do not fail when oldwin is not valid
...
Ref #14240
2022-03-13 13:17:22 +08:00
dundargoc
d33aebb821
feat(runtime): import cleanadd.vim from Vim ( #17699 )
...
Latest version from Vim v7.2a.
Closes https://github.com/neovim/neovim/issues/12875
2022-03-13 04:52:45 +00:00
Gregory Anders
f291a0339c
fix: use normal! <C-L> in default <C-L> mapping ( #17695 )
2022-03-12 17:56:53 -07:00
zeertzjq
356631cba0
Merge pull request #17687 from zeertzjq/fix-channel-consistency
...
fix(channel): fix channel consistency
2022-03-13 05:44:50 +08:00
bfredl
36ca585d2f
Merge pull request #17691 from bfredl/serverconnect
...
feat(ui): connect to remote ui (beginning of ui client)
2022-03-12 21:11:37 +01:00
bfredl
a4400bf8cd
feat(ui): connect to remote ui (only debug messages for now)
...
co-authored-by: hlpr98 <hlpr98@gmail.com>
2022-03-12 19:24:46 +01:00
Björn Linse
3a12737e6c
refactor(main): separate connection code from --remote execution code
2022-03-12 15:06:53 +01:00
zeertzjq
f1c9065b0e
test: improve terminal channel tests
2022-03-12 19:23:45 +08:00
erw7
5051510ade
fix(channel): fix channel consistency
...
- Fix the problem that chanclose() does not work for channel created by
nvim_open_term().
- Fix the problem that the loopback channel is not released.
- Fix the error message when sending raw data to the loopback channel.
2022-03-12 19:23:45 +08:00
Sean Dewar
ab456bc304
vim-patch:8.2.3779: using freed memory when defining a user command recursively ( #17688 )
...
Problem: Using freed memory when defining a user command from a user
command.
Solution: Do not use the command pointer after executing the command.
(closes vim/vim#9318 )
205f29c3e9
2022-03-12 08:25:28 +00:00
zeertzjq
08d9d74fd9
Merge pull request #17680 from zeertzjq/vim-8.2.4440
...
vim-patch:8.2.{4440,4443}: crash with specific regexp pattern and string
2022-03-12 08:08:31 +08:00
zeertzjq
d4982e152c
vim-patch:partial:a2baa73d1d33 ( #17675 )
...
Update runtime files.
a2baa73d1d
Cherry-pick tabpage.txt changes from patch 8.2.1413.
Skip digraph functions: included in #17440 .
Skip many error codes as they haven't been ported yet.
2022-03-12 06:52:54 +08:00
dundargoc
84af45f59f
docs: remove "not in vi" notes ( #17678 )
...
[skip ci]
2022-03-11 22:25:59 +00:00
bfredl
965f1fd6fd
Merge pull request #17439 from groves/1750
...
feat: restore --remote
2022-03-11 19:47:24 +01:00
Charlie Groves
1201145b68
fix(remote): use STATIC_CSTR_AS_STRING
2022-03-11 13:05:40 -05:00
Charlie Groves
1dbf8675c7
fix(remote): respect silent in error reporting
2022-03-11 11:16:46 -05:00
Charlie Groves
2be938a251
fix(remote): report connection error, missing return values
2022-03-11 11:16:46 -05:00
Charlie Groves
29c3632285
fix(remote): report on missing wait commands, typecheck lua results
...
Clean up lint errors, too
2022-03-11 11:16:46 -05:00
Charlie Groves
e095a868cb
docs(remote): update remote.txt for current nvim implementation
2022-03-11 11:16:46 -05:00
Charlie Groves
fcdb1f372b
docs(remote): restore remote.txt from removal in f2205b83c5
2022-03-11 11:16:46 -05:00
Charlie Groves
039e94f491
test(remote): add tests for --remote
...
This also fixes a fair number of issues found in running the tests
2022-03-11 11:16:46 -05:00
Charlie Groves
70d2ab1583
fix(remote): make compile again
2022-03-11 11:16:46 -05:00
Charlie Groves
5862176764
feat(remote): add basic --remote support
...
This is starting from @geekodour's work at
https://github.com/neovim/neovim/pull/8326
2022-03-11 11:16:46 -05:00
zeertzjq
a6e72aa295
vim-patch:8.2.4443: regexp pattern test fails on Mac
...
Problem: Regexp pattern test fails on Mac.
Solution: Do not use a swapfile for the buffer.
2457b2bbc2
2022-03-11 23:01:33 +08:00
zeertzjq
d0b5c1f696
vim-patch:8.2.4440: crash with specific regexp pattern and string
...
Problem: Crash with specific regexp pattern and string.
Solution: Stop at the start of the string.
6456fae9ba
2022-03-11 23:01:02 +08:00
bfredl
76769b8a1f
Merge pull request #17673 from dundargoc/refactor/clint
...
refactor: fix all clint warnings from buffer
2022-03-11 15:23:51 +01:00
bfredl
c2ab922f0a
Merge pull request #17663 from dundargoc/refactor/uncrustify
...
refactor: apply uncrustify
2022-03-11 15:07:49 +01:00
dundargoc
c3a6ff6aa3
fix(coverity): dead code and operands don't affect result #17662
...
* fix(coverity/349942): structurally dead code
* fix(coverity/331396): operands don't affect result
* fix(coverity/331393): operands don't affect result
* fix(coverity/331392): operands don't affect result
* fix(coverity/331384): operands don't affect result
* fix(coverity/331374): operands don't affect result
* fix(coverity/331372): operands don't affect result
* fix(coverity/331371): operands don't affect result
* fix(coverity/331364): operands don't affect result
* fix(coverity/105585): operands don't affect result
2022-03-11 15:04:48 +01:00
Dundar Göc
9ff4acbb36
refactor: fix all clint warnings from buffer.c
2022-03-11 14:47:18 +01:00
bfredl
19858288b4
Merge pull request #17672 from lewis6991/refactorprovider
...
refactor(decorations): move provider code
2022-03-11 13:01:33 +01:00
James McCoy
abbc9148db
Merge pull request #17665 from clason/bump-libuv
...
build(deps): bump libuv to 1.44.1
2022-03-10 18:45:12 -05:00
James McCoy
8a5f0559cc
Merge pull request #17604 from dundargoc/ci/better-error-output
...
Better CI error output
2022-03-10 18:42:02 -05:00
Lewis Russell
4be92ba90d
refactor(decorations): unglobal decor_providers
...
Now all the decoration provider code is in one place, decor_providers no
longer need to be global.
2022-03-10 22:41:21 +00:00
Lewis Russell
1b054119ec
refactor(decorations): move provider code
...
Move decoration provider code to a separate file.
2022-03-10 22:41:20 +00:00
Christian Clason
1e7ba7ea6b
build(deps): bump libuv to 1.44.1
2022-03-10 16:48:49 +01:00
bfredl
6170574d2f
Merge pull request #17660 from bfredl/luacomplete
...
feat(lua): handle lazy submodules in `:lua vim.` wildmenu completion
2022-03-10 15:46:18 +01:00
zeertzjq
3a32aa9615
Merge pull request #17671 from zeertzjq/vim-8.2.3949
...
vim-patch:8.2.{3949,3950}: fix two crashes with /\%V
2022-03-10 20:32:13 +08:00