Commit Graph

197 Commits

Author SHA1 Message Date
Zhizhen He f39c79fcb1
style: fix some typo (#1496) 2024-06-03 09:18:43 +02:00
Folke Lemaitre 9dde1f1bce
feat: added support for local spec files `.lazy.lua` 2024-05-26 16:43:52 +02:00
Markus Koller bb0179139a
docs: clarify default config implementation (#1407) 2024-05-12 09:52:21 +02:00
Folke Lemaitre f61ca6ec70
docs: fix commands table. Fixes #1393 2024-03-28 12:15:31 +01:00
Folke Lemaitre a836600573
docs: make bootstrap work on stable and nightly. Fixes #1391 2024-03-27 09:23:19 +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
Riley Bruins 298bed190e
fix: update to new treesitter capture groups (#1294) 2024-03-07 17:34:29 +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
Tomasz Wysocki 0b507680ee
docs: fix typo in README.md (#1226)
Corrected a typo in Migration Guide section of the README file.

Co-authored-by: Tomasz Wysocki <twysocki5@gmail.com>
2024-01-20 15:08:38 +01:00
Johnny Horvi 89e6840d8b
docs: fix typo (#1230) 2024-01-20 15:08:08 +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
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
Folke Lemaitre 9f5637f1d7
docs: another LazyKeys reference. Fixes #1109 2023-10-13 13:14:40 +02:00
Folke Lemaitre a026f73953
docs: fix types for `keys`. Fixes #1109 2023-10-13 12:37:43 +02:00
Maria José Solano 43c284a578
feat(keys): include custom keys in help menu (#1105) 2023-10-12 07:18:53 +02:00
Folke Lemaitre 303a3ed6a8
feat(event): added support for structured events (see readme on event) 2023-10-11 14:25:12 +02:00
Folke Lemaitre cb3a0555b9
docs: format table 2023-10-10 19:12:07 +02:00
Artyom Andreev a617db7e79
docs: icon for require without nerd font (#1100) 2023-10-10 18:59:13 +02:00
0xAdk 89581ce37e
fix(docs): broken table in readme (#1097) 2023-10-10 09:31:06 +02:00
Folke Lemaitre 423a152e94
feat(profiling): added options to enable additional profiling 2023-10-09 12:38:43 +02:00
Folke Lemaitre c42e63c198
feat(keys): you can now create buffer-local filetype keymaps by specifying `ft=`. Fixes #1076 2023-10-05 14:00:11 +02:00
Mike cc24fc0e85
docs: fix spec opts in README (#1030) 2023-09-27 12:49:20 +02:00
Folke Lemaitre d179a17fa1
docs: added link to pckr.nvim 2023-08-26 17:21:48 +02:00
Distinct Wind a977a7ab21
docs: Fix doc missing bracket (#962) 2023-07-30 11:08:52 +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
Folke Lemaitre ea5b2e00bf
feat(loader): `LazyLoad` event with plugin name as `data` field. Useful to do stuff when a plugin loads 2023-07-12 17:21:32 +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
Folke Lemaitre 2ea3c54b5f
docs: added docs about new build.lua 2023-06-30 18:28:29 +02:00
Folke Lemaitre 6c42a305b7
docs: make it clear that a plugin is loaded before build. Fixes #888 2023-06-22 10:23:54 +02:00
Folke Lemaitre 0bca18de5d
feat: added `Pre` events. Fixes #856. Fixes #877 2023-06-17 08:37:33 +02:00
Folke Lemaitre fe9fcdb0b9
docs: added version=false 2023-05-28 10:42:23 +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
Folke Lemaitre b0aa5348d8
docs: added docs on optional 2023-05-23 08:57:57 +02:00
Folke Lemaitre 67cc8dc07c
docs: updated docs. Fixes #667 2023-03-18 08:57:20 +01:00
Will Norris 37541e57e4
docs(plugins): add example of multiple imports (#669) 2023-03-18 08:38:31 +01:00
abal e5759d202a
feat(help): allow disabling README magic (#663) 2023-03-17 16:18:02 +01:00
Folke Lemaitre 9afba388fa
feat(plugin): added config.defaults.cond. Fixes #640 2023-03-14 11:19:56 +01:00
Folke Lemaitre 47fc27e3f1
style: typo. Fixes #625 2023-03-06 07:40:21 +01:00
adrian5 c7a8e702f7
docs: update some wording and capitalization (#576) 2023-02-28 07:27:19 +01:00
Folke Lemaitre 462633bae1
perf: new file-based cache that ensures correct rtp order (#532)
* perf: new file-based cache that ensures rtp is alweays correct and will cache all files, including those after startup

* refactor: new cache

* test: fix tests

* fix(cache): cache file names on Windows

* feat(cache): allow to disable the cache

* docs: updated cache settings
2023-02-13 12:01:56 +01:00
Folke Lemaitre 0d3f2c4042
feat(git): `Plugin.submodules = false` will now skip fetching git submodules 2023-02-12 12:56:42 +01:00
Maurice Mertens 812ffcf21c
docs: clarifies install step (#495)
Co-authored-by: Maurice Mertens <m.mertens@simplicity.ag>
2023-02-06 09:24:24 +01:00
Folke Lemaitre 07fda7bb98
docs: use another bug emoji. #452 2023-01-25 22:33:50 +01:00
Folke Lemaitre 31dd419aaa
docs: updated 2023-01-24 23:01:11 +01:00
Null Chilly 772d8888cc
feat(dev): optionally fallback to git when local plugin doesn't exist (#446)
* feat: fallback to git when local plugin isn't found

* feat(option): fallback to git when local plugin doesn't exist
2023-01-24 22:55:34 +01:00
Sizhe Zhao 21871f2269
docs: Fix typo in README.md (#433) 2023-01-22 15:23:26 +01:00
Folke Lemaitre 3f8cc2c0df
docs: generated docs 2023-01-19 22:08:58 +01:00
Daniel M. Capella c3a0d444f6
docs: fix indentation (#419) 2023-01-18 08:34:29 +01:00
Jay Patel 1b219c1704
docs: Update plugin table `config` to represent how `require` works (#399) 2023-01-15 19:56:51 +01:00
Axel Dahlberg 891cdfacde
docs: clarify config = true (#390) 2023-01-15 12:01:12 +01:00