Commit Graph

732 Commits

Author SHA1 Message Date
github-actions[bot] ebdd049955
chore(main): release 9.21.1 (#840)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-28 12:55:02 +02:00
Folke Lemaitre 36a91320f9
fix(loader): don't run ftdetect twice for paths already on the rtp during startup. Fixes #839 2023-05-28 11:02:40 +02:00
github-actions[bot] a93d8983c4
chore(main): release 9.21.0 (#837)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-27 16:14:24 +02:00
Folke Lemaitre efa02ff8d3
fix(ui): make progress bar work again 2023-05-27 16:11:01 +02:00
Folke Lemaitre a6c8f22362
feat(commands): added highly experimental `Lazy reload ...` command. See #445 2023-05-27 15:19:55 +02:00
Folke Lemaitre d8a5829fda
feat(loader): when reloading, always re-source loaded vimscript files. See #445 2023-05-27 15:19:55 +02:00
github-actions[bot] 7f34cb892b
chore(main): release 9.20.0 (#836)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-27 14:36:14 +02:00
Folke Lemaitre 9dce0816f1
feat(ui): added support for setting a title of the lazy window. Fixes #814 2023-05-27 14:28:09 +02:00
github-actions[bot] 97c2f8858c
chore(main): release 9.19.1 (#835)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-27 10:03:47 +02:00
Folke Lemaitre 42ff6009f6
fix(plugin): fixup. It's fine that Plugin.url doesn't exist 2023-05-27 08:49:45 +02:00
Folke Lemaitre 199e100464
fix(plugin): delay check if plugin ref exists until after loading all plugins. Fixes #833 2023-05-27 08:45:14 +02:00
github-actions[bot] 67ae8bbbe3
chore(main): release 9.19.0 (#826)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-25 09:13:34 +02:00
Folke Lemaitre c325c50ba4
fix(plugin): check that import is a string. See #825 2023-05-25 08:26:55 +02:00
Folke Lemaitre 32170a8891
fix(plugin): fix url based plugin name and added extra safety checks. Fixes #824 2023-05-25 08:10:08 +02:00
Folke Lemaitre 57062f3a09
feat(plugin): trigger LazyPlugins after loading plugin specs 2023-05-25 08:09:19 +02:00
Folke Lemaitre 49a7f21ee3
feat(git): change default log args to last 8 2023-05-25 08:07:44 +02:00
github-actions[bot] 761b8388af
chore(main): release 9.18.2 (#820)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-23 09:01:50 +02:00
Folke Lemaitre b0aa5348d8
docs: added docs on optional 2023-05-23 08:57:57 +02:00
tzachar f125a7d333
fix(commands): completion error (#819)
When Lazy commands are searched in command line mode, completion fails
horribly (sometime crashing nvim entirely) when the partial string to
complete contains non-escape characters.
For example, running `:Lazy up[` results in a crash.

The fix is to instruct string.find to perform a literal search, treating
the string to search not as a regular expression.
2023-05-23 08:43:27 +02:00
github-actions[bot] 6610b15dfd
chore(main): release 9.18.1 (#815)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-22 14:58:33 +02:00
Folke Lemaitre 9177778891
fix(plugin): rename weak => optional. Makes more sense :) 2023-05-22 14:53:36 +02:00
github-actions[bot] 8cd4a59674
chore(main): release 9.18.0 (#809)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-22 14:37:25 +02:00
Folke Lemaitre af39d61d3f
fix: better weak handling 2023-05-22 14:31:28 +02:00
Folke Lemaitre 8564f6d22b
feat(plugin): added support for `weak` specs. They will not be included in the final spec if not specified somwhere else 2023-05-22 14:24:18 +02:00
Folke Lemaitre 451f217e9b
fix(ui): take border into account for window position. Fixes #812 2023-05-21 20:51:41 +02:00
Folke Lemaitre cc7a764aec
fix(ui): close ui when opening a help file. Fixes #808 2023-05-20 09:26:23 +02:00
github-actions[bot] c711b4f8a6
chore(main): release 9.17.0 (#806)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-19 10:23:49 +02:00
Folke Lemaitre 11131eafa1
feat(cmd): added `Lazy load all` to load all plugins 2023-05-18 19:51:18 +02:00
github-actions[bot] 53e1c49bae
chore(main): release 9.16.1 (#804)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-17 19:38:31 +02:00
Folke Lemaitre aecdaab6a6
fix(loader): reset cache before installing plugins during startup. Fixes #803 2023-05-17 19:36:00 +02:00
Folke Lemaitre 80c4decc32
fix(loader): dont clear tasks when istalling missing plugins 2023-05-17 19:35:16 +02:00
github-actions[bot] aba872ec78
chore(main): release 9.16.0 (#801)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-13 16:12:49 +02:00
Folke Lemaitre dab6cd5080
feat(loader): added explicit support for finding the main module for mini.nvim plugins 2023-05-13 16:10:15 +02:00
github-actions[bot] e9b3b83914
chore(main): release 9.15.0 (#795)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-13 15:48:53 +02:00
Folke Lemaitre 96dd2058fb
feat(ui): show the loaded icon for local plugins in a different color 2023-05-13 13:24:38 +02:00
Fraser Hanson d2d67b5a0b
fix(config): use url_format for the lazy plugin (#792)
Co-authored-by: Fraser Hanson <fraser.hanson@netapp.com>
2023-05-10 17:20:06 +02:00
github-actions[bot] 51a3873ccd
chore(main): release 9.14.11 (#782)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-07 19:32:26 +02:00
Folke Lemaitre dbe0e29d85
fix(ui): don' render extmarks for empty lines 2023-05-05 14:06:59 +02:00
github-actions[bot] ceb413678d
chore(main): release 9.14.10 (#772)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-02 21:49:29 +02:00
Folke Lemaitre 98ba47efed
fix(ui): issue with rendering empty lines. Fixes #770 2023-05-02 21:47:36 +02:00
github-actions[bot] 5b7b8eecea
chore(main): release 9.14.9 (#769)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-02 21:32:16 +02:00
Karl Yngve Lervåg b00d6f7102
fix(ui): don't pad empty lines (#768) 2023-05-02 21:30:28 +02:00
github-actions[bot] d6a782c700
chore(main): release 9.14.8 (#759)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-28 10:46:45 +02:00
Ulibos 0c7b41872e
fix(health): show error if setup didn't run
* Fix back bootstrapping and healthcheck for fresh install with no packages to fetch.

* Revert changes to bootstrapping, make checkhealth produce more meaningful message.
2023-04-27 18:21:02 +02:00
github-actions[bot] 903f0fe542
chore(main): release 9.14.7 (#745)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-24 08:41:31 +02:00
Folke Lemaitre a758588008
fix(build): make sure to properly load handlers for plugins that were built during startup. Fixes #744 2023-04-24 07:54:21 +02:00
github-actions[bot] a55ab60625
chore(main): release 9.14.6 (#741)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-23 16:35:26 +02:00
Folke Lemaitre 0cbf466913
fix(util): use vim.o.shell by default 2023-04-23 15:59:31 +02:00
Folke Lemaitre dff6f07290
style(plugins): more descriptive error when a spec module didnt return any specs 2023-04-22 14:10:06 +02:00
github-actions[bot] 5c89dc52f4
chore(main): release 9.14.5 (#738)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-19 13:14:15 +02:00
Folke Lemaitre 78b981b1f3
fix(loader): keep using the internal lua cache till 0.9.1 2023-04-19 12:59:39 +02:00
github-actions[bot] 5f13f69851
chore(main): release 9.14.4 (#734)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-18 10:21:25 +02:00
Folke Lemaitre b582fc5545
fix(cmd): show descriptive error when command was not found after loading its plugins 2023-04-18 10:17:22 +02:00
github-actions[bot] eddee830ed
chore(main): release 9.14.3 (#728)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-16 14:15:55 +02:00
dundargoc c8cad54895
fix(checkhealth): use non-deprecated versions if possible (#729) 2023-04-16 14:07:41 +02:00
futsuuu b7a1a0fbaf
fix(render): show message if not yet committed (#707)
* fix(render): show message if not yet committed

* fix(render): show commit only if it can be shown
2023-04-15 22:54:10 +02:00
github-actions[bot] 57cce98dfd
chore(main): release 9.14.2 (#693)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-25 09:58:08 +01:00
Folke Lemaitre 9f9d733df9
fix(keys): dont add (n) to keys id 2023-03-25 09:56:16 +01:00
github-actions[bot] 32d5f4af2f
chore(main): release 9.14.1 (#691)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-24 23:08:27 +01:00
Folke Lemaitre db5b67e75c
fix(cache): handle corrupted cache files 2023-03-24 21:22:13 +01:00
github-actions[bot] be77c59bf7
chore(main): release 9.14.0 (#684)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-23 08:12:43 +01:00
Folke Lemaitre 0e230caab9
feat(ui): added test to dimmed commits 2023-03-22 16:06:32 +01:00
luozhiya 261c2d6f95
fix(ui): show full reason for Not-Loaded (#683)
no print
2023-03-22 09:04:36 +01:00
Folke Lemaitre 690f9e88e2
refactor: prepping for vim.loader 2023-03-20 23:51:09 +01:00
github-actions[bot] 887eb75591
chore(main): release 9.13.1 (#671)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-20 08:06:14 +01:00
Andy Dirnberger e7622b78f6
fix(health): add `main` key (#679) 2023-03-20 08:02:24 +01:00
Folke Lemaitre 236f8517ba
fix(cache): fix loading libs on Darwin 2023-03-20 08:01:30 +01:00
Folke Lemaitre 67cc8dc07c
docs: updated docs. Fixes #667 2023-03-18 08:57:20 +01:00
Folke Lemaitre 959f8c36bc
fix(health): allow overriding `1` 2023-03-18 08:36:06 +01:00
github-actions[bot] fdb41229ca
chore(main): release 9.13.0 (#664)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-17 16:44:19 +01:00
abal e5759d202a
feat(help): allow disabling README magic (#663) 2023-03-17 16:18:02 +01:00
github-actions[bot] e2102c3a3a
chore(main): release 9.12.1 (#660)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-17 08:16:47 +01:00
Folke Lemaitre efe36bdfda
fix(cmd): properly deal with commands with nargs=? or nargs=1. Fixes #659 2023-03-16 23:54:09 +01:00
Folke Lemaitre b4b11f48aa
style: better comments for cache.find 2023-03-16 23:53:36 +01:00
Folke Lemaitre 2e3c16e526
docs: better comments for Cache.find 2023-03-16 14:13:18 +01:00
Folke Lemaitre 6b55862d2d
refactor(cache): refactor for upstreaming to `vim.loader` 2023-03-15 15:10:56 +01:00
github-actions[bot] e27c9df5fe
chore(main): release 9.12.0 (#653)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-15 09:04:59 +01:00
Folke Lemaitre 21a219a825
refactor(cache): revert all `vim.cache` changes and disable it if it would ever exist 2023-03-15 09:01:00 +01:00
Folke Lemaitre 942c805b84
fix(cache): remove dependency on jit 2023-03-15 08:53:19 +01:00
Folke Lemaitre 5b7b8c5149
feat(cache): automatically reset topmods when a user changes a file for a path on the rtp 2023-03-14 19:54:44 +01:00
Folke Lemaitre ea1a044e3c
feat(cache): use `vim.cache` everywhere. poly-fill when needed 2023-03-14 19:45:22 +01:00
Folke Lemaitre 4446d69c28
build(cache): added script to sync cache implementation with Neovim 2023-03-14 18:37:27 +01:00
Folke Lemaitre 2a88a73ace
style(cache): ignore a luacheck error 2023-03-14 18:33:39 +01:00
Folke Lemaitre 810acc1e86
feat(cache): drop dependency on ffi 2023-03-14 18:33:16 +01:00
Folke Lemaitre da295017e4
refactor(cache): Cache.track => Cache._track 2023-03-14 18:32:29 +01:00
Folke Lemaitre 0b7596f609
style(cache): disable duplicate warnings 2023-03-14 18:31:43 +01:00
Folke Lemaitre d0db9f83ef
docs(cache): more code comments 2023-03-14 14:07:41 +01:00
Folke Lemaitre 49dda8751e
feat(cache): remove any mentions of lazy. Move the cache to cache/luac instead of cache/lazy/luac 2023-03-14 13:08:09 +01:00
Folke Lemaitre 1a34636094
refactor(cache): documented the cache in preparation to upstream 2023-03-14 12:56:58 +01:00
github-actions[bot] 5550f99271
chore(main): release 9.11.0 (#652)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-14 11:27:31 +01:00
Folke Lemaitre 9afba388fa
feat(plugin): added config.defaults.cond. Fixes #640 2023-03-14 11:19:56 +01:00
Folke Lemaitre 10f5844abf
fix(loader): never load lua files from a plugin where cond=false. Show error instead 2023-03-14 11:19:56 +01:00
github-actions[bot] 623e00cabb
chore(main): release 9.10.3 (#646)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-13 22:56:12 +01:00
tobiaslieber 8d73b9bccd
fix(cache): path (#645) 2023-03-13 22:50:50 +01:00
github-actions[bot] 5b4444f0d7
chore(main): release 9.10.2 (#623)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-07 19:13:36 +01:00
Folke Lemaitre 355312eb51
fix(plugin): properly pass is_list for recursively merging props 2023-03-07 19:11:33 +01:00
Folke Lemaitre 47fc27e3f1
style: typo. Fixes #625 2023-03-06 07:40:21 +01:00
Sean Baildon 53be2c0ee1
fix(git): always set origin name when cloning (#622)
* fix(git): force origin name

* Revert "fix(git): honor clone.defaultRemoteName. Fixes #602"

This reverts commit 5af93806aa.
2023-03-05 14:09:15 +01:00
github-actions[bot] 1407565713
chore(main): release 9.10.1 (#619)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-04 18:28:10 +01:00
Folke Lemaitre c60f7ea985
fix(process): unset GIT_WORK_TREE 2023-03-04 18:20:27 +01:00