Commit Graph

916 Commits

Author SHA1 Message Date
Folke Lemaitre 44136549ed
docs: fix default lazy-loading comment 2024-06-24 06:44:33 +02:00
Folke Lemaitre 7e20395324
fix(pkg): automatically update pkgs when editing a pkg file 2024-06-23 22:15:10 +02:00
Folke Lemaitre 70f54078e0
fix(pkg): make sure state dir exists 2024-06-23 22:04:32 +02:00
Folke Lemaitre 5a311d04f6
fix(pkg): versioning and reload specs when pkg-cache is dirty 2024-06-23 22:00:48 +02:00
Folke Lemaitre 66ea0ac86e
feat!: new docs for v11.0 2024-06-23 21:07:44 +02:00
Folke Lemaitre 93552cd18e
fix(pkg): correctly pre-load package specs and remove them when needed during resolve 2024-06-23 17:51:03 +02:00
Folke Lemaitre d7bc9ce11a
feat(meta): check for dir changes for plugins already added to the rtp 2024-06-23 17:48:10 +02:00
Folke Lemaitre 9ca807f6bb
docs: added comment on package source order 2024-06-23 10:28:51 +02:00
Folke Lemaitre c37e1a42fd docs: added doc comments 2024-06-23 07:39:09 +02:00
Folke Lemaitre a2b05c38cc feat(pkg): import package specs in the scope of the plugin 2024-06-23 07:39:09 +02:00
Folke Lemaitre 7070cf6ade feat: rewrite of spec resolving 2024-06-23 07:39:09 +02:00
Folke Lemaitre 1e0ab0574e feat: added support for plugin packages by lazy, rockspec and packspec 2024-06-23 07:39:09 +02:00
Folke Lemaitre 2d4f2cb507 feat: luarocks support 2024-06-23 07:39:09 +02:00
Folke Lemaitre c2eff4961b feat: packspec 2024-06-23 07:39:09 +02:00
github-actions[bot] 4ea9fe0600
chore(main): release 10.24.3 (#1529)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-23 07:38:56 +02:00
Folke Lemaitre f4d57485b0
refactor: reloader 2024-06-18 00:36:11 +02:00
Folke Lemaitre 025520d083
fix(util): dump 2024-06-18 00:35:56 +02:00
Folke Lemaitre b4316da731
fix(plugin): rebuild optional when needed and remove frags from parent deps. Fixes #1402 2024-06-16 15:52:33 +02:00
Folke Lemaitre be5dfba542
fix(plugin): better way of dealing with local specs. Fixes #1524 2024-06-16 07:09:33 +02:00
Folke Lemaitre e2e10d9cbe
feat: find local_spec in parent directories as well. Closes #1519 2024-06-15 09:28:58 +02:00
Folke Lemaitre 067fd41933
fix(plugin): check optional plugins again after resolving enabled. Fixes #1402 2024-06-15 09:11:36 +02:00
github-actions[bot] fafe1f7c64
chore(main): release 10.23.0 (#1502)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-07 10:54:20 +02:00
Folke Lemaitre 1f7b720cff
feat(plugin): `opts_extend` can be a list of dotted keys that will be extended instead of merged 2024-06-07 09:02:52 +02:00
Folke Lemaitre 89ddc59d19
Revert "feat(util): opts merging now supports lists extending by tagging a table with __extend = true. Use with care"
This reverts commit 74fd3611f2.
2024-06-06 23:27:29 +02:00
Folke Lemaitre 74fd3611f2
feat(util): opts merging now supports lists extending by tagging a table with __extend = true. Use with care 2024-06-06 23:23:52 +02:00
github-actions[bot] 70f2c090d3
chore(main): release 10.22.2 (#1500)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-06 12:47:53 +02:00
Folke Lemaitre ff90417808
fix(keys): buffer-local nop mappings 2024-06-06 10:15:35 +02:00
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