Commit Graph

380 Commits

Author SHA1 Message Date
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