Commit Graph

189 Commits

Author SHA1 Message Date
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
Folke Lemaitre 2128ca90fb
feat(spec): event, keys, ft and cmd can now also be a function that returns the values to be used 2023-01-12 13:08:43 +01:00
Folke Lemaitre d5345910a7
docs: clarified opts/config a bit 2023-01-09 08:22:05 +01:00
Folke Lemaitre 7260a2b28b
feat(spec)!: setting a table to `Plugin.config` is now deprecated. Please use `Plugin.opts` instead. (backward compatible for now) 2023-01-08 15:01:58 +01:00
Folke Lemaitre 735f2a280e
docs: LazyVim 2023-01-07 12:10:23 +01:00
Folke Lemaitre ae12dd9686
docs: updated LazyVim links 2023-01-07 12:08:31 +01:00
Folke Lemaitre eed1ef3c2d
feat(commands): `:Lazy! load` now skips `cond` checks when loading plugins. Fixes #330 2023-01-06 07:11:50 +01:00
Folke Lemaitre aadc912694
docs: removed my dots in favor of LazyVim 2023-01-05 14:28:28 +01:00
colton e039ff6e28
docs: fix references to config.plugins (#282) 2023-01-02 17:20:32 +01:00