Commit Graph

25597 Commits

Author SHA1 Message Date
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
zeertzjq
0bbd78aef1 revert: "refactor: eliminate autocmd_fname_full global"
This reverts commit 82cd0be2ea.

(cherry picked from commit 971049f318)
2023-06-07 02:17:40 +00:00
zeertzjq
db33f17618
Merge pull request #23935 from neovim/backport-23933-to-release-0.9
[Backport release-0.9] fix(statusline): redraw when VIsual_mode changes
2023-06-06 19:40:46 +08:00
zeertzjq
7e7fc4885f fix(statusline): redraw when VIsual_mode changes
(cherry picked from commit 397d861566)
2023-06-06 11:25:03 +00:00
zeertzjq
55373061ab
Merge pull request #23931 from neovim/backport-23929-to-release-0.9
[Backport release-0.9] fix(spell): splice extmarks on :spellrepall
2023-06-06 10:49:15 +08:00
zeertzjq
79c8df7e97 fix(spell): splice extmarks on :spellrepall
(cherry picked from commit 22241639eb)
2023-06-06 02:32:51 +00:00
zeertzjq
6937075304
Merge pull request #23923 from neovim/backport-23922-to-release-0.9
[Backport release-0.9] fix(editorconfig): check that buffer is valid
2023-06-06 06:24:10 +08:00
Gregory Anders
d7212c10e2 fix(editorconfig): check that buffer is valid
Fixes: https://github.com/neovim/neovim/issues/23921
(cherry picked from commit 1cf3184f95)
2023-06-05 16:53:33 +00:00
zeertzjq
af1f4c7122
Merge pull request #23900 from neovim/backport-23899-to-release-0.9
[Backport release-0.9] fix(ui): don't send empty grid_line with redrawdebug=compositor
2023-06-04 10:58:37 +08:00
zeertzjq
06d0985722 fix(ui): don't send empty grid_line with redrawdebug=compositor
(cherry picked from commit 12f2e47f2a)
2023-06-04 02:49:20 +00:00
zeertzjq
b9e380fed9
Merge pull request #23883 from neovim/backport-23073-to-release-0.9
[Backport release-0.9] build: don't print installed files locally
2023-06-02 22:14:28 +08:00
dundargoc
d964aba20d build: don't print installed files locally
It takes a significant amount of time to install neovim, and doubly so
on Windows, due to the sheer amount of files neovim ships with. On CI
this information may be important though, so we enable it if the
CI_ENABLE option is set to ON.

(cherry picked from commit 85baadd3d5)
2023-06-02 14:01:36 +00:00
Christian Clason
4892db22e2
fix(treesitter): remove incompatible c query (#23859)
`#has-parent?` and `#has-ancestor?` predicates were not backported
2023-06-02 11:53:40 +02:00
zeertzjq
7ef651beaf
Merge pull request #23881 from neovim/backport-23878-to-release-0.9
[Backport release-0.9] ci: remove ci/ from cache key
2023-06-02 17:40:15 +08:00
zeertzjq
0db9169a52 ci: remove ci/ from cache key
The ci/ directory is now only used for Cirrus, not for GitHub Actions.

(cherry picked from commit d928079c81)
2023-06-02 09:39:00 +00:00
zeertzjq
9078db9bbb
Merge pull request #23874 from neovim/backport-23873-to-release-0.9
[Backport release-0.9] vim-patch:9.0.1597: cursor ends up below the window after a put
2023-06-02 09:00:13 +08:00
zeertzjq
0e39b334c0 vim-patch:9.0.1597: cursor ends up below the window after a put
Problem:    Cursor ends up below the window after a put.
Solution:   Mark w_crow and w_botline invalid when changing the cursor line.
            (closes vim/vim#12465)

8509014add

Co-authored-by: Bram Moolenaar <Bram@vim.org>
(cherry picked from commit 7a0726caee)
2023-06-02 00:49:10 +00:00
zeertzjq
f9a615fb21
Merge pull request #23862 from neovim/backport-23854-to-release-0.9
[Backport release-0.9] fix(column): don't overflow sign column with extmark signs
2023-06-01 17:00:41 +08:00
zeertzjq
022b5ba45d
test(ui/decorations_spec): add local variable assert_alive 2023-06-01 16:34:18 +08:00
zeertzjq
56c35faf8b fix(column): don't overflow sign column with extmark signs
(cherry picked from commit 24a6804528)
2023-06-01 08:20:53 +00:00
github-actions[bot]
06d137681e
[Backport release-0.9] ci(response): use pagination for timeline events (#23844)
ci(response): use pagination for timeline events

GitHub paginates responses with many results, which needs to be taken
into account as the number of events in an issue can be large.

(cherry picked from commit b5a8b6b16d)

Co-authored-by: dundargoc <gocdundar@gmail.com>
2023-05-30 21:53:07 +02:00
github-actions[bot]
4b79441b14
[Backport release-0.9] ci: replace stale bot with custom implementation (#23843)
ci: replace stale bot with custom implementation

The stale action has a bug where it won't close an issue/PR if it has
comments after the stale label.

(cherry picked from commit 5a97c0b0b9)

Co-authored-by: dundargoc <gocdundar@gmail.com>
2023-05-30 21:51:29 +02:00
github-actions[bot]
2113b9e4b0
[Backport release-0.9] ci: auto add label according title (#23842)
ci: add issue open check
2023-05-30 21:48:43 +02:00
dundargoc
6edd802840
Merge pull request #23841 from dundargoc/backport/token
ci: remove unnecessary token usage
2023-05-30 21:31:34 +02:00
zeertzjq
1513666203 ci(labeler): add back GitHub token for type-scope
It is required by `gh pr edit`.
2023-05-30 21:30:45 +02:00
dundargoc
afdb5fa3cd ci: remove unnecessary token usage 2023-05-30 21:30:16 +02:00
dundargoc
cd73e54c42
ci: remove reviewdog for uncrustify (#23840)
Now that uncrustify is bundled it is no longer necessary.
2023-05-30 21:16:07 +02:00
dundargoc
0a954f41c4
ci: replace stylua action with our own lint target (#23838)
This will prevent situations where the linting works on CI but not
locally, at the cost of increased CI time.

Also manually ignore `runtime/vim/lua/re.lua`, as the .styluaignore
isn't respected when specifying a file instead of a directory.
2023-05-30 21:10:55 +02:00
github-actions[bot]
8463161daa
[Backport release-0.9] ci: update reviewers (#23837)
ci: update reviewers

(cherry picked from commit a647cfcbcb)

Co-authored-by: dundargoc <gocdundar@gmail.com>
2023-05-30 20:42:49 +02:00
dundargoc
72209f4bf7
ci: remove team reviewers (#23836)
Team reviewers is a nice feature that comes with a severe drawback: it
makes testing the workflows incredibly difficult as they won't work
without a similar token by the tester.
2023-05-30 20:39:25 +02:00
github-actions[bot]
2833230791
[Backport release-0.9] ci: use a set instead of array for team reviewers (#23835)
ci: use a set instead of array for team reviewers

Adding the same team multiple times will fails the review job.

(cherry picked from commit 4cb2b747c0)

Co-authored-by: dundargoc <gocdundar@gmail.com>
2023-05-30 20:29:26 +02:00
dundargoc
09f97ff9a8
Merge pull request #23833 from neovim/backport-23626-to-release-0.9
[Backport release-0.9] ci: remove api-docs-check workflow
2023-05-30 19:34:04 +02:00
dundargoc
b257480955 ci: remove api-docs-check workflow
Having a workflow that creates a PR with the necessary changes on master
is redundant as this check is enforced for each PR anyway.

(cherry picked from commit c84e668242)
2023-05-30 17:32:39 +00:00
github-actions[bot]
a4097be568
[Backport release-0.9] ci: simplify backport workflow (#23832)
ci: simplify backport workflow

(cherry picked from commit baebb30e36)

Co-authored-by: dundargoc <gocdundar@gmail.com>
2023-05-30 18:37:31 +02:00
zeertzjq
433ccdfc79
Merge pull request #23828 from neovim/backport-23823-to-release-0.9
[Backport release-0.9] fix(statusline): corrupted screen with minwid sign item in 'statuscolumn'
2023-05-30 21:24:43 +08:00
Luuk van Baal
126a757c55 fix(column): corrupted screen with minwid sign item in 'statuscolumn'
(cherry picked from commit 2016ff6f37)
2023-05-30 12:56:36 +00:00
zeertzjq
65fc17b343
Merge pull request #23815 from neovim/backport-23283-to-release-0.9
[Backport release-0.9] ci(release): clean up wording and undeprecate tar.gz
2023-05-29 19:56:54 +08:00
dundargoc
954cc51226 ci(release): clean up wording and undeprecate tar.gz
(cherry picked from commit 0357de7d72)
2023-05-29 11:41:11 +00:00
bfredl
18fe3a6a44 version bump 2023-05-29 13:27:47 +02:00
bfredl
7d4bba7aa7 NVIM 0.9.1
This is a maintenance release, consisting of bug fixes.

- checkhealth: Add shims for health functions (#23241)
- Add vim.lsp.buf.formatting_sync() to deprecated.txt
- treesitter: update parsers and queries
- api: Extmark highlight groups not always included in details
- api: Avoid assertion when autocmd group id is 0
- api: Don't change title when setting buffer in a window
- api: Nvim_get_hl should return default flag
- colorscheme: Try .lua files in 'rtp' before .vim files in 'pp'
- statuscolumn: fix issues when used with virt_lines and signs
- drawline: Make cursorlineopt=screenline work with resized grid
- eval: Prevent double-free in garbage collection
- extmarks: Don't show virt lines for end mark
- float: Make bufpos work properly with resized parent grid
- highlight: Add missing g: prefix for colors_name
- highlight: Combine ColorColumn with low-priority CursorLine
- highlight: Apply 'winblend' to NormalNC
- lua: Inspect_pos respect bufnr when get syntax info
- lua: Vim.split may trim inner empty items
- man.lua: Don't continue on command error
- man.lua: Return support of all sections
- mark: Properly init mark views
- messages: Ensure msg_grid is at top at more prompt
- mkspell: Prevent Unicode character overflow
- mouse: Cmdline click registered as statuscolumn
- mouse: Fix popup menu position check with winbar
- normal: Make "g$" work properly with resized grid
- pum: Show right-click menu above cmdline area
- pum: Position properly with multigrid and floats
- pum: Fix issues with with 'rightleft'
- redo: Make redo of Lua mappings in op-pending mode work
- redraw: Multibyte characters are wrapped at the end of a line
- redraw: Overwrite double-width char with virt_text properly
- ruler: Show ruler of curwin with no statusline in cmdline
- spell: Extmark with spell=false should disable spell
- statusline: Also allow right click when 'mousemodel' is "popup*"
- substitute: Properly check if preview is needed
- termdebug: Handle partial lines passed to callback
- tui: Position cursor at bottom-left before stopping
- tui: Redraw on SIGWINCH even if size didn't change
- tui: Grid_clear properly clears the screen
- tui: Fix title restore with title stack or altscreen
- ui: Send title to newly-attached UI
- windows: Set stdout to binary mode for --api-info
- windows: Revert installation context to per-machine
- build: Include all dependency directories when generating headers
2023-05-29 13:24:38 +02:00
zeertzjq
c0137e711b
Merge pull request #23810 from neovim/backport-23809-to-release-0.9
[Backport release-0.9] fix(substitute): properly check if preview is needed
2023-05-29 09:11:14 +08:00
zeertzjq
a2bfe4e524 fix(substitute): properly check if preview is needed
(cherry picked from commit c8004af17d)
2023-05-29 00:45:14 +00:00
github-actions[bot]
a1007597ca
[Backport release-0.9] fix(ftplugin): source Lua files after Vimscript files per directory (#23805)
fix(ftplugin): source Lua files after Vimscript files per directory

Problem: Lua ftplugins in runtime take precedence over Vimscript
ftplugins in user configs (even in `after/`).
Solution: Source ftplugins separately per directory, first Vimscript
then Lua.

(cherry picked from commit d2e4386991)

Co-authored-by: Christian Clason <c.clason@uni-graz.at>
2023-05-28 15:23:51 +02:00
zeertzjq
b1f5be5338
Merge pull request #23798 from neovim/backport-23792-to-release-0.9
[Backport release-0.9] fix(extmarks): don't show virt lines for end mark
2023-05-28 17:32:28 +08:00
zeertzjq
edf2a5aa25 fix(extmarks): don't show virt lines for end mark
(cherry picked from commit ffbf0cecb6)
2023-05-28 09:22:44 +00:00
zeertzjq
e953f29c9b
Merge pull request #23787 from neovim/backport-23785-to-release-0.9
[Backport release-0.9] vim-patch:9.0.1582: :stopinsert may not work in a popup close handler
2023-05-27 22:25:47 +08:00
zeertzjq
eaacdd059e vim-patch:9.0.1582: :stopinsert may not work in a popup close handler
Problem:    :stopinsert may not work in a popup close handler. (Ben Jackson)
Solution:   Restore stop_insert_mode when appropriate. (closes vim/vim#12452,
            closes vim/vim#12434)

a40c0bcc83
(cherry picked from commit a9d6bc7082)
2023-05-27 14:15:41 +00:00
zeertzjq
b5a66b1830
Merge pull request #23779 from neovim/backport-23727-to-release-0.9
[Backport release-0.9] fix(colorscheme): try .lua files in 'rtp' before .vim files in 'pp'
2023-05-27 11:14:44 +08:00
zeertzjq
7556850724 fix(colorscheme): try .lua files in 'rtp' before .vim files in 'pp'
This ensures that colorschemes in 'rtp' are tried before ones in 'pp',
because some colorschemes in 'pp' may not work if not added to 'rtp'.

This also match the current documentation better.

(cherry picked from commit 237a6ed2ff)
2023-05-27 03:03:56 +00:00
zeertzjq
68f967ce47
Merge pull request #23778 from neovim/backport-23776-to-release-0.9
[Backport release-0.9] fix(tui): restore title before exiting alternate screen
2023-05-27 10:30:39 +08:00