Commit Graph

1646 Commits

Author SHA1 Message Date
github-actions[bot] c92c6b5fd2 chore(build): auto-generate docs 2024-07-18 13:57:58 +00:00
Gert Burger 124b864233
docs(commands): fix command ordering for sync (#1661)
## Description

After a discussion on Slack we noticed that the description of the sync
command is a bit vague. Some people, including myself, assumed
`clean`/`install`/`update` referred to build steps being performed per
plugin.

Another person mentioned they thought it referred to the Lazy commands,
which does make more sense.
They also noticed that the order of the commands do not match the source
code.

So this PR corrects the order, assuming it was meant to be ordered, and
mentions that those are commands for clarity.
2024-07-18 15:57:12 +02:00
github-actions[bot] 8f62257511
chore(main): release 11.13.0 (#1660)
🤖 I have created a release *beep* *boop*
---


##
[11.13.0](https://github.com/folke/lazy.nvim/compare/v11.12.0...v11.13.0)
(2024-07-17)


### Features

* **ui:** added mapping descriptions
([6ca90a2](6ca90a2120))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-18 10:47:30 +02:00
Folke Lemaitre 6ca90a2120
feat(ui): added mapping descriptions 2024-07-18 00:40:42 +02:00
github-actions[bot] 5473e3d77c
chore(main): release 11.12.0 (#1655)
🤖 I have created a release *beep* *boop*
---


##
[11.12.0](https://github.com/folke/lazy.nvim/compare/v11.11.1...v11.12.0)
(2024-07-16)


### Features

* **git:** added git network throttle to limit network related git ops
per interval. Closes
[#1635](https://github.com/folke/lazy.nvim/issues/1635)
([d731a6b](d731a6b005))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-17 12:54:53 +02:00
Folke Lemaitre d731a6b005
feat(git): added git network throttle to limit network related git ops per interval. Closes #1635 2024-07-16 16:50:31 +02:00
github-actions[bot] 9d445ebbd8
chore(update): update repository (#1653)
Automated changes by
[create-pull-request](https://github.com/peter-evans/create-pull-request)
GitHub action

Co-authored-by: folke <292349+folke@users.noreply.github.com>
2024-07-15 17:09:32 +02:00
github-actions[bot] 315191aa9e
chore(update): update repository (#1651)
Automated changes by
[create-pull-request](https://github.com/peter-evans/create-pull-request)
GitHub action

Co-authored-by: folke <292349+folke@users.noreply.github.com>
2024-07-15 11:19:51 +02:00
github-actions[bot] b02c9eae6a
chore(main): release 11.11.1 (#1643)
🤖 I have created a release *beep* *boop*
---


##
[11.11.1](https://github.com/folke/lazy.nvim/compare/v11.11.0...v11.11.1)
(2024-07-13)


### Bug Fixes

* **config:** check for lib64. Fixes
[#1343](https://github.com/folke/lazy.nvim/issues/1343)
([93499c5](93499c5deb))
* **lockfile:** ensure newline at EOF for lockfile
([#1639](https://github.com/folke/lazy.nvim/issues/1639))
([7ed9f71](7ed9f7173c))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-13 22:50:19 +02:00
github-actions[bot] 6e66f8e655
chore(update): update repository (#1648)
Automated changes by
[create-pull-request](https://github.com/peter-evans/create-pull-request)
GitHub action

Co-authored-by: folke <292349+folke@users.noreply.github.com>
2024-07-13 19:29:13 +02:00
Folke Lemaitre 93499c5deb
fix(config): check for lib64. Fixes #1343 2024-07-13 18:07:56 +02:00
github-actions[bot] 788feaf10e
chore(update): update repository (#1644)
Automated changes by
[create-pull-request](https://github.com/peter-evans/create-pull-request)
GitHub action

Co-authored-by: folke <292349+folke@users.noreply.github.com>
2024-07-13 16:16:17 +02:00
github-actions[bot] 58c6bc4ab2
chore(update): update repository (#1638)
Automated changes by
[create-pull-request](https://github.com/peter-evans/create-pull-request)
GitHub action

Co-authored-by: folke <292349+folke@users.noreply.github.com>
2024-07-13 10:07:17 +02:00
Ethan Wu 7ed9f7173c
fix(lockfile): ensure newline at EOF for lockfile (#1639)
## Description

The lockfile currently does not end with a newline at EOF. Text files
should [end with a newline](https://unix.stackexchange.com/a/18789).
This also lets you manually edit the lockfile in vim without 'fixeol'
creating a spurious change for the added newline.

This change however will create a change in users' lockfiles adding a
newline upon updating, but since the lockfile would be changing anyways
to update lazy.nvim itself, this is likely acceptable.

## Related Issue(s)

*none*

## Screenshots

*N/A*
2024-07-13 09:51:44 +02:00
Folke Lemaitre 54f70c757c
ci: add luassert to minitest for now 2024-07-13 09:45:01 +02:00
github-actions[bot] 070418dca1
chore(main): release 11.11.0 (#1634)
🤖 I have created a release *beep* *boop*
---


##
[11.11.0](https://github.com/folke/lazy.nvim/compare/v11.10.4...v11.11.0)
(2024-07-11)


### Features

* add plugin name to handlers.managed
([17473db](17473db1d7))


### Bug Fixes

* **minit:** add tests to package.path when running busted (helpers.lua
etc)
([fadebdc](fadebdc76b))
* **util:** strip `-lua` in normname
([54b003c](54b003c650))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-13 09:25:55 +02:00
Folke Lemaitre 1d451b4c2c
ci: use mini.test instead of busted 2024-07-11 22:32:11 +02:00
Folke Lemaitre 17473db1d7
feat: add plugin name to handlers.managed 2024-07-11 22:04:06 +02:00
Folke Lemaitre 54b003c650
fix(util): strip `-lua` in normname 2024-07-11 22:03:53 +02:00
github-actions[bot] d1de92dffa chore(build): auto-generate docs 2024-07-09 15:26:28 +00:00
Folke Lemaitre 2cb8af1eb1
ci: skip docs on main 2024-07-09 17:25:41 +02:00
folke 159036c576 chore(build): auto-generate docs 2024-07-09 13:03:11 +00:00
Folke Lemaitre fadebdc76b
fix(minit): add tests to package.path when running busted (helpers.lua etc) 2024-07-09 15:02:18 +02:00
github-actions[bot] 1870238cf9 chore(build): auto-generate docs 2024-07-08 05:53:40 +00:00
github-actions[bot] f918318d21
chore(main): release 11.10.4 (#1628)
🤖 I have created a release *beep* *boop*
---


##
[11.10.4](https://github.com/folke/lazy.nvim/compare/v11.10.3...v11.10.4)
(2024-07-08)


### Bug Fixes

* **rocks:** try building anyway even when prerequisits have not been
met. (will likely fail)
([f0324de](f0324defdd))
* **ui:** don't treat suspended as headless. Closes
[#1626](https://github.com/folke/lazy.nvim/issues/1626)
([2dfccd7](2dfccd7b94))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-08 07:52:50 +02:00
folke a4c473cc2d chore(build): auto-generate docs 2024-07-08 05:46:33 +00:00
Folke Lemaitre f0324defdd
fix(rocks): try building anyway even when prerequisits have not been met. (will likely fail) 2024-07-08 07:45:45 +02:00
github-actions[bot] 0002bfbd9f chore(build): auto-generate docs 2024-07-08 05:28:57 +00:00
Folke Lemaitre 2dfccd7b94
fix(ui): don't treat suspended as headless. Closes #1626 2024-07-08 07:28:02 +02:00
folke 44cd12fa27 chore(build): auto-generate docs 2024-07-07 19:26:10 +00:00
github-actions[bot] a6daaf68a2
chore(main): release 11.10.3 (#1625)
🤖 I have created a release *beep* *boop*
---


##
[11.10.3](https://github.com/folke/lazy.nvim/compare/v11.10.2...v11.10.3)
(2024-07-07)


### Bug Fixes

* **git:** local plugin fixes
([#1624](https://github.com/folke/lazy.nvim/issues/1624))
([72c0dc9](72c0dc9462))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-07 21:25:12 +02:00
github-actions[bot] 436d09af7d chore(build): auto-generate docs 2024-07-07 15:15:37 +00:00
github-actions[bot] 93c9a3f872 chore(build): auto-generate docs 2024-07-07 15:14:44 +00:00
Andre Toerien 72c0dc9462
fix(git): local plugin fixes (#1624)
## Description

As I described in
https://github.com/folke/lazy.nvim/pull/1512#issuecomment-2212474372,
this makes it so that local plugins will only show as needing updates if
the local branch is behind the upstream branch. This is done by checking
the output of the `git log` command, and only setting `plugin._.updates`
if the output is not empty.

This seems to solve my issue where local plugins with unpushed changes
always show as needing updates, but if there's a easier/better way of
doing it then please feel free to edit/close this. Or if you don't agree
that the current behaviour is a bug, then that's also fine - it's not a
big deal and I can easily just ignore the "updates available" notice.

I also came across a minor issue where the plugin diff view (press `d`)
compares the wrong commits for local plugins, because
[lua/lazy/view/init.lua](c771cf4928/lua/lazy/view/init.lua (L268))
always uses `get_target`. I fixed this by moving `get_local_target` into
`get_target` - I think this is simpler and more straightforward than the
alternative of adding a ternary everywhere `get_target` is called.

This second bugfix is a very small change, so I've just included it
here, but I'm happy to make a second PR if you'd like.

## Related Issue(s)

Related PR: #1512
2024-07-07 17:13:49 +02:00
folke c771cf4928 chore(build): auto-generate docs 2024-07-07 06:46:59 +00:00
github-actions[bot] 25026d2382 chore(build): auto-generate docs 2024-07-07 06:45:25 +00:00
folke 083f3dfb5e chore(build): auto-generate docs 2024-07-07 06:45:23 +00:00
github-actions[bot] 89b264ac1d
chore(main): release 11.10.2 (#1621)
🤖 I have created a release *beep* *boop*
---


##
[11.10.2](https://github.com/folke/lazy.nvim/compare/v11.10.1...v11.10.2)
(2024-07-07)


### Bug Fixes

* **git:** only check for new commits for local plugins. Closes
[#1512](https://github.com/folke/lazy.nvim/issues/1512)
([81d2bff](81d2bfffdc))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-07 08:44:37 +02:00
github-actions[bot] 23aeb224ed chore(build): auto-generate docs 2024-07-07 06:43:02 +00:00
Folke Lemaitre 81d2bfffdc
fix(git): only check for new commits for local plugins. Closes #1512 2024-07-07 08:42:21 +02:00
folke 933f0b596c chore(build): auto-generate docs 2024-07-06 21:46:26 +00:00
Folke Lemaitre 55b46b3993
ci: update 2024-07-06 23:45:30 +02:00
Folke Lemaitre 23ea80b6a3
ci: update 2024-07-06 23:19:48 +02:00
Folke Lemaitre e6035dc59b
ci: update 2024-07-06 23:18:28 +02:00
github-actions[bot] 0ff7e83c17 chore(build): auto-generate docs 2024-07-06 16:05:52 +00:00
folke 1e7745a4a0 chore(build): auto-generate docs 2024-07-06 16:05:47 +00:00
github-actions[bot] 49a35d3c8c
chore(update): update repository (#1618)
Automated changes by
[create-pull-request](https://github.com/peter-evans/create-pull-request)
GitHub action

Co-authored-by: folke <292349+folke@users.noreply.github.com>
2024-07-06 18:05:10 +02:00
github-actions[bot] 16ccd54360 chore(build): auto-generate docs 2024-07-06 13:01:02 +00:00
github-actions[bot] c060de160a
chore(update): update repository (#1616)
Automated changes by
[create-pull-request](https://github.com/peter-evans/create-pull-request)
GitHub action

Co-authored-by: folke <292349+folke@users.noreply.github.com>
2024-07-06 15:00:16 +02:00
folke e3154ff0b7 chore(build): auto-generate docs 2024-07-06 09:48:26 +00:00