Commit Graph

889 Commits

Author SHA1 Message Date
Folke Lemaitre 3e4c795cec
fix(keys): never lazy-load `<nop>` or empty rhs keymaps 2024-06-06 09:28:35 +02:00
Vlad 784a726f2e
style: Set vim.opt.rtp type to vim.Option (#1498)
## Details

There is an issue in the `neodev` repo that mentions this:
[#193](https://github.com/folke/neodev.nvim/issues/193)

I think the problem comes from a combination of 2 things:

1. As mentioned in the [Reddit post](https://www.reddit.com/r/neovim/comments/1cvrilk/diagnosticwarning_after_upgrade_to_neovim_010/):
   `Nvim never had Lua type annotations for vim.opt`.
2. Setting `vim.opt.rtp` anywhere in the config will cause Lua-LS to infer the
   type for `vim.opt.rtp`. While users are unlikely to do this it does happen
   in `lazy.nvim`, in places shown in this PR.
2024-06-04 06:58:19 +02:00
Zhizhen He f39c79fcb1
style: fix some typo (#1496) 2024-06-03 09:18:43 +02:00
github-actions[bot] b0ba3f9399
chore(main): release 10.22.1 (#1495)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-02 14:53:20 +02:00
Folke Lemaitre 9242edb739
fix: force new release 2024-06-02 14:51:46 +02:00
Folke Lemaitre 58536d4c81
Revert "feat: set `vim.env.LAZY` to lazy root"
This reverts commit 6a141a6dbb.
2024-06-02 14:48:42 +02:00
github-actions[bot] ad30030b6a
chore(main): release 10.22.0 (#1493)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-01 18:57:42 +02:00
Folke Lemaitre 6a141a6dbb
feat: set `vim.env.LAZY` to lazy root 2024-06-01 18:20:39 +02:00
github-actions[bot] eab487c252
chore(main): release 10.21.2 (#1492)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-31 20:41:13 +02:00
Anshuman Medhi b77aaa08cb
fix(ui): deduplicate plugins when selecting multiple (#1491) 2024-05-31 16:28:33 +02:00
github-actions[bot] 4a8f813d81
chore(main): release 10.21.1 (#1490)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-31 14:14:25 +02:00
Folke Lemaitre 917dfbe2a9
fix(view): backward compat for older Neovim versions. Fixes #1489 2024-05-31 13:55:54 +02:00
github-actions[bot] 24fa2a9708
chore(main): release 10.21.0 (#1477)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-26 16:59:48 +02:00
Folke Lemaitre 9dde1f1bce
feat: added support for local spec files `.lazy.lua` 2024-05-26 16:43:52 +02:00
Christian Clason ea7b9c3c3f
fix(render): disable underline for diagnostics (#1478)
Problem: On current Nvim nightlies, a regression in a
`vim.highlight.range()` refactor makes underlines for diagnostics at end
of line extend into the next line, leading to visual artifacts in the
update view.

Solution: Suppress underlines for diagnostics, as they are not wanted
anyway.
2024-05-26 15:21:58 +02:00
Anshuman Medhi 7667a73dee
feat: single-plugin keys in the lazy view in visual mode (#1476)
Applies to all plugins contained in the range
2024-05-26 10:40:08 +02:00
github-actions[bot] 8f19915175
chore(main): release 10.20.5 (#1445)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-22 00:10:58 +02:00
Folke Lemaitre 82cf974e09
fix(keys): properly deal with ft list for keys. Fixes #1448 2024-05-21 22:10:49 +02:00
Folke Lemaitre 39de11a2fa
fix(keys): properly re-create buffer-local mappings. Fixes #1448 2024-05-20 21:15:04 +02:00
Folke Lemaitre 56a34a825b
fix(help): get rid of any tbl_flatten or iter flatten code 2024-05-19 17:29:43 +02:00
Folke Lemaitre 5d29ffeaa0
style: favorite icon 2024-05-18 13:23:55 +02:00
Kevin Traver 2e04a0c02c
fix(checker): ignore dev plugins (#1384) 2024-05-18 10:14:12 +02:00
Sebastian Lyng Johansen d039aecddb
fix: use vim.iter():flatten():totable() over vim.tbl_flatten (#1454) 2024-05-16 21:44:51 +02:00
Folke Lemaitre d2a4ce22dc
fix(git): force `autocrlf=false`. Fixes #1055 2024-05-13 08:34:39 +02:00
github-actions[bot] 758bb5de98
chore(main): release 10.20.4 (#1400)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-12 10:15:14 +02:00
Tristan Knight 2fcbcaf07a
fix(reload): strings in lua reload (#1439) 2024-05-12 09:50:06 +02:00
Folke Lemaitre 40845063a2
fix(ui): hover now opens repo url when no diff with main. Fixes #1430 2024-05-12 09:43:34 +02:00
Iordanis Petkakis 24234f47a2
fix(ui): add conditional `nvim_get_hl_by_name` for Neovim 0.8.0 (#1429) 2024-05-04 10:01:20 +02:00
Folke Lemaitre 481aed70cc
fix(heath): vim.uv. Fixes #1412 2024-04-22 10:33:32 +02:00
Folke Lemaitre 31ddbea7c1
fix(ui): set backdrop filetype to `lazy_backdrop`. Fixes #1399 2024-03-29 20:28:47 +01:00
github-actions[bot] bef521ac89
chore(main): release 10.20.3 (#1394)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-29 08:18:38 +01:00
Folke Lemaitre 0ccf031227
fix(ui): disable backdrop when Neovim is transparent 2024-03-28 14:52:07 +01:00
Folke Lemaitre f61ca6ec70
docs: fix commands table. Fixes #1393 2024-03-28 12:15:31 +01:00
Folke Lemaitre e753eb6025
ci: better docgen 2024-03-27 22:59:00 +01:00
Folke Lemaitre a836600573
docs: make bootstrap work on stable and nightly. Fixes #1391 2024-03-27 09:23:19 +01:00
github-actions[bot] 65887ea871
chore(main): release 10.20.2 (#1388)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-27 08:55:21 +01:00
Folke Lemaitre eefb8974d6
fix(ui): special handling for floats closed before VimEnter. Seems that WinClosed events dont execute before that. Fixes #1390 2024-03-27 08:48:55 +01:00
Folke Lemaitre d37a76b871
fix(ui): only enable backdrop when guicolors is set. Fixes #1387 2024-03-26 22:57:58 +01:00
github-actions[bot] 68941b7b13
chore(main): release 10.20.1 (#1386)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-26 20:32:47 +01:00
Folke Lemaitre 79e2e85934
fix(ui): properly cleanup on `:quit`. Fixes #1385 2024-03-26 20:31:15 +01:00
github-actions[bot] 107719d31e
chore(main): release 10.20.0 (#1382)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-26 19:54:49 +01:00
Folke Lemaitre a6b74f30d5
feat(ui): backdrop for the lazy floating window. Can be disabled with `opts.ui.backdrop` 2024-03-26 19:52:19 +01:00
Folke Lemaitre eade87fb83
fix(types): fixed type for `version`. Fixes #1381 2024-03-24 11:30:00 +01:00
github-actions[bot] af6afefbb4
chore(main): release 10.19.0 (#1377)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-22 23:39:43 +01:00
Folke Lemaitre 66466a2594
feat(util): option to force system app for util.open 2024-03-22 23:35:22 +01:00
github-actions[bot] 8134f2ac04
chore(main): release 10.18.3 (#1376)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-22 22:51:11 +01:00
Riley Bruins 9131ea4c4a
fix(cache): vim.loop fallback (#1375) 2024-03-22 22:42:17 +01:00
github-actions[bot] 3132d7d27d
chore(main): release 10.18.2 (#1373)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-22 09:19:32 +01:00
William Mathewson b6f7ef856b
fix(ui): Add "bot" to dimmed commands list (#1367)
nvim-treesitter has added a bot to automate updating parsers.
This feels similar to the other commands that are dimmed.
2024-03-22 09:18:36 +01:00
github-actions[bot] c76cc60030
chore(main): release 10.18.1 (#1372)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-22 09:17:40 +01:00