Commit Graph

25968 Commits

Author SHA1 Message Date
zeertzjq
a9ea563b44 vim-patch:9.0.0064: confusing error when using "q:" in command line window
Problem:    Confusing error when using "q:" in command line window.
Solution:   Check for the situation and give a better error message.
            (closes vim/vim#10756)

c963ec31a0

Co-authored-by: Bram Moolenaar <Bram@vim.org>
2023-11-23 15:57:39 +08:00
Justin M. Keyes
2a467acc86
fix(defaults): set 'fsync' #26039
backport #26034

Problem:
'nofsync' may lose data if the system has a hard shutdown. #9888

Solution:
Change default to 'fsync'. This may be revisited in the future when
'nofsync' can be made safer.

Co-authored-by: Ploum <1233155+ploum@users.noreply.github.com>
2023-11-14 03:34:59 -08:00
zeertzjq
7ce36b7997
Merge pull request #25982 from zeertzjq/backport
Backport to release-0.9
2023-11-11 15:47:10 +08:00
zeertzjq
954696dda8 fix(highlight): apply 'winblend' to float border 2023-11-11 15:21:30 +08:00
330-127
5f194e40a5 docs: list NVIM_APPNAME as env on manpage 2023-11-11 15:21:30 +08:00
voidiz
3b9a906c98 fix(quickfix): check if delete failed in qf_fill_buffer()
When the contents of a quickfix buffer are replaced, there is a chance
that deletion of the previous lines fails. This ensures that we don't
get stuck in an infinite loop of retrying.

Fix #25402
2023-11-11 15:21:30 +08:00
dundargoc
90890238ac ci: work around flaky python3 tests
Python3 provider tests suddenly became extremely flaky on macos for
unknown reasons. For some reason, installing python with the
setup-python action over using the default python fixes the flakiness.
Use this workaround for the time being to unblock CI while we figure out
the root cause.
2023-11-11 15:21:30 +08:00
zeertzjq
797a9efeff
Merge pull request #25923 from neovim/backport-25922-to-release-0.9
[Backport release-0.9] fix(man): make :Man with a range work
2023-11-07 10:51:00 +08:00
zeertzjq
3320c3a322 fix(man): make :Man with a range work
(cherry picked from commit e41309c3b6)
2023-11-07 02:39:45 +00:00
zeertzjq
fabc05b077
Merge pull request #25921 from neovim/backport-25911-to-release-0.9
[Backport release-0.9] fix(lua): correct return value for on_key with no arguments
2023-11-07 08:43:36 +08:00
altermo
1413f3a971 fix(lua): correct return value for on_key with no arguments
(cherry picked from commit 3edc8417f0)
2023-11-07 00:33:58 +00:00
zeertzjq
412225c02a
Merge pull request #25849 from neovim/backport-25848-to-release-0.9
[Backport release-0.9] fix(terminal): keep focus when scrolling number column of another window
2023-10-31 15:33:56 +08:00
zeertzjq
5b87e58c5a fix(terminal): keep focus when scrolling number column of another window
(cherry picked from commit ca0a603bce)
2023-10-31 07:23:40 +00:00
zeertzjq
6f64a93764
Merge pull request #25846 from neovim/backport-25845-to-release-0.9
[Backport release-0.9] fix(terminal): don't lose focus on <MouseMove>
2023-10-31 12:16:18 +08:00
zeertzjq
edbe109762 fix(terminal): don't lose focus on <MouseMove>
(cherry picked from commit e96b3133ef)
2023-10-31 04:06:24 +00:00
zeertzjq
88f0179834
Merge pull request #25821 from neovim/backport-25820-to-release-0.9
[Backport release-0.9] fix(terminal): avoid Insert mode in Terminal buffer
2023-10-29 09:44:15 +08:00
zeertzjq
faa0b1028a fix(terminal): avoid Insert mode in Terminal buffer
(cherry picked from commit 9a73cac99c)
2023-10-29 01:32:22 +00:00
zeertzjq
f9c85cd913
Merge pull request #25772 from zeertzjq/backport
Backport to release-0.9
2023-10-25 10:27:11 +08:00
zeertzjq
bd2a15121d fix(terminal): assign channel to terminal earlier 2023-10-25 10:02:16 +08:00
zeertzjq
6e68b2e6bc
Merge pull request #25766 from neovim/backport-25763-to-release-0.9
[Backport release-0.9] fix(marks): handle switching buffer properly
2023-10-24 16:23:13 +08:00
zeertzjq
45b0e6d589 fix(marks): handle switching buffer properly
(cherry picked from commit 1f00390016)
2023-10-24 08:10:55 +00:00
zeertzjq
26c2c3c865
Merge pull request #25731 from neovim/backport-25498-to-release-0.9
[Backport release-0.9] ci(cirrus): don't run lua/help_spec
2023-10-21 07:33:29 +08:00
zeertzjq
08a9834859 ci(cirrus): don't run lua/help_spec
(cherry picked from commit 7a0ab4f333)
2023-10-20 23:22:06 +00:00
zeertzjq
b205336758
Merge pull request #25699 from neovim/backport-25698-to-release-0.9
[Backport release-0.9] fix(move): check the correct buffer
2023-10-18 10:48:58 +08:00
zeertzjq
13f3bef685 fix(move): check the correct buffer
(cherry picked from commit 56ffab5522)
2023-10-18 02:35:16 +00:00
zeertzjq
6a98449790
Merge pull request #25695 from neovim/backport-25694-to-release-0.9
[Backport release-0.9] test(autocmd/termxx_spec): fix flakiness
2023-10-18 07:29:26 +08:00
zeertzjq
2fbd9f7cd4 test(autocmd/termxx_spec): fix flakiness
(cherry picked from commit e1020a63f7)
2023-10-17 23:19:52 +00:00
github-actions[bot]
87bfa82bdf
[Backport release-0.9] feat(highlight): Allow hyphens (-) in highlight group names (#25661)
feat(highlight): allow hyphens (-) in highlight group names

Fixes: https://github.com/neovim/neovim/issues/23184
(cherry picked from commit f37916b93b)

Co-authored-by: Gregory Anders <greg@gpanders.com>
2023-10-15 14:21:54 -05:00
Christian Clason
01f1ac36a9 fix(deps): bump libmpack from luarocks
fixup for the backport 4f6e4c5447
(which forgot that release-0.9 still uses luarocks)
2023-10-15 15:13:34 +02:00
zeertzjq
64340cf9d7
Merge pull request #25650 from neovim/backport-25649-to-release-0.9
[Backport release-0.9] test(terminal/channel_spec): fix flakiness
2023-10-15 07:35:28 +08:00
zeertzjq
f06daa91ed test(terminal/channel_spec): fix flakiness
(cherry picked from commit 89c0adb252)
2023-10-14 22:39:01 +00:00
Christian Clason
c5edfb16f9 fix(treesitter): foldexpr tweaks
(cherry-picked from 26cc946226)

Co-authored-by: rafikdraoui
2023-10-14 17:07:36 +02:00
zeertzjq
8afafb5b9c
Merge pull request #25632 from zeertzjq/backport
Backport to release-0.9
2023-10-14 15:50:49 +08:00
nwounkn
b90dd608a9 fix(ui): empty line before the next message after :silent command
Problem:
  The next command after `silent !{cmd}` or `silent lua print('str')`
  prints an empty line before printing a message, because these commands
  set `msg_didout = true` despite not printing any messages.

Solution:
  Set `msg_didout = true` only if `msg_silent == 0`
2023-10-14 15:02:46 +08:00
zeertzjq
1e71797db7
Merge pull request #25613 from neovim/backport-25612-to-release-0.9
[Backport release-0.9] fix(lsp): handle NUL bytes in popup text
2023-10-12 15:53:06 +08:00
zeertzjq
9ee75f4781 fix(lsp): handle NUL bytes in popup text
Fix #25610

(cherry picked from commit 762a9e138b)
2023-10-12 07:40:01 +00:00
bfredl
47354c59bd version bump 2023-10-09 22:39:10 +02:00
bfredl
d772f697a2 NVIM 0.9.4
This is a maintenance release, focusing on bugfixes.

BUG FIXES
- build: Fix exporting symbols on macOS Sonoma
- api: Handle NUL in nvim_err_write() and nvim_out_write()
- autocmd: Api functions accepting garbage after event name
- clang: Null pointer dereference in parse_msgpack
- clipboard: Don't pass --foreground to wl-copy
- exception: Remember whether message is multiline
- float: Update position of anchored windows first
- float: Fix some other crashes with :unhide or :all
- lua: Not using global value in vim.opt_global
- lua: Show error message when failing to set variable
- mouse: Click on 'statuscolumn' with 'rightleft'
- path: Accept special characters on Windows
- provider: Fix python3 provider cannot detect python3.12
- provider/pythonx: Import the correct module
- rpc: Fix race condition
- runtime: Add commentstring for D ftplugin
- statuscolumn: Update number hl for each screen line
- terminal: Check terminal size at end of screen update
- treesitter: Remove more double recursion
- ui: "resize -1" with cmdheight=0
- unhide: Close floating windows first
- unittests: Ignore __s128 and __u128 types in ffi
- tutor: Clarify the meaning of ✗ and ✓

BUILD SYSTEM!
- deps: Bump libmpack-lua to 1.0.11
- ci: fix mac release for Sonoma
2023-10-09 22:38:17 +02:00
dundargoc
cc398c5b06 ci: fix mac release
(cherry picked from commit b020a26d2d)
2023-10-09 22:30:52 +02:00
bfredl
51ac490c01 version bump 2023-10-09 22:04:42 +02:00
bfredl
3257fdac36 NVIM 0.9.3
This is a maintenance release, focusing on bugfixes.

BUG FIXES
- build: Fix exporting symbols on macOS Sonoma
- api: Handle NUL in nvim_err_write() and nvim_out_write()
- autocmd: Api functions accepting garbage after event name
- clang: Null pointer dereference in parse_msgpack
- clipboard: Don't pass --foreground to wl-copy
- exception: Remember whether message is multiline
- float: Update position of anchored windows first
- float: Fix some other crashes with :unhide or :all
- lua: Not using global value in vim.opt_global
- lua: Show error message when failing to set variable
- mouse: Click on 'statuscolumn' with 'rightleft'
- path: Accept special characters on Windows
- provider: Fix python3 provider cannot detect python3.12
- provider/pythonx: Import the correct module
- rpc: Fix race condition
- runtime: Add commentstring for D ftplugin
- statuscolumn: Update number hl for each screen line
- terminal: Check terminal size at end of screen update
- treesitter: Remove more double recursion
- ui: "resize -1" with cmdheight=0
- unhide: Close floating windows first
- unittests: Ignore __s128 and __u128 types in ffi
- tutor: Clarify the meaning of ✗ and ✓

BUILD SYSTEM!
- deps: Bump libmpack-lua to 1.0.11
2023-10-09 21:59:13 +02:00
Christian Clason
837f64f98a
[backport release-0.9] backport #25464 (#25560)
feat(lsp): fallback to code-action command on resolve failure
2023-10-09 16:39:30 +02:00
Christian Clason
4f6e4c5447 build(deps): bump libmpack-lua to 1.0.11
update vendored libmpack-lua to match

https://github.com/libmpack/libmpack-lua/releases/tag/1.0.11
(cherry picked from commit c13d86a21f)
2023-10-09 12:47:35 +02:00
ii14
eddead1cad fix(autocmd): api functions accepting garbage after event name
"VimEnter foo" was accepted as a valid event name for "VimEnter".
Events delimited with commas, eg. "VimEnter,BufRead", were also
accepted, even though only the first event was actually parsed.

(cherry picked from commit 1397016259)
2023-10-09 12:18:43 +02:00
zeertzjq
2bde3109b8
Merge pull request #25497 from zeertzjq/backport
Backport to release-0.9
2023-10-04 07:53:47 +08:00
zeertzjq
e0d98bd25d fix(terminal): check terminal size at end of screen update 2023-10-04 07:29:24 +08:00
zeertzjq
749ff7a342 vim-patch:9.0.1772: Cursor may be adjusted in 'splitkeep'ed windows
Problem:    Cursor is adjusted in window that did not change in size by
            'splitkeep'.
Solution:   Only check that cursor position is valid in a window that
            has changed in size.

closes: vim/vim#12509

16af913eee

Co-authored-by: Luuk van Baal <luukvbaal@gmail.com>
2023-10-04 06:30:24 +08:00
luukvbaal
6809d3377c vim-patch:9.0.1599: Cursor not adjusted when 'splitkeep' is not "cursor"
Problem:    Cursor not adjusted when near top or bottom of window and
            'splitkeep' is not "cursor".
Solution:   Move boundary checks to outer cursor move functions, inner
            functions should only return valid cursor positions. (Luuk van
            Baal, closes vim/vim#12480)

a109f39ef5
2023-10-04 06:29:47 +08:00
zeertzjq
00a0847675
Merge pull request #25496 from neovim/backport-25424-to-release-0.9
[Backport release-0.9] fix(path): accept special characters on Windows
2023-10-04 06:23:09 +08:00
Leonardo Mello
a0da8c3e69 fix(path): accept special characters on Windows
(cherry picked from commit 33f97c1ed2)
2023-10-03 22:05:22 +00:00