Commit Graph

1048 Commits

Author SHA1 Message Date
Folke Lemaitre 2dfccd7b94
fix(ui): don't treat suspended as headless. Closes #1626 2024-07-08 07:28:02 +02: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
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
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
Folke Lemaitre 81d2bfffdc
fix(git): only check for new commits for local plugins. Closes #1512 2024-07-07 08:42:21 +02:00
github-actions[bot] 6ca23c15f6
chore(main): release 11.10.1 (#1612)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-05 16:13:11 +02:00
Folke Lemaitre baac551777
fix(lockfile): keep cond=false and enabed=false in lockfile. Fixes #1535. Fixes #1606 2024-07-05 09:01:04 +02:00
github-actions[bot] 407e65c792
chore(main): release 11.10.0 (#1609)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-04 21:01:57 +02:00
Folke Lemaitre 1225f1dc60
ci: dont enable local specs for minit 2024-07-04 18:00:59 +02:00
Folke Lemaitre a17ad27435
build: better minit 2024-07-04 17:53:45 +02:00
Folke Lemaitre 923e1aa7a4
fix(plugin): local spec name 2024-07-04 16:16:39 +02:00
Folke Lemaitre 6fdd904ee4
fix(config): determine headless only during startup. Fixes #1608 2024-07-04 15:19:41 +02:00
Folke Lemaitre 0f2786bcc9
feat(profiling): merge VeryLazy stats and show startuptime in profile view 2024-07-04 15:17:10 +02:00
github-actions[bot] cea5920abb
chore(main): release 11.9.2 (#1595)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-03 12:11:21 +02:00
Folke Lemaitre d0921f5b9b
fix(health): check for errors when executing commands. Closes #1599 2024-07-02 13:43:03 +02:00
Folke Lemaitre a9d7ade203
perf(plugin): minor optim to resolve imports a bit faster 2024-07-01 07:07:49 +02:00
Folke Lemaitre 1fad61712b
fix(async): make asyncs abortable 2024-06-30 13:35:14 +02:00
github-actions[bot] c882227f1f
chore(main): release 11.9.1 (#1592)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-30 12:47:41 +02:00
Folke Lemaitre 2f4ac035bc
perf: suspend when tasks are active 2024-06-30 09:13:04 +02:00
Folke Lemaitre c7ed87f9ca
perf: automatically suspend the scheduler when all threads are waiting (#1591)
* perf: automatically suspend the scheduler when all threads are waiting

* ci: fix ci

* test: cleanup
2024-06-30 08:48:03 +02:00
github-actions[bot] 0507e19289
chore(main): release 11.9.0 (#1587)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-29 17:01:41 +02:00
Folke Lemaitre 5e3c112cb3
feat(ui): use [[ & ]] to navigate between plugins. Fixes #1463 2024-06-29 14:23:31 +02:00
Folke Lemaitre 3772914075
fix(ui): when closing details, jump to plugin header. Closes #1338 2024-06-29 14:23:31 +02:00
github-actions[bot] 5bddef2415
chore(main): release 11.8.2 (#1586)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-29 13:59:37 +02:00
Folke Lemaitre 5d334b9f57
fix(ui): save/restore view right before/after rendering 2024-06-29 13:58:13 +02:00
Folke Lemaitre a75d950b8f
fix(process): deal with process errors 2024-06-29 13:52:50 +02:00
Folke Lemaitre 9ab3061690
perf(rocks): `vim.fn.executable` is slow on WSL2, so only check for `luarocks` when needed. Closes #1585 2024-06-29 11:44:31 +02:00
github-actions[bot] 8dd947fccd
chore(main): release 11.8.1 (#1584)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-29 10:37:55 +02:00
Folke Lemaitre 3513227a9a
fix(async): remove debug assert 2024-06-29 10:36:37 +02:00
github-actions[bot] 00c23e72a3
chore(main): release 11.8.0 (#1583)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-29 10:20:23 +02:00
Folke Lemaitre 695a05872a
feat(plugin): allow loading specs without pkg 2024-06-29 10:18:33 +02:00
github-actions[bot] cece2a9b4a
chore(main): release 11.7.0 (#1582)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-29 08:13:24 +02:00
Folke Lemaitre 88f4d13e5f
feat(minit): fallback to habamax when no colorscheme set 2024-06-29 08:11:42 +02:00
Folke Lemaitre 3078688263
ci(minit): LAZY_STDPATH 2024-06-29 08:03:37 +02:00
Folke Lemaitre 0e106c085c
ci(minit): added repro 2024-06-29 07:46:41 +02:00
Folke Lemaitre f47ab692f1
ci: allow to run busted script with nvim -u to inspect env 2024-06-29 07:26:55 +02:00
github-actions[bot] cfdfb786b1
chore(main): release 11.6.0 (#1579)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-29 07:17:01 +02:00
Folke Lemaitre c93eb359a3
ci: minit (minimal init) 2024-06-29 07:15:22 +02:00
Folke Lemaitre 9cf745939d
feat(task): build procs can now yield a LazyMsg for more control 2024-06-28 20:17:35 +02:00
github-actions[bot] ec95702ae6
chore(main): release 11.5.2 (#1577)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-28 18:33:22 +02:00
Folke Lemaitre 2a6a2dce1b
fix(git): tagrefs 2024-06-28 18:31:12 +02:00
github-actions[bot] a617d9f47b
chore(main): release 11.5.1 (#1573)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-28 17:47:04 +02:00
Folke Lemaitre f85575ab23
perf: use timer instead of check for async executor 2024-06-28 17:44:43 +02:00
Folke Lemaitre ab46edbd47
perf: async render 2024-06-28 17:44:21 +02:00
Folke Lemaitre a36ebd2a75
refactor: async processes 2024-06-28 16:08:26 +02:00
Folke Lemaitre 4319846b8c
fix(rocks): lua-5.1. Closes #1575 2024-06-28 16:07:49 +02:00
Folke Lemaitre 60fe75c88d
fix(task): run on_exit async. See #1569 2024-06-28 00:35:41 +02:00
Folke Lemaitre 461552474c
refactor: cleanup 2024-06-28 00:35:40 +02:00
github-actions[bot] 37c7163f8d
chore(main): release 11.5.0 (#1565)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-27 17:34:05 +02:00
Folke Lemaitre 68cee30cdb
perf: prevent active waiting in coroutines. suspend/resume instead 2024-06-27 13:06:39 +02:00