Commit graph

1154 commits

Author SHA1 Message Date
abeldekat
6582ddb352
Merge branch 'folke:main' into discard_deps_revisited 2023-09-09 06:22:47 +00:00
github-actions[bot]
2a9354c7d2 chore(build): auto-generate vimdoc 2023-08-26 15:22:34 +00:00
Folke Lemaitre
d179a17fa1
docs: added link to pckr.nvim 2023-08-26 17:21:48 +02:00
github-actions[bot]
0e9c3934ab chore(build): auto-generate vimdoc 2023-08-26 14:47:56 +00:00
Darkhan
4eb3e932e5
Make commit pattern more accurate (#973)
Sometimes when hovering over updated plugins and triggering `diff`
with `d` key, I get an empty `diff` view. I traced the problem to a very
generic `commit_pattern` which currently matches any alphanumeric sequence
of 7 characters surrounded by "word boundary" / frontier patterns.
I adjusted the regex to match only `[a-z0-9] * 7` which should make this
issue appear less. I am keeping the older frontier sets `%f[%w]` and `%f[%W]`
because if I switch to `%f[a-f0-9]` and `%f[^0-9a-f]` I will be matching
strings like `zzz1234567xxx`.
2023-08-26 16:47:18 +02:00
abeldekat
b8cc7b96cb discard_deps_revisited: better naming 2023-08-20 10:02:37 +02:00
abeldekat
cfd070278c discard_deps_revisited: added a test 2023-08-02 19:29:58 +02:00
abeldekat
2885cf1cba discard_deps_revisited: performance
act directly while looping, avoiding the vim.list_extend calls.
2023-08-02 11:03:54 +02:00
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