Commit Graph

274 Commits

Author SHA1 Message Date
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
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
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
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
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 5d29ffeaa0
style: favorite icon 2024-05-18 13:23:55 +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
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
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
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
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
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
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
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
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
github-actions[bot] b2174810cd
chore(main): release 10.18.0 (#1369)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-22 09:01:10 +01:00
Folke Lemaitre 9e157df077
feat: refactor all vim.loop -> vim.uv and add a shim when needed 2024-03-22 08:58:36 +01:00
github-actions[bot] 83493db50a
chore(main): release 10.17.0 (#1292)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-07 17:41:58 +01:00
TheSast 0694651fd3
feat(loader): warn when maplocalleader is changed after init (#1326)
* feat(loader): warn when maplocalleader is changed after init

* docs: default maplocalleader

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2024-03-07 17:32:07 +01:00
github-actions[bot] 28126922c9
chore(main): release 10.16.0 (#1284)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-01-21 11:43:48 +01:00
atusy a6f782adc1
feat(plugin): dev.path can now be a function (#1157)
In some case, `dev.path .. plugin.name` is not enoguh.

For example, when using `ghq` to manage projects, plugin directories may
vary by onewrs of the plugins.

With this change, users can do something like below

``` lua
require("lazy").setup("plugins", {
  dev = {
    path = function(p)
      -- ghq
      local path, cnt = string.gsub(p.url, "^https://(.*)%.git$", "~/ghq/%1")
      if cnt == 1 then
        return path
      end

      -- fallback to default
      return "~/projects/" .. plugin.name
    end,
  },
})
```
2024-01-20 14:19:09 +01:00
github-actions[bot] 96584866b9
chore(main): release 10.15.1 (#1166)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-04 11:12:07 +01:00
github-actions[bot] 16603c6917
chore(main): release 10.15.0 (#1147)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-25 20:13:09 +02:00
Maria José Solano 4446fdb9af
feat(ui): check pinned packages that can't be updated (#1139)
* style: fix filter types

* feat: check outdated pinned plugins
2023-10-23 07:52:54 +02:00
github-actions[bot] 4c75c8eeb9
chore(main): release 10.14.6 (#1130)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-17 21:52:13 +02:00
github-actions[bot] c7298a10db
chore(main): release 10.14.5 (#1129)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-17 10:04:13 +02:00
github-actions[bot] f73986546c
chore(main): release 10.14.4 (#1128)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-17 00:33:20 +02:00
github-actions[bot] 3049575bd8
chore(main): release 10.14.3 (#1127)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-16 23:09:07 +02:00
Folke Lemaitre 2f169e74d4
refactor(handlers): lazy resolving of plugin handlers (#1126)
* refactor(handlers): lazy resolving of plugin handlers

* test: fixed tests
2023-10-16 22:34:44 +02:00
github-actions[bot] b9c604e839
chore(main): release 10.14.2 (#1125)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-16 18:18:42 +02:00
github-actions[bot] 239f0fa9c1
chore(main): release 10.14.1 (#1123)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-16 15:30:19 +02:00
github-actions[bot] ed6c9ffe21
chore(main): release 10.14.0 (#1120)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-15 22:24:48 +02:00
github-actions[bot] 1c16e4236f
chore(main): release 10.13.4 (#1117)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-14 17:33:31 +02:00
sibouras a993bfd6de
docs: update git.log in readme (#1115)
* docs: update git.log in readme

* Revert "docs: update git.log in readme"

This reverts commit ff602aa987.

* update git.log in lazy.core.config
2023-10-14 17:14:45 +02:00
github-actions[bot] a27935e0d4
chore(main): release 10.13.3 (#1116)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-14 17:02:44 +02:00
github-actions[bot] 276e572f64
chore(main): release 10.13.2 (#1110)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-13 13:17:52 +02:00
github-actions[bot] 33c447b96e
chore(main): release 10.13.1 (#1108)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-12 12:40:23 +02:00
github-actions[bot] 117556d9e7
chore(main): release 10.13.0 (#1106)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-12 11:40:26 +02:00
Maria José Solano 43c284a578
feat(keys): include custom keys in help menu (#1105) 2023-10-12 07:18:53 +02:00
github-actions[bot] 906ff8e569
chore(main): release 10.12.0 (#1102)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-11 15:00:30 +02:00
github-actions[bot] 73fbf5ccab
chore(main): release 10.11.0 (#1101)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-10 19:52:13 +02:00
github-actions[bot] 84d13c1d7e
chore(main): release 10.10.0 (#1098)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-10 16:15:05 +02:00
github-actions[bot] 0d9989d46c
chore(main): release 10.9.1 (#1096)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-09 23:45:04 +02:00
github-actions[bot] 41d3b2a9db
chore(main): release 10.9.0 (#1092)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-09 12:43:14 +02:00
Folke Lemaitre 423a152e94
feat(profiling): added options to enable additional profiling 2023-10-09 12:38:43 +02:00
github-actions[bot] 0a07fa6cd7
chore(main): release 10.8.2 (#1091)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-08 19:32:24 +02:00
github-actions[bot] 9102d051a8
chore(main): release 10.8.1 (#1090)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-08 12:57:44 +02:00
github-actions[bot] 4b5b03f603
chore(main): release 10.8.0 (#1088)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-08 10:13:01 +02:00
github-actions[bot] 62745a7320
chore(main): release 10.7.3 (#1087)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-07 20:45:37 +02:00
github-actions[bot] 5aaafcb301
chore(main): release 10.7.2 (#1086)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-07 11:44:13 +02:00
github-actions[bot] 6687afae42
chore(main): release 10.7.1 (#1083)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-06 20:22:13 +02:00
github-actions[bot] 25f6009087
chore(main): release 10.7.0 (#1081)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-06 15:53:37 +02:00
github-actions[bot] 6b6f0a4512
chore(main): release 10.6.0 (#1078)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-05 16:05:05 +02:00
github-actions[bot] 64cb9b16f6
chore(main): release 10.5.1 (#1071)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-04 21:15:11 +02:00
github-actions[bot] 28a80136b5
chore(main): release 10.5.0 (#1069)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-04 00:30:12 +02:00
github-actions[bot] 59335c5b9d
chore(main): release 10.4.1 (#1062)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-09-30 18:08:27 +02:00
github-actions[bot] 753c391b44
chore(main): release 10.4.0 (#1054)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-09-29 16:14:01 +02:00
github-actions[bot] 7ca3bdb566
chore(main): release 10.3.1 (#1051)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-09-27 14:48:20 +02:00
github-actions[bot] 3ad55ae678
chore(main): release 10.3.0 (#948)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-22 10:23:12 +02:00
github-actions[bot] af4d24b8d0
chore(main): release 10.2.1 (#946)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-22 09:09:46 +02:00
github-actions[bot] b7303a6830
chore(main): release 10.2.0 (#939)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-21 08:14:51 +02:00
3719e04 84266b9f0f
feat(view): add option `ui.pills`. Set to `false` to disable the top buttons in the lazy window (#938)
* add option `ui.button`

* add option `ui.button`

* refactor: rename button to pills

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2023-07-20 23:48:50 +02:00
github-actions[bot] 14d76aac4b
chore(main): release 10.1.0 (#927)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-12 17:24:07 +02:00
github-actions[bot] da8b00581a
chore(main): release 10.0.2 (#923)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-09 09:46:59 +02:00
github-actions[bot] 5af331ea65
chore(main): release 10.0.1 (#919)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-06 20:44:00 +02:00
github-actions[bot] 29f8e3ecb7
chore(main): release 10.0.0 (#918)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-06 15:40:23 +02:00
github-actions[bot] 0d61488b89
chore(main): release 9.25.1 (#904)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-01 08:51:17 +02:00
Folke Lemaitre 189371c8d8
fix(build): allow `build` command to override plugin's build and option to disable warning 2023-06-30 21:19:33 +02:00
github-actions[bot] de0a911ad9
chore(main): release 9.25.0 (#898)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-30 18:30:15 +02:00
github-actions[bot] b7043f2983
chore(main): release 9.24.2 (#890)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-22 11:17:54 +02:00
Folke Lemaitre d7d5842d1c
fix(config): on windows default concurrency is now set to 2*available parallelism. See #887 2023-06-22 11:04:28 +02:00
github-actions[bot] c1aad95243
chore(main): release 9.24.1 (#882)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-19 11:28:26 +02:00
github-actions[bot] 67af46a7f5
chore(main): release 9.24.0 (#870)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-17 08:40:02 +02:00
github-actions[bot] 6b2311a46a
chore(main): release 9.23.0 (#859)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-09 12:56:48 +02:00
Folke Lemaitre f131606190
feat(startup): added data/site to the rtp. Will be used by upcoming treesitter version 2023-06-08 17:23:02 +02:00
github-actions[bot] f145e6f42a
chore(main): release 9.22.2 (#854)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-03 15:39:09 +02:00
github-actions[bot] 6ad76ecc26
chore(main): release 9.22.1 (#853)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-03 13:47:20 +02:00
github-actions[bot] 9223c1aa20
chore(main): release 9.22.0 (#852)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-03 10:55:15 +02:00
github-actions[bot] ebdd049955
chore(main): release 9.21.1 (#840)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-28 12:55:02 +02:00
github-actions[bot] a93d8983c4
chore(main): release 9.21.0 (#837)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-27 16:14:24 +02:00
github-actions[bot] 7f34cb892b
chore(main): release 9.20.0 (#836)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-27 14:36:14 +02:00
Folke Lemaitre 9dce0816f1
feat(ui): added support for setting a title of the lazy window. Fixes #814 2023-05-27 14:28:09 +02:00
github-actions[bot] 97c2f8858c
chore(main): release 9.19.1 (#835)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-27 10:03:47 +02:00
github-actions[bot] 67ae8bbbe3
chore(main): release 9.19.0 (#826)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-25 09:13:34 +02:00
Folke Lemaitre 49a7f21ee3
feat(git): change default log args to last 8 2023-05-25 08:07:44 +02:00
github-actions[bot] 761b8388af
chore(main): release 9.18.2 (#820)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-23 09:01:50 +02:00
github-actions[bot] 6610b15dfd
chore(main): release 9.18.1 (#815)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-22 14:58:33 +02:00
github-actions[bot] 8cd4a59674
chore(main): release 9.18.0 (#809)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-22 14:37:25 +02:00
github-actions[bot] c711b4f8a6
chore(main): release 9.17.0 (#806)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-19 10:23:49 +02:00
github-actions[bot] 53e1c49bae
chore(main): release 9.16.1 (#804)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-17 19:38:31 +02:00
github-actions[bot] aba872ec78
chore(main): release 9.16.0 (#801)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-13 16:12:49 +02:00
github-actions[bot] e9b3b83914
chore(main): release 9.15.0 (#795)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-13 15:48:53 +02:00
github-actions[bot] 51a3873ccd
chore(main): release 9.14.11 (#782)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-07 19:32:26 +02:00