Commit Graph

25659 Commits

Author SHA1 Message Date
zeertzjq
e8ff921ed3 fix(events): trigger VimResume on next UI request
(cherry picked from commit cdd076d6c1)
2023-07-22 23:17:02 +00:00
zeertzjq
d82f386201
Merge pull request #24419 from neovim/backport-24418-to-release-0.9
[Backport release-0.9] fix(terminal): send Shift-Home Shift-End Ctrl-Home Ctrl-End
2023-07-22 08:12:45 +08:00
zeertzjq
cf4b89f16b fix(terminal): send Shift-Home Shift-End Ctrl-Home Ctrl-End
(cherry picked from commit fa898b6f92)
2023-07-22 00:01:01 +00:00
zeertzjq
953904c006
Merge pull request #24384 from neovim/backport-23753-to-release-0.9
[Backport release-0.9] fix(fs.lua): normalize slash truncation
2023-07-18 14:46:07 +08:00
Mike
c0c6294123 fix(fs.lua): normalize slash truncation
Preserve last slash in windows' root drive directories

(cherry picked from commit 886996ff74)
2023-07-18 06:36:24 +00:00
zeertzjq
b0abe426d6
Merge pull request #24379 from neovim/backport-24378-to-release-0.9
[Backport release-0.9] fix(terminal): don't send unknown special keys to terminal
2023-07-17 21:53:33 +08:00
zeertzjq
115fe762b4 fix(terminal): don't send unknown special keys to terminal
Special keys are negative integers, so sending them to terminal leads to
strange behavior.

(cherry picked from commit 6b76fd9109)
2023-07-17 13:43:14 +00:00
zeertzjq
f0e4d284fd
Merge pull request #24370 from neovim/backport-23378-to-release-0.9
[Backport release-0.9] fix(clipboard): suppression exit warning if exit code is >= 128
2023-07-16 22:42:57 +08:00
Kai Ting
65d9407835 clipboard: suppression exit warning if exit code is >= 128
This is a matching change to 939d9053bd

Fixes: 7054
(cherry picked from commit 62b5d66e43)
2023-07-16 14:24:57 +00:00
zeertzjq
d3ac249806
Merge pull request #24358 from neovim/backport-24357-to-release-0.9
[Backport release-0.9] feat(tui): support Super and Meta modifiers
2023-07-15 15:13:46 +08:00
zeertzjq
344bcb5f30 feat(tui): support Super and Meta modifiers
(cherry picked from commit 881835000d)
2023-07-15 07:03:21 +00:00
zeertzjq
0bc272d0ea
Merge pull request #24321 from neovim/backport-24320-to-release-0.9
[Backport release-0.9] fix(mouse): copy the line before syntax matching
2023-07-12 09:04:35 +08:00
zeertzjq
7253cb3905 fix(mouse): copy the line before syntax matching
(cherry picked from commit 32e726e626)
2023-07-12 00:50:53 +00:00
Sean Dewar
9fdaecba90
Merge pull request #24318 from neovim/backport-24316-to-release-0.9
[Backport release-0.9] fix(tutor): don't use concealed text in expected lines
2023-07-11 18:20:51 +01:00
Sean Dewar
6808f47ec5 fix(tutor): don't use concealed text in expected lines
(cherry picked from commit 24c3962a2e)
2023-07-11 17:11:07 +00:00
zeertzjq
e9030d109e
Merge pull request #24307 from neovim/backport-24306-to-release-0.9
[Backport release-0.9] perf(extmarks): avoid unnecessary marktree traversal with folds
2023-07-11 09:09:20 +08:00
zeertzjq
541439b4ab perf(extmarks): avoid unnecessary marktree traversal with folds
(cherry picked from commit 3fc4da17df)
2023-07-11 00:59:41 +00:00
zeertzjq
160bdee527
Merge pull request #24298 from neovim/backport-24296-to-release-0.9
[Backport release-0.9] fix(completion): don't add backslashes to runtime pattern
2023-07-09 04:59:20 +08:00
zeertzjq
84086283ac fix(completion): don't add backslash in runtime completion
Problem:    Bashslashes added as regexp in runtime completion may be
            treated as path separator with some 'isfname' value.
Solution:   Make curly braces work for runtime completion and use it.
(cherry picked from commit 895cb173d2)
2023-07-08 15:29:44 +00:00
zeertzjq
5174ed6735
Merge pull request #24269 from neovim/backport-24268-to-release-0.9
[Backport release-0.9] fix(column): fix wrong cursor with 'statuscolumn' and cpo+=n
2023-07-06 11:18:07 +08:00
zeertzjq
f36433f83a fix(column): fix wrong cursor with 'statuscolumn' and cpo+=n
(cherry picked from commit 38bceb6269)
2023-07-06 03:07:43 +00:00
zeertzjq
3fc024f238
Merge pull request #24259 from neovim/backport-24258-to-release-0.9
[Backport release-0.9] fix(edit): fix K_EVENT interfering with 'digraph'
2023-07-05 12:16:02 +08:00
zeertzjq
1234861183 fix(edit): fix K_EVENT interfering with 'digraph'
(cherry picked from commit b08549eb69)
2023-07-05 04:06:37 +00:00
zeertzjq
8fe351b674
Merge pull request #24245 from neovim/backport-24244-to-release-0.9
[Backport release-0.9] fix(api, lua): make blank lines in a message work properly
2023-07-04 07:32:09 +08:00
zeertzjq
617c6014ea fix(api, lua): make blank lines in a message work properly
(cherry picked from commit e6bb22e691)
2023-07-03 23:19:26 +00:00
zeertzjq
041bc87333
Merge pull request #24243 from neovim/backport-23891-to-release-0.9
[Backport release-0.9] fix(ui): propagate line flags on grid_line events
2023-07-04 05:26:33 +08:00
Ricky Zhou
08ae485984 fix(ui): propagate line wrapping state on grid_line events
This fixes the TUI's line-wrapping behavior, which was broken with the
migration to the msgpack-based UI protocol (see
https://github.com/neovim/neovim/issues/7369#issuecomment-1571812273).

(cherry picked from commit 981acc2922)
2023-07-03 21:07:38 +00:00
zeertzjq
3a6235cb81
Merge pull request #24217 from neovim/backport-24161-to-release-0.9
[Backport release-0.9] fix: always set arg0 to lua scripts
2023-07-01 08:31:02 +08:00
Mike
38af92ce39 fix: always set arg0 to lua scripts
Sets script's basename when no extra arguments are given

(cherry picked from commit bb9ee80a39)
2023-07-01 00:18:15 +00:00
zeertzjq
04f6463ee2
Merge pull request #24211 from neovim/backport-24147-to-release-0.9
[Backport release-0.9] fix(ftplugin): respect runtimepath ordering
2023-06-30 18:32:27 +08:00
zeertzjq
1f9c2cfa91 test(lua/runtime_spec): add test for ftplugin ordering
(cherry picked from commit 6cceef6d4c)
2023-06-30 10:22:24 +00:00
Christian Clason
657072fc62 fix(ftplugin): respect runtimepath ordering
Problem: bundled `ftplugin/foo/*.vim` are sourced before user
`ftplugin/foo.vim`.

Solution: call `runtime!` once on all patterns to be sourced.

Followup to #23801. Fixes #24003.

(cherry picked from commit 502a7a0558)
2023-06-30 10:22:24 +00:00
zeertzjq
f088b26ab1
Merge pull request #24208 from neovim/backport-24207-to-release-0.9
[Backport release-0.9] fix(statusline): fill for double-width char after moving items
2023-06-30 08:47:49 +08:00
zeertzjq
072d0b796e fix(statusline): fill for double-width char after moving items
(cherry picked from commit 55fa460c0a)
2023-06-30 00:36:28 +00:00
zeertzjq
4be7f29af6
Merge pull request #24201 from neovim/backport-24200-to-release-0.9
[Backport release-0.9] refactor: remove some casts to char *
2023-06-29 16:09:49 +08:00
zeertzjq
914717aa8b refactor: remove some casts to char *
(cherry picked from commit ac26b66821)
2023-06-29 07:49:05 +00:00
zeertzjq
e2ceb8dd47
Merge pull request #24199 from neovim/backport-24198-to-release-0.9
[Backport release-0.9] fix(column): handle unprintable chars in 'statuscolumn'
2023-06-29 11:48:11 +08:00
zeertzjq
a830373860 fix(column): handle unprintable chars in 'statuscolumn'
(cherry picked from commit 4e206a6a41)
2023-06-29 03:38:15 +00:00
zeertzjq
81290cda02
Merge pull request #24193 from neovim/backport-24190-to-release-0.9
[Backport release-0.9] fix(column): use maxwidth to allocate/fill 'statuscolumn' click defs
2023-06-29 06:12:14 +08:00
Luuk van Baal
f81b85a0fa fix(column): use maxwidth to allocate/fill 'statuscolumn' click defs
(cherry picked from commit d9477a730b)
2023-06-28 21:16:23 +00:00
github-actions[bot]
c8bd1d131f
[Backport release-0.9] fix(api): nvim_cmd{cmd="win_getid"} parsed as :winsize (#24189)
fix(api): nvim_cmd{cmd="win_getid"} parsed as :winsize

Problem:
`:lua vim.cmd.win_getid(30,10)` is interpreted as `:win[size] 30 10`.
User intention was to call `vim.fn.win_getid(30,10)`.

Solution:
Check that the `cmd` actually matches the resolved command.

(cherry picked from commit 629f8d1e46)

Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
2023-06-28 05:34:55 -07:00
zeertzjq
213a5204ee
Merge pull request #24160 from neovim/backport-24158-to-release-0.9
[Backport release-0.9] fix(charset): fix wrong display of 0xffff
2023-06-26 12:37:01 +08:00
zeertzjq
54294140d7 fix(charset): fix wrong display of 0xffff
(cherry picked from commit fe3493679d)
2023-06-26 03:53:14 +00:00
zeertzjq
e4945e69f7
Merge pull request #24125 from neovim/backport-24123-to-release-0.9
[Backport release-0.9] fix(cmdline): don't redraw 'tabline' in Ex mode
2023-06-23 07:11:03 +08:00
zeertzjq
74c8878e9f fix(cmdline): don't redraw 'tabline' in Ex mode
Redrawing of 'statusline' and 'winbar' are actually already inhibited by
RedawingDisabled in Ex mode.

In Vim there is a check for `msg_scrolled == 0` (which is false in Ex
mode) since Vim doesn't have msgsep. Add a `!exmode_active` check here
in Nvim instead.

(cherry picked from commit e056777a88)
2023-06-22 22:40:44 +00:00
github-actions[bot]
b9a513ae11
[Backport release-0.9] fix(fs): make normalize() work with '/' path (#24060)
fix(fs): make `normalize()` work with '/' path

Problem: Current implementation of "remove trailing /" doesn't
account for the case of literal '/' as path.
Solution: Remove trailing / only if it preceded by something else.

(cherry picked from commit 80ff66118a)

Co-authored-by: Evgeni Chasnovski <evgeni.chasnovski@gmail.com>
2023-06-19 02:01:12 -07:00
zeertzjq
d9a76056bb
Merge pull request #24036 from neovim/backport-24034-to-release-0.9
[Backport release-0.9] vim-patch:9.0.1636: expanding a pattern interferes with cmdline completion
2023-06-16 07:18:06 +08:00
zeertzjq
6ed84f8571 vim-patch:9.0.1636: expanding a pattern interferes with cmdline completion
Problem:    Expanding a pattern interferes with command line completion.
Solution:   Set the file index only when appropriate. (closes vim/vim#12519)

094dd152fe
(cherry picked from commit a81b2b72c2)
2023-06-15 23:02:40 +00:00
github-actions[bot]
0f121fea81
[Backport release-0.9] fix(codelens): add buffer and line checks before displaying codelens (#24014)
fix(codelens): add buffer and line checks before displaying codelens

(cherry picked from commit 928dc33053)

Co-authored-by: Rohit Sukumaran <rohit.sukumaran@kredx.com>
2023-06-13 19:55:00 +02:00
zeertzjq
db41f29b7c
Merge pull request #24012 from neovim/backport-24010-to-release-0.9
[Backport release-0.9] fix(api): redundant error when using `nvim_cmd`
2023-06-13 21:54:13 +08:00