Commit graph

1146 commits

Author SHA1 Message Date
abeldekat
08fcf83957 discard_deps_revisited: better naming and a little dry 2023-08-02 09:04:17 +02:00
abeldekat
a1574d8d03 discard_deps_revisited: finetuning and performance
finetuning: the algorithm marking an active plugin as dirty
performance: instead of vim.tbl_merge, use vim.list_extend
2023-08-01 10:31:31 +02:00
abeldekat
f95c7a8be1 discard_deps: Repair active plugins
Plugins that are unused currently can still contribute to
active plugins by the specs added to their "dependencies" field.

This commit adds functionality to the "parse" method,
repairing only the active plugins that could be affected by the
aforementioned specs.

This can be achieved by maintaining an extra administration table
containing a copy of each added plugin instance.
2023-07-31 20:24:59 +02:00
github-actions[bot]
dac844ed61 chore(build): auto-generate vimdoc 2023-07-30 09:09:38 +00:00
Distinct Wind
a977a7ab21
docs: Fix doc missing bracket (#962) 2023-07-30 11:08:52 +02:00
github-actions[bot]
3ad55ae678
chore(main): release 10.3.0 (#948)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-22 10:23:12 +02:00
abeldekat
e7334d8db5
feat(plugins): Given an optional plugin, conditionally discard deps (#947)
* deps_of_all_optional: First, refactor the code responsible for disabling unneeded deps to be more generic

* deps_of_all_optional: Second, also disable unneeded deps from plugins marked as all optional

* deps_of_all_optional: add tests proving unneeded optional deps are now also discarded

* deps_of_all_optional: forgot return type

---------

Co-authored-by: abeldekat <abel@nomail.com>
2023-07-22 10:20:52 +02:00
github-actions[bot]
af4d24b8d0
chore(main): release 10.2.1 (#946)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-22 09:09:46 +02:00
github-actions[bot]
54a2aa4db4 chore(build): auto-generate vimdoc 2023-07-22 06:25:12 +00:00
Folke Lemaitre
e428c5ee4b
fix(loader): getscriptinfo compat with stable. Fixes #944 2023-07-22 08:24:26 +02:00
github-actions[bot]
ed15f6b394 chore(build): auto-generate vimdoc 2023-07-21 06:15:36 +00:00
github-actions[bot]
b7303a6830
chore(main): release 10.2.0 (#939)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-21 08:14:51 +02:00
github-actions[bot]
50c365bfe9 chore(build): auto-generate vimdoc 2023-07-20 21:49:43 +00:00
Folke Lemaitre
61c43455b0
style: lua annotations 2023-07-20 23:49:02 +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
github-actions[bot]
25beed5e2e chore(build): auto-generate vimdoc 2023-07-16 06:51:36 +00:00
Kasshi K
2b241f74ed
fix typo in health.lua (#933) 2023-07-16 08:50:53 +02:00
github-actions[bot]
14d76aac4b
chore(main): release 10.1.0 (#927)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-12 17:24:07 +02:00
github-actions[bot]
f6aedf1269 chore(build): auto-generate vimdoc 2023-07-12 15:22:18 +00: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
github-actions[bot]
da8b00581a
chore(main): release 10.0.2 (#923)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-09 09:46:59 +02:00
github-actions[bot]
8ae6cb4b44 chore(build): auto-generate vimdoc 2023-07-09 07:44:55 +00:00
Folke Lemaitre
fd94e69ceb
fix(event): pass data to event lazy loaders. Fixes #922 2023-07-09 09:44:08 +02:00
github-actions[bot]
5af331ea65
chore(main): release 10.0.1 (#919)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-06 20:44:00 +02:00
yangbinji
867528c0fe
style(cache): fix comment case typo (#915) 2023-07-06 16:30:54 +02:00
Pierre-Antoine Lacaze
5082cd56e4
fix(stats): corrected typo in cputime() for Linux (#916) 2023-07-06 16:19:08 +02:00
github-actions[bot]
29f8e3ecb7
chore(main): release 10.0.0 (#918)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-06 15:40:23 +02:00
github-actions[bot]
c27cd36e6c chore(build): auto-generate vimdoc 2023-07-06 13:39:12 +00:00
Folke Lemaitre
045f23eb35
test: fixed tests 2023-07-06 15:38:21 +02:00
Folke Lemaitre
fbb0bea2db
feat(plugin)!: cond is now the same as enabled, but skips clean 2023-07-06 15:30:01 +02:00
github-actions[bot]
f8611632d0 chore(build): auto-generate vimdoc 2023-07-01 06:51:58 +00:00
github-actions[bot]
0d61488b89
chore(main): release 9.25.1 (#904)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-01 08:51:17 +02:00
github-actions[bot]
d65d5441d9 chore(build): auto-generate vimdoc 2023-06-30 19:20:17 +00: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
github-actions[bot]
de0a911ad9
chore(main): release 9.25.0 (#898)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-30 18:30:15 +02:00
github-actions[bot]
d54ae0b96d chore(build): auto-generate vimdoc 2023-06-30 16:29:13 +00:00
Folke Lemaitre
2ea3c54b5f
docs: added docs about new build.lua 2023-06-30 18:28:29 +02:00
Folke Lemaitre
4c26421785
feat(build): added support for build.lua, build/init.lua (#903) 2023-06-30 18:22:39 +02:00
github-actions[bot]
2772cc587e chore(build): auto-generate vimdoc 2023-06-30 16:11:15 +00:00
Folke Lemaitre
d5c31f1ed7
style: lua annotations 2023-06-30 18:08:52 +02:00
github-actions[bot]
4c8b625bc8 chore(build): auto-generate vimdoc 2023-06-26 05:55:00 +00:00
Mayrixon
24803fcbe3
fix(health): false warning when checking plugins configured with 'optional' key (#897) 2023-06-26 07:54:12 +02:00
github-actions[bot]
b7043f2983
chore(main): release 9.24.2 (#890)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-22 11:17:54 +02:00
Folke Lemaitre
d7d5842d1c
fix(config): on windows default concurrency is now set to 2*available parallelism. See #887 2023-06-22 11:04:28 +02:00
Folke Lemaitre
3867a81bb2
style: better uv annotations 2023-06-22 10:47:50 +02:00
github-actions[bot]
ccd96bfa2e chore(build): auto-generate vimdoc 2023-06-22 08:24:44 +00: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
github-actions[bot]
c1aad95243
chore(main): release 9.24.1 (#882)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-19 11:28:26 +02:00
github-actions[bot]
bf11e4907b chore(build): auto-generate vimdoc 2023-06-19 08:22:30 +00:00
Folke Lemaitre
410a7360c1
fix(ui): trailing space in button row. Fixes #884 2023-06-19 10:21:40 +02:00