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
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
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
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
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
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
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
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
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
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
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
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
Folke Lemaitre
236f8517ba
fix(cache): fix loading libs on Darwin
2023-03-20 08:01:30 +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
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
github-actions[bot]
8d18ef44e7
chore(main): release 9.10.0 ( #613 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-02 14:29:16 +01:00
github-actions[bot]
26d121ea13
chore(main): release 9.9.0 ( #601 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-28 12:59:22 +01:00
Folke Lemaitre
79f85e5fed
fix(cache): add hack to work-around incorrect requires back. Not a fan of this. Fixes #603
2023-02-28 12:38:20 +01:00
Folke Lemaitre
77223786aa
fix(git): properly deal with failed clones. Fixes #571
2023-02-28 11:51:16 +01:00
Folke Lemaitre
b814d87089
style(cache): removed hack for relative paths
2023-02-27 20:25:03 +01:00
Folke Lemaitre
1657ae9b8c
fix(keys): set nowait for lazy keymaps when needed. Fixes #600
2023-02-27 09:59:47 +01:00
github-actions[bot]
8077428e63
chore(main): release 9.8.5 ( #563 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-20 09:06:09 +01:00
github-actions[bot]
f2cc9ef6ac
chore(main): release 9.8.4 ( #557 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-17 17:06:19 +01:00
Folke Lemaitre
ff76e58961
fix(spec): make sure imported specs are sorted alphabetically
2023-02-17 13:58:23 +01:00
github-actions[bot]
8186cc5db3
chore(main): release 9.8.3 ( #549 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-16 13:29:23 +01:00
Folke Lemaitre
e916f41df2
fix(cache): hack to work around plugins trying to load relatve modules. Fixes #543
2023-02-15 18:20:02 +01:00
github-actions[bot]
4a0857cc23
chore(main): release 9.8.2 ( #548 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-15 17:14:00 +01:00
Folke Lemaitre
9ca3222061
fix(cache): lsmod now also supports lua libs. Fixes #544
2023-02-15 17:08:36 +01:00
github-actions[bot]
c249ea376b
chore(main): release 9.8.1 ( #538 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-14 22:05:14 +01:00
Folke Lemaitre
6a18404b7d
fix(keys): fixed keys types. rhs can be `false`
2023-02-14 12:19:49 +01:00
Folke Lemaitre
17a3c3acea
perf: more cache optims
2023-02-14 11:00:56 +01:00
Folke Lemaitre
6351a2e8f3
refactor: Cache.stats -> Cache.stats.find
2023-02-13 17:24:15 +01:00
Folke Lemaitre
b1f7ae68a7
perf: use modkey instead of modpath
2023-02-13 17:22:00 +01:00
github-actions[bot]
c778b7aa04
chore(main): release 9.8.0 ( #520 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-13 12:07:52 +01:00
Folke Lemaitre
462633bae1
perf: new file-based cache that ensures correct rtp order ( #532 )
...
* perf: new file-based cache that ensures rtp is alweays correct and will cache all files, including those after startup
* refactor: new cache
* test: fix tests
* fix(cache): cache file names on Windows
* feat(cache): allow to disable the cache
* docs: updated cache settings
2023-02-13 12:01:56 +01:00
ryuryu-ymj
bc978ca9be
fix(icons): replace an obsolete Nerd icon ( #529 )
2023-02-11 09:03:10 +01:00
Folke Lemaitre
c83d2aeb27
fix(loader): don't deactivate when not loaded
2023-02-10 17:47:25 +01:00
Yahir Eduardo Bravo Tafur
a147110390
fix(cmd): fix Error when trigger on range defined command that doesn't support count ( #519 )
2023-02-09 18:02:40 +01:00
github-actions[bot]
d13fe93535
chore(main): release 9.7.0 ( #505 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-09 14:44:13 +01:00
Folke Lemaitre
c734d941b4
fix(keys): feed keys instead of returning expr for Neovim 0.8.x. Fixes #511
2023-02-08 16:00:56 +01:00
Folke Lemaitre
ddaffa0715
fix(keys): replace keycodes manually
2023-02-08 09:33:38 +01:00
MurdeRM3L0DY
4272d2100a
fix(keys): refactor retrigger mechanism ( #428 )
...
* fix keymap retrigger in operator mode
* remove unnecessary retrigger logic
we can just eval `"<Ignore>" .. lhs` to retrigger the mapping
* remove unused function
---------
Co-authored-by: MurdeRM3L0DY <>
2023-02-08 00:45:28 +01:00
Folke Lemaitre
57a3960faf
feat: deactivate WIP
2023-02-07 23:52:02 +01:00
Folke Lemaitre
49b43def14
fix(install): dont load the colorscheme again if a `config()` of the colorscheme also loads it. Fixes #488
2023-02-07 22:59:05 +01:00