Commit Graph

1080 Commits

Author SHA1 Message Date
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
Folke Lemaitre 79bcc02d17
ci: make simple test script 2024-06-27 12:48:50 +02:00
Folke Lemaitre e3e431480d
feat(ui): remap gx -> K. Fixes #1561 2024-06-27 12:38:47 +02:00
Folke Lemaitre c0fd59b020
feat(health): show steps to get luarocks working. See #1570 2024-06-27 12:31:58 +02:00
Folke Lemaitre 82276321f5
fix(rocks): if installing with luarocks (binaries) fails, then build from source. Fixes #1563 2024-06-27 11:33:11 +02:00
Folke Lemaitre e02c5b1b57
fix(runner): only check for errors when a task is no longer running 2024-06-27 11:32:30 +02:00
Folke Lemaitre a0391c3e21
fix(manage): dont skip install for plugins that need a build, but dont have an url (like local plugins). Fixes #1563 2024-06-27 11:32:00 +02:00
Folke Lemaitre 53f314d9e6
feat(ui): show indication of plugins that need build. See #1563 2024-06-27 11:31:20 +02:00
Folke Lemaitre 2e1167df4a
feat: added localleader-i to inspect a plugin 2024-06-27 11:30:29 +02:00
Folke Lemaitre 9c8e7a4840
feat(health): show user's lazy.nvim version in checkhealth 2024-06-27 10:44:35 +02:00
Folke Lemaitre 6a423278a1
fix(meta): resolve deps from meta instead of fragments. Fixes #1566 2024-06-27 10:21:54 +02:00
Folke Lemaitre 24a86d5ca4
fix(pkg): only show pkg changed when effectively changing a pkg file. Fixes #1567 2024-06-27 09:48:37 +02:00
Folke Lemaitre 591ded8309
feat(ui): keep cursor position when rendering view 2024-06-26 22:45:21 +02:00
Folke Lemaitre 249902ab31
fix(ui): diagnostics without status 2024-06-26 22:44:57 +02:00
Folke Lemaitre a0a51c06c2
feat: added `opts.headless` to control ansi output when running headless 2024-06-26 21:38:28 +02:00
Folke Lemaitre 93b3a77286
fix(runner): wait_step 2024-06-26 20:17:32 +02:00
Folke Lemaitre 66a4170f0e
fix(runner): properly do concurrency 2024-06-26 19:58:45 +02:00
Folke Lemaitre 97f4df0824
fix(runner): only use Config.plugins when updated. Fixes #1560 2024-06-26 19:39:28 +02:00
Folke Lemaitre 804cae0a65
refactor: hererocks check 2024-06-26 19:39:28 +02:00
github-actions[bot] 20af3fcc4e
chore(main): release 11.4.2 (#1558)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-26 18:47:38 +02:00
Folke Lemaitre 56075b57c4
fix(runner): bring concurrency back 2024-06-26 18:45:40 +02:00
Folke Lemaitre 206d208018
test: fix tests 2024-06-26 18:42:52 +02:00
Folke Lemaitre 6c7ef7e27a
refactor: logging 2024-06-26 18:31:31 +02:00
Folke Lemaitre 765773a176
refactor: use new async code for runner and simplify task class 2024-06-26 17:06:56 +02:00
Folke Lemaitre 768de1ebf6
refactor: move scheduler to async 2024-06-26 15:11:31 +02:00
Folke Lemaitre bbe136bda6
test: fix tests 2024-06-26 14:30:38 +02:00
Folke Lemaitre 0614ca6ca6
perf: tasks are now fully async 2024-06-26 14:28:53 +02:00
Folke Lemaitre 36952153ec
perf(util): improve impl of throttle 2024-06-26 14:28:22 +02:00
Folke Lemaitre 90e14d1585
refactor(rocks): is_simple_build 2024-06-26 11:11:00 +02:00
Folke Lemaitre 2aa8e061f2
fix(config): dont start checker/change_detection when running headless 2024-06-26 11:10:43 +02:00
Folke Lemaitre aa1c9572aa
fix(rocks): build.type instead of build.build_type 2024-06-26 08:50:06 +02:00
Folke Lemaitre 473361139c
fix(rockspec): dont lazy-load rock deps 2024-06-26 08:49:42 +02:00
Folke Lemaitre e79805d706
fix(ui): don't show output when it's the same as error 2024-06-26 07:15:12 +02:00
Folke Lemaitre 28e435b7f3
fix(git): fetch commit from origin or local to check if branch was changed. See #1549 2024-06-26 07:15:12 +02:00
github-actions[bot] 6d60dc3c05 chore(build): auto-generate rockspec mappings 2024-06-26 04:22:43 +00:00
Folke Lemaitre 67e1e8e6a3
ci: added neo to rockspec patterns 2024-06-26 06:22:23 +02:00
github-actions[bot] 69041bccb7
chore(main): release 11.4.1 (#1555)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-25 22:09:17 +02:00
Folke Lemaitre 3f7368c3ac
ci: use 5.1 manifest 2024-06-25 21:53:56 +02:00
Folke Lemaitre 0d9fd636be
fix(health): show what plugins need luarocks and if none, use warnings instead of errors. See #1551 2024-06-25 21:15:51 +02:00
github-actions[bot] 9ac375653b
chore(main): release 11.4.0 (#1554)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-25 21:05:40 +02:00
Folke Lemaitre 6b8bf58ebf
feat(rocks): simple rockspecs are now fully resolved by lazy without luarocks. See #1548 2024-06-25 20:53:42 +02:00
Folke Lemaitre be74a8a535
feat(pkg): utils to get rock to url mappings 2024-06-25 20:39:12 +02:00
Folke Lemaitre 25981e1f39
fix(meta): only tag new top-level pkg fragment as optional 2024-06-25 20:39:12 +02:00
github-actions[bot] aff7ee8e89 chore(build): auto-generate rockspec mappings 2024-06-25 18:35:51 +00:00
Folke Lemaitre aff65371fc
ci: add `cmp` to generated luarock mappings 2024-06-25 20:35:27 +02:00
github-actions[bot] 33be7ac317 chore(build): auto-generate rockspec mappings 2024-06-25 16:13:21 +00:00
Folke Lemaitre 7cda552c1c
ci: more rockspec patterns 2024-06-25 18:12:39 +02:00
Folke Lemaitre 49c0b86a6f
ci: move to _generated.lua 2024-06-25 18:07:28 +02:00
github-actions[bot] 786a3febc0 chore(build): auto-generate rockspec mappings 2024-06-25 15:48:19 +00:00
Folke Lemaitre 88911547e7
ci: fix some github urls 2024-06-25 17:48:04 +02:00
github-actions[bot] bc7bfb5d36 chore(build): auto-generate rockspec mappings 2024-06-25 15:42:29 +00:00
Folke Lemaitre b6eba0d026
ci: auto-get rockspec mappings for rock name => github short url or url 2024-06-25 17:41:16 +02:00
github-actions[bot] 2ca68f9979
chore(main): release 11.3.0 (#1543)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-25 16:21:15 +02:00
Folke Lemaitre 24c832213c
fix(meta): no need to check for old_dir when frags were not built yet. Fixes #1550 2024-06-25 15:51:40 +02:00
Folke Lemaitre 4ca3e9aa51
fix(rocks): windows 2024-06-25 15:44:13 +02:00
Folke Lemaitre 7d3f69104f
fix(rocks): better errors / warnings when something goes wrong with luarocks 2024-06-25 13:23:25 +02:00
Folke Lemaitre 45cd8d3f0f
fix(rocks): hererocks paths on windows 2024-06-25 06:40:50 +02:00
Folke Lemaitre d87da76679
feat(rocks): use hererocks to install luarocks when luarocks is not found 2024-06-25 07:55:30 +02:00
Folke Lemaitre dea1f687fe
fix(fragments): check for empty plugin names 2024-06-25 00:31:34 +02:00
github-actions[bot] 378bfb4656
chore(main): release 11.2.1 (#1542)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-24 23:44:20 +02:00
Folke Lemaitre 62a47b921f
fix(loader): no need to check plugin.dir in auto_load 2024-06-24 23:42:53 +02:00
github-actions[bot] 9bcbbc17a7
chore(main): release 11.2.0 (#1541)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-24 21:59:16 +02:00
Folke Lemaitre a089d43dba
feat: rewrite some known plugins to lazy specs instead of luarocks (plenary.nvim). Closes #1540 2024-06-24 21:57:34 +02:00
Folke Lemaitre 1446f6cfbb
perf: minimize meta rebuild when loading specs 2024-06-24 21:56:43 +02:00
Folke Lemaitre 0081c95aee
style: allow false for build 2024-06-24 20:23:03 +02:00
github-actions[bot] b6b0c4c15c
chore(main): release 11.1.0 (#1539)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-24 20:06:31 +02:00
Folke Lemaitre ae4881d36e
fix(health): only check for luarocks when luarocks is enabled. 2024-06-24 20:03:00 +02:00
Folke Lemaitre 77edda11bf
test: fixes 2024-06-24 19:55:11 +02:00
Folke Lemaitre e3ee51b668
fix(health): show missing luarocks as warning 2024-06-24 19:44:22 +02:00