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
Famiu Haque
4c8376a876
fix(api): redundant error when using nvim_cmd
...
`nvim_cmd` shows multiple errors when attempting to edit another buffer
through a command when `curbuf->b_ro_locked` is set. This PR fixes that
by removing a redundant error in `execute_cmd`.
(cherry picked from commit 3e6af30888
)
2023-06-13 13:43:45 +00:00
zeertzjq
3d06b6c6af
Merge pull request #23990 from neovim/backport-23988-to-release-0.9
...
[Backport release-0.9] fix(remote): restore previous --remote-expr output formatting
2023-06-11 22:26:37 +08:00
zeertzjq
abed0acf56
fix(remote): restore previous --remote-expr output formatting
...
- Use tostring() as that's what print() uses internally.
- Do not append trailing new line.
(cherry picked from commit b6d89de60e
)
2023-06-11 14:12:51 +00:00
zeertzjq
2f9ee5eb16
Merge pull request #23982 from neovim/backport-23980-to-release-0.9
...
[Backport release-0.9] fix(remote): make --remote-expr print to stdout
2023-06-11 15:42:35 +08:00
zeertzjq
4dafd5341a
fix(remote): make --remote-expr print to stdout
...
(cherry picked from commit 54a05558e6
)
2023-06-11 07:30:08 +00:00
zeertzjq
adea8885c4
Merge pull request #23979 from neovim/backport-23975-to-release-0.9
...
[Backport release-0.9] fix(helptags): make multibyte help tags work properly
2023-06-11 12:37:17 +08:00
zeertzjq
135cdd5ac0
fix(helptags): make multibyte help tags work properly
...
(cherry picked from commit 9b6702c370
)
2023-06-11 04:23:32 +00:00
zeertzjq
d182c1b526
Merge pull request #23974 from neovim/backport-23973-to-release-0.9
...
[Backport release-0.9] ci: add runner image version to cache key
2023-06-10 22:58:46 +08:00
dundargoc
3dae99d86a
ci: add runner image version to cache key
...
This will ensure the cache isn't used when an image upgrade changes the
compiler version, causing the build to fail.
(cherry picked from commit dd6b6f185b
)
2023-06-10 14:37:00 +00:00
zeertzjq
470017c9a8
Merge pull request #23952 from neovim/backport-23951-to-release-0.9
...
[Backport release-0.9] vim-patch:9.0.1616: quickfix text field is truncated
2023-06-08 09:08:25 +08:00
zeertzjq
5825aec7ae
vim-patch:9.0.1616: quickfix text field is truncated
...
Problem: Quickfix text field is truncated.
Solution: Fix output of text field after pattern field in quickfix buffer.
(Shane Harper, closes vim/vim#12498 )
5bf042810b
Co-authored-by: Shane Harper <shane@shaneharper.net>
(cherry picked from commit 8fe24cc428
)
2023-06-07 23:03:42 +00:00
zeertzjq
3904bf4906
Merge pull request #23944 from neovim/backport-23943-to-release-0.9
...
[Backport release-0.9] fix(events): don't expand non-file as file name
2023-06-07 10:29:08 +08:00
zeertzjq
27c3e1d18f
fix(events): don't expand non-file as file name
...
(cherry picked from commit dd24ea8195
)
2023-06-07 02:17:40 +00:00