Commit Graph

1025 Commits

Author SHA1 Message Date
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
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
kylo252 1f7ffec177
feat(render): dim housekeeping commits by default (#612)
* feat(render): dim housekeeping commits by default

use `LazyComment` highlight group for commits with
housekeeping types, i.e. chore/ci/doc

* refactor: some small improvments to unimportant commits

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2023-03-02 14:25:50 +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 5af93806aa
fix(git): honor clone.defaultRemoteName. Fixes #602 2023-02-28 10:51:17 +01:00
Folke Lemaitre 0f713b2958
fix(ui): always show diagnostics virtual text 2023-02-28 09:55:21 +01:00
Folke Lemaitre 9bd1c946d6
feat(health): check for paths on the rtp from plugged or packer 2023-02-27 20:38:05 +01:00
Folke Lemaitre b814d87089
style(cache): removed hack for relative paths 2023-02-27 20:25:03 +01:00
Folke Lemaitre 5694483e87
fix(health): whitelist deactivate prop 2023-02-27 13:42:59 +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
Lucas Tavares 43496fa82c
fix(ui): disable colorcolumn on floating window (#575) 2023-02-20 08:31:03 +01:00
Folke Lemaitre 7339145a22
fix(ui): don't close on BufLeave. Fixes #561 2023-02-17 21:08:46 +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
Folke Lemaitre 5cfe1560c5
fix(ui): return abort key instead of `<c-c>` 2023-02-17 13:41:21 +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
vanppo 6771c7e23c
fix(ui): disable folding of floating window (#550) 2023-02-16 12:33:53 +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
Folke Lemaitre 78264fb935
style: added proper types to process 2023-02-15 17:07:57 +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
Folke Lemaitre 0d3f2c4042
feat(git): `Plugin.submodules = false` will now skip fetching git submodules 2023-02-12 12:56:42 +01:00
kyoh86 4917222c7e
fix(util): executable checks for `Util.open` (#528) 2023-02-11 09:04:59 +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
kyoh86 2451ea4e65
feat: use "wslview" instead of "xsl-open" if it exsits (#509) 2023-02-08 07:32:29 +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
github-actions[bot] 48c9b37294
chore(main): release 9.6.0 (#504)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-07 22:02:20 +01:00
Folke Lemaitre 3c29f196f4
feat(cmd): use cmd table instead of trying to create the cmd string. Fixes #472 2023-02-07 20:57:00 +01:00
github-actions[bot] 0e4017152d
chore(main): release 9.5.1 (#478)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-07 17:09:39 +01:00
Folke Lemaitre 452d4eb719
fix(process): allow overriding GIT_SSH_COMMAND. Fixes #491. Fixes #492 2023-02-06 09:17:08 +01:00
Folke Lemaitre 3d2dcb2d5e
fix(log): properly check if plugin dir is a git repo before running git log 2023-02-01 08:26:20 +01:00
Folke Lemaitre 527f83cae5
fix(health): existing packages on windows. Fixes #474 2023-02-01 08:09:02 +01:00
Folke Lemaitre 0c980312fd
fix(commands): sync with plugins list should not delete those plugins. Fixes #475 2023-02-01 08:06:48 +01:00
github-actions[bot] 9b208696e1
chore(main): release 9.5.0 (#444)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-01-25 09:10:46 +01:00
Folke Lemaitre 9b5cc1bf53
feat(health): check for git in health checks 2023-01-24 22:58:40 +01:00
Null Chilly 772d8888cc
feat(dev): optionally fallback to git when local plugin doesn't exist (#446)
* feat: fallback to git when local plugin isn't found

* feat(option): fallback to git when local plugin doesn't exist
2023-01-24 22:55:34 +01:00
Folke Lemaitre 5d9d35404f
feat(util): utility method to walk over all modules in a directory 2023-01-23 19:19:00 +01:00
Folke Lemaitre 26a67e3c48
feat(config): added option to disable git filter. NOT recommended. Fixes #442 2023-01-23 19:19:00 +01:00
Folke Lemaitre c32a6185ac
fix(checker): dont check for updates when there's tasks with errors 2023-01-23 19:19:00 +01:00
Folke Lemaitre ed210702f5
fix(checker): dont clear tasks when running update check 2023-01-23 19:18:59 +01:00
Folke Lemaitre 908d71872b
docs: typo 2023-01-22 15:24:13 +01:00
github-actions[bot] 7674ee6254
chore(main): release 9.4.0 (#417)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-01-22 15:18:43 +01:00
Folke Lemaitre 4008b57d88
fix(checker): make sure we show logs when only doing a fast check 2023-01-22 14:30:12 +01:00
Folke Lemaitre 9858001c3c
fix(git): unset GIT_DIR when spawning a process. Fixes #434 2023-01-20 20:41:36 +01:00
Folke Lemaitre 3f8cc2c0df
docs: generated docs 2023-01-19 22:08:58 +01:00
Folke Lemaitre d6fc848067
feat: added `config.ui.wrap` and improved wrapping when wrap=true. Fixes #422 2023-01-19 08:45:27 +01:00
Folke Lemaitre c389ad552b
fix(spec): dont complain about an invalid short url, when a full url is set. Fixes #421 2023-01-18 08:39:02 +01:00
Folke Lemaitre 813fc944d7
feat(checker): checker will now save last check time and only check at configured frequency even after restarting Neovim 2023-01-18 08:39:02 +01:00
Hans Chen 27ca918bc3
fix(render): get profile_{sort,filter} key bindings from ViewConfig (#416) 2023-01-17 22:03:23 +01:00
github-actions[bot] 4f60facf18
chore(main): release 9.3.1 (#410)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-01-17 14:37:11 +01:00
Folke Lemaitre c791c0ed7d
fix: work-around for libuv issue where fs_scandir_next sometimes fails to return a file type 2023-01-17 14:35:21 +01:00
Folke Lemaitre 1b2a6f631c
perf(plugin): de-duplicate dependencies, keys, ft, event and cmd 2023-01-17 14:00:42 +01:00
Folke Lemaitre da4e8cc245
fix(spec): dont copy dep and super state from existing plugins 2023-01-17 14:00:42 +01:00
Folke Lemaitre baaf8ddfff
fix(spec): when overriding a spec by name that has not been imported yet, show an error when needed 2023-01-17 14:00:42 +01:00
Folke Lemaitre bd37afc96e
fix(git): when a `Plugin.branch` is set, don't use `config.defaults.version`. Fixes #409 2023-01-17 13:14:25 +01:00
github-actions[bot] c05d61d208
chore(main): release 9.3.0 (#385)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-01-16 22:18:55 +01:00
Folke Lemaitre 870af80c68
feat(spec): overriding keys with an rhs of `false` will remove the key instead 2023-01-16 21:27:55 +01:00
Folke Lemaitre 208f91b52f
feat(git): some debugging tools for git 2023-01-16 20:41:29 +01:00
Folke Lemaitre 0cbd91d2cd
feat(spec): you can now override specs using only the plugin name instead of the short url 2023-01-16 17:03:43 +01:00
Folke Lemaitre efe72d98e6
perf(util): properly check that Neovim is exiting. Dont run VeryLazy when that's the case 2023-01-16 12:37:28 +01:00
Folke Lemaitre e8cb863703
fix(util): rever 2023-01-16 12:33:03 +01:00
Folke Lemaitre 1e67dc0d56
perf(util): dont trigger VeryLazy autocmds when exiting 2023-01-16 12:29:19 +01:00
Folke Lemaitre fdf0332fe1
feat(keys): allow overriding a keys value to `vim.NIL` to not add the key 2023-01-16 10:16:35 +01:00
Folke Lemaitre 984008f7ae
refactor: add lazy.nvim with full url. Fixes #396 2023-01-15 20:04:52 +01:00
Folke Lemaitre 7160ca419e
fix(loader): load plugin opts inside a `try` clause to report errors 2023-01-15 20:00:12 +01:00
Folke Lemaitre 666ed7bf73
fix(build): make sure `rplugin.vim` is loaded when doing a build. Fixes #382 2023-01-13 09:20:00 +01:00
github-actions[bot] 0d0d5870a3
chore(main): release 9.2.0 (#376)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-01-13 09:13:19 +01:00
hgigas 7b78ce3332
feat(commands): allow commands like `Lazy ... | ...` (#377)
Set bar attribute:
```
-bar	    The command can be followed by a "|" and another command.
```
2023-01-13 09:05:13 +01:00
Folke Lemaitre 7b0d1a7866
fix(float): only clear diagnostics for valid buffers 2023-01-13 09:01:24 +01:00
Folke Lemaitre b73312aa32
fix: use `vim.api.nvim_exec_autocmds` instead of `vim.cmd[[do]]` to prevent weird `vim.notify` behavior 2023-01-13 09:01:24 +01:00
Folke Lemaitre 81017b99e7
fix(cache): de-duplicate topmods. Fixes #349 2023-01-13 09:01:24 +01:00
Folke Lemaitre 784bb3c100
refactor: removed special `__merge` functionality 2023-01-12 13:13:30 +01:00
Folke Lemaitre 2128ca90fb
feat(spec): event, keys, ft and cmd can now also be a function that returns the values to be used 2023-01-12 13:08:43 +01:00
Folke Lemaitre 3fbe4fe27a
fix(ui): open diff and others over the ui. Don't try to be smart about it. Fixes #361 2023-01-12 09:01:36 +01:00
github-actions[bot] 0741d62319
chore(main): release 9.1.3 (#374)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-01-11 23:13:41 +01:00
Folke Lemaitre 07fd7adb34
fix(cache): use cached chunk when specs are loading for valid plugins 2023-01-11 23:11:38 +01:00
Folke Lemaitre e1cd9cd0ad
fix(loader): prevent loading plugins when loading specs 2023-01-11 23:08:07 +01:00
github-actions[bot] 9d494e0594
chore(main): release 9.1.2 (#362)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-01-11 21:45:02 +01:00
Folke Lemaitre a64623899d
fix(ui): possible error during initial install 2023-01-11 17:13:10 +01:00
Folke Lemaitre 74bc61ab97
fix(handlers): allow overriding handler values 2023-01-11 13:44:09 +01:00
Folke Lemaitre 3b44c3c14a
fix(ui): reset buf and win options on resize 2023-01-11 13:43:17 +01:00
Folke Lemaitre 5aca9280df
perf(util): execute VeryLazy right after UIEnter 2023-01-11 13:40:19 +01:00
Folke Lemaitre 8756c0950c
fix(ui): properly position Lazy tabs when opening another cmd. Fixes #361 2023-01-10 14:26:34 +01:00
github-actions[bot] d2110278be
chore(main): release 9.1.1 (#360)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-01-10 11:21:52 +01:00
Folke Lemaitre 5faadf6398
fix(ui): get_plugin should return when ui is not showing 2023-01-10 11:19:47 +01:00
github-actions[bot] 18eb724dff
chore(main): release 9.1.0 (#352)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-01-10 09:40:28 +01:00
Folke Lemaitre 70b07ebad5
ci: let release-please update Config.version 2023-01-10 09:28:59 +01:00
Folke Lemaitre ad7aafb257
fix(spec): don't import specs more than once 2023-01-10 09:28:59 +01:00
Folke Lemaitre 9fa62ea8ea
fix(cache): dont keep invalid entries in the cache (cleanup) 2023-01-10 09:28:59 +01:00
Folke Lemaitre d3a963d51c
refactor(util): improved notify functions 2023-01-10 09:28:59 +01:00
Folke Lemaitre b28c6b9000
feat(util): `Util.merge` now support advanced merging strategies. Docs coming soon 2023-01-10 07:32:28 +01:00
Folke Lemaitre e6ee0fa610
fix(ui): keymap for building a single plugin changed from `b` to `gb`. Fixes #358 2023-01-09 20:21:31 +01:00
Folke Lemaitre 4304035ef4
feat(spec): allow git@ and http urls in `Plugin[1]` without `url=`. Fixes #357 2023-01-09 13:25:50 +01:00
Folke Lemaitre d813c518d5
docs: improvements to readme updater 2023-01-09 13:09:16 +01:00
Folke Lemaitre 3a216d008d
fix(docs): auto-gen of readme stuff 2023-01-09 08:05:46 +01:00
Folke Lemaitre a32e307981
fix(diffview): fixed parameter for showing single commit with DiffView. Fixes #304 2023-01-09 08:05:32 +01:00
Folke Lemaitre e77be3cf3b
fix(spec): `Plugin.opts` is now always a table. Fixes #351 2023-01-08 18:45:40 +01:00
Folke Lemaitre 7260a2b28b
feat(spec)!: setting a table to `Plugin.config` is now deprecated. Please use `Plugin.opts` instead. (backward compatible for now) 2023-01-08 15:01:58 +01:00
Folke Lemaitre 6a31b97e37
feat(util): better deep merging with `Util.merge` 2023-01-08 15:01:58 +01:00
Folke Lemaitre 615781aebf
feat(git): lazy now detects origin changes and will fix it on update. Fixes #346. Fixes #331 2023-01-08 08:32:03 +01:00
Folke Lemaitre a39fa0f0ce
feat(git): added fast `Git.get_origin` and `Git.get_config` 2023-01-08 08:05:44 +01:00
Folke Lemaitre ad00eb1be2
test: fixed helper function to delete test directory 2023-01-07 22:52:49 +01:00
Folke Lemaitre d34c85d580
fix(cache): check that modpaths still exist when finding mod root 2023-01-07 22:24:53 +01:00
Folke Lemaitre c313249271
feat(spec): show error when loading two specs with the same name and a different url. Fixes #337 2023-01-07 09:37:03 +01:00
Folke Lemaitre 5ed89b5a0d
fix(config): properly handle uis connecting after startup 2023-01-07 09:12:59 +01:00
Brian Koropoff 05b55deb16
fix(config): Don't cache check for attached UIs (#340)
UIs can attach and detach from headless nvim dynamically
(indeed, this is one of its use cases).
2023-01-07 09:01:45 +01:00
Folke Lemaitre 102bc2722e
fix(loader): source runtime files without `silent`. Fixes #336 2023-01-06 19:16:39 +01:00
Folke Lemaitre 4f76b431f7
refactor(util)!: `require("lazy.util").open_cmd()` is deprecated. See the docs 2023-01-06 11:20:08 +01:00
Folke Lemaitre eed1ef3c2d
feat(commands): `:Lazy! load` now skips `cond` checks when loading plugins. Fixes #330 2023-01-06 07:11:50 +01:00
Folke Lemaitre 2ef44e2dee
fix(loader): revert change that loaded /plugin after config. Fixes #328 2023-01-05 19:43:47 +01:00
Folke Lemaitre e89e938991
refactor: split open_cmd in float_cmd and float_term 2023-01-05 17:36:01 +01:00
Folke Lemaitre 13af39b83e
refactor: easier to pass window options for floats 2023-01-05 17:01:56 +01:00
Folke Lemaitre b2dec14824
fix(cache): check full paths of cached modpaths. Fixes #324 2023-01-05 13:42:23 +01:00
Folke Lemaitre e4f79a42d6
fix(util): Util.try can now work without an error message 2023-01-05 11:31:13 +01:00
Folke Lemaitre 847ef091fa
style: disabled stats debug 2023-01-05 11:30:47 +01:00
Folke Lemaitre c59c05c7a8
fix(loader): run plugin config before sourcing runtime 2023-01-04 23:17:29 +01:00
Folke Lemaitre dea43afc4a
feat(spec): allow import property on a plugin spec 2023-01-04 17:50:57 +01:00
Tsakiris Tryfon 3bde7b5ba8
fix(keys): Use vim's default value for an unset g:mapleader (#316) 2023-01-04 14:02:48 +01:00
Folke Lemaitre a7ac2ad020
feat(loader): disable plugins 2023-01-04 12:40:00 +01:00
Folke Lemaitre 09fd8fabd2
fix(loader): dont show error of missing plugins if they are disabled 2023-01-04 11:02:29 +01:00
Folke Lemaitre 81cb352fe6
feat(spec): spec merging now properly works with `Plugin.enabled` 2023-01-04 10:36:51 +01:00
Folke Lemaitre bce0c6e327
perf(spec): more efficient merging of specs and added `Plugin._.super` 2023-01-04 09:35:00 +01:00
Folke Lemaitre 6d46a3028d
style(keys): remove debug output 2023-01-04 09:22:52 +01:00
Folke Lemaitre b4d4e6b41b
fix(loader): move mapleader check to loader, so it can be set by spec files 2023-01-04 09:07:30 +01:00
Folke Lemaitre 2e87520826
fix(util): assume type is file when no type is returned by scandir. Fixes #306 2023-01-04 08:57:50 +01:00
Folke Lemaitre e61b334cee
fix(diff): make diffview work again. Fixes #304 2023-01-04 08:13:51 +01:00
Folke Lemaitre 507b695753
fix(keys): only replace localleader and maplocalleader. Fixes #307, fixes #308 2023-01-04 07:54:45 +01:00
Folke Lemaitre b2673f1057
style: debug formatting 2023-01-04 00:27:31 +01:00
Folke Lemaitre 1c854d7a6d
fix(health): check for all packages on the rtp, excluding `dist` packs 2023-01-03 23:48:00 +01:00
Folke Lemaitre c85f929bd9
fix(install): dont try re-installing failed missing plugins during startup. Fixes #303 2023-01-03 22:50:14 +01:00
Folke Lemaitre 1fd80159d0
fix(spec): show error when users load a plugins module called `lazy` 2023-01-03 22:49:04 +01:00
Folke Lemaitre 953c2791d8
fix(util): made `Util.lsmod` more robust. See #298 2023-01-03 22:31:18 +01:00
Folke Lemaitre f36c7cb0dc
feat(version): allow version=false to override default version 2023-01-03 21:19:20 +01:00
Folke Lemaitre 7b9fa284f8
style: better debug 2023-01-03 16:17:15 +01:00
Folke Lemaitre e93f50fd1b
fix(keys): operator pending mode 2023-01-03 16:16:49 +01:00
Folke Lemaitre 2e3e65b0f7
fix(keys): operator 2023-01-03 11:17:37 +01:00
Folke Lemaitre cdb998c6fe
fix(keys): make operator pending mode work. Fixes #286 2023-01-03 11:16:15 +01:00
Folke Lemaitre 299ffdfd53
feat(ui): added section with disabled plugins 2023-01-03 10:43:10 +01:00
Folke Lemaitre 05aec48968
feat(spec): allow overriding `Plugin.enabled` 2023-01-03 10:34:53 +01:00
Folke Lemaitre dc9c92a9b3
fix(git): properly compare git commits with short refs 2023-01-03 09:36:43 +01:00
Folke Lemaitre ff1e322b4f
style: debug 2023-01-03 09:13:22 +01:00
Folke Lemaitre e749e68b68
fix(ui): check if win is still valid 2023-01-03 09:13:11 +01:00
Folke Lemaitre b5f4106892
fix(stats): more robust checks for native cputime 2023-01-03 09:12:51 +01:00
Folke Lemaitre 06db1ec3c6
fix(stats): fixed cputime on linux 2023-01-02 20:50:10 +01:00
Folke Lemaitre 277a2ab10b
fix(git): better errors when a branch/tag/version could not be found. Fixes #276 2023-01-02 19:01:02 +01:00
Folke Lemaitre 85173dcc4d
fix(stats): windows 2023-01-02 17:42:17 +01:00
Folke Lemaitre ddcdc5e447
fix(stats): use fallback for cputime on windows. Fixes #280 2023-01-02 17:11:01 +01:00
Folke Lemaitre ce3e1fc560
fix(plugin): only get plugin from spec when needed. 2023-01-02 15:27:01 +01:00
Folke Lemaitre 9893430187
fix(cache): dont return directories in lsmod 2023-01-02 15:08:20 +01:00
Folke Lemaitre 60e96b478a
fix(loader): always load init.lua in plugin mods 2023-01-02 15:04:32 +01:00
Folke Lemaitre 9e90852a47
fix(cache): autoloading was broken! 2023-01-02 14:50:34 +01:00
Folke Lemaitre 1ec8f08480
fix(cache): properly return two values for finddir 2023-01-02 14:46:56 +01:00
Folke Lemaitre 69121c7721
tests: fixed tests 2023-01-02 14:35:36 +01:00
Folke Lemaitre 8063523471
ci: added debug info when #topmods>1 2023-01-02 14:29:55 +01:00
Folke Lemaitre 0bc73db503
fix(cache): only autoload when plugins have been parsed. Needed to support `import` 2023-01-02 12:54:38 +01:00
Folke Lemaitre f6b0172e92
fix(cache): allow lazyvim as a plugin 2023-01-02 12:54:00 +01:00
Folke Lemaitre bc4133cb3e
feat(spec): show spec warnings in checkhealth only 2023-01-02 12:53:35 +01:00
Folke Lemaitre d992387912
perf: track some additional cputimes 2023-01-02 11:28:18 +01:00
Folke Lemaitre 46997de1c9
feat(event): track event trigger times 2023-01-02 11:26:54 +01:00
Folke Lemaitre 50a456c189
feat(util): added trackfn that wraps a function and tracks timings 2023-01-02 11:26:40 +01:00
Folke Lemaitre 2d06faa941
feat(loader): incrementally install missing plugins and rebuild spec, so imported specs from plugins work as expected 2023-01-02 10:08:45 +01:00
Folke Lemaitre 919b7f5de3
feat(spec): added `import` to import other plugin modules 2023-01-02 09:44:28 +01:00
Folke Lemaitre 313015fdb4
feat(spec): allow mergig of config, priority and dependencies 2023-01-02 09:41:09 +01:00
Folke Lemaitre 7d755987ba
fix(spec): normalize deps before adding spec to make sure merging works as expected 2023-01-02 09:40:19 +01:00
Folke Lemaitre 77ff7beaa4
perf(cache): cache all lua files till UIEnter instead of VimEnter 2023-01-02 09:39:28 +01:00
Folke Lemaitre 4d77cf2efe
fix(handler): properly show errors generated by setting up handlers 2023-01-02 09:36:52 +01:00
Folke Lemaitre 6ff480bdee
fix(health): always use main spec 2023-01-01 21:09:20 +01:00
Folke Lemaitre 39b66027a5
feat(spec): added support for importing multiple spec modules with `import = "foobar"` 2023-01-01 21:07:05 +01:00
Folke Lemaitre 3974a6cbe3
refactor(help): replace non-word characters by - for readme filenames 2023-01-01 20:31:34 +01:00
Folke Lemaitre 51c23b661e
fix(spec): allow a spec module to be on the rtp and not only in config 2023-01-01 20:31:34 +01:00
Munif Tanjim d521a25cfc
feat(help): accept patterns for readme (#269) 2023-01-01 20:23:41 +01:00
Folke Lemaitre 11eee43c7e
fix(cache): keep ordering of topmods the same as in rtp 2023-01-01 18:52:07 +01:00
Folke Lemaitre b23a5dc8d5
fix(loader): setup handlers after installing missing plugins. Fixes #272 2023-01-01 18:45:20 +01:00
Munif Tanjim 1edd1b8945
fix(help): properly escape helptags search pattern (#268) 2023-01-01 10:56:18 +01:00
Folke Lemaitre 23c0587791
feat(commands): added build command to force rebuild of a plugin 2023-01-01 09:41:43 +01:00
Folke Lemaitre 205ce42cdc
fix(commands): fixed plugin completion for commands 2023-01-01 09:40:51 +01:00
Folke Lemaitre 0fadb5e1ce
feat(ui): when updating to a new version, show the version instead of the commit refs 2022-12-31 16:08:09 +01:00
Folke Lemaitre 34e2c78e06
feat(ui): show new version that is available instead of general message 2022-12-31 16:08:09 +01:00
Folke Lemaitre a9de5910f2
fix(fetch): always fetch latest origin tags. Fixes #264 2022-12-31 16:08:09 +01:00
Folke Lemaitre d6b5d6e756
feat(ui): press `<c-c>` to abort any running tasks. Fixes #258 2022-12-31 10:38:03 +01:00
Folke Lemaitre ed0583e82b
fix(util): remove double forward slashes 2022-12-31 09:55:55 +01:00
Folke Lemaitre b4edbd09f5
docs: updated bootstrap code to stable branch 2022-12-31 09:44:22 +01:00
Folke Lemaitre cb29427926
fix(git): always get both tag and version 2022-12-31 09:36:08 +01:00
Folke Lemaitre 865ff414c7
feat(git): added support for packed-refs. Fixes #260 2022-12-31 09:32:44 +01:00
Folke Lemaitre 5575d2b2a9
feat(ui): show when plugin would be loaded for unloaded plugins. Fixes #261 2022-12-31 08:51:09 +01:00
Folke Lemaitre fb46cb5862
build: utility method to create plugin list in markdown 2022-12-30 23:58:01 +01:00
Folke Lemaitre 45d669f61c
fix(ui): only show plugins to clean under clean 2022-12-30 21:23:12 +01:00
Folke Lemaitre a834b30c70
fix(keys): forward `count` to keymaps. Fixes #252 2022-12-30 20:51:18 +01:00
Folke Lemaitre 679d85c9ff
feat(ui): make brower configurable. Fixes #248 2022-12-30 20:41:23 +01:00
Folke Lemaitre 730bb84364
perf(loader): re-use topmod cache to find `setup()` module 2022-12-30 20:14:46 +01:00
WilliamHsieh 51fb95e4a8
fix: duplicate state check in bootstrap (#255) 2022-12-30 18:55:36 +01:00
Folke Lemaitre de82a99197
fix(bootstrap): fixed bootstrap script 2022-12-30 14:46:25 +01:00
Folke Lemaitre 32511a1214
feat(health): added spec parsing errors to `:checkhealth` 2022-12-30 11:52:20 +01:00
Folke Lemaitre def5cc5816
fix(cache): clear cached entry on errors 2022-12-30 11:52:20 +01:00
Folke Lemaitre 86dff1b59a
feat(commands): added health command to run `:checkhealth lazy` 2022-12-30 11:29:22 +01:00
Folke Lemaitre 2a617a7024
feat(api): allow passing options to float so it can be used outside of lazy 2022-12-30 10:43:46 +01:00
Folke Lemaitre 81ee02b8f6
feat(startup): missing plugins will now install the versions in the lockfile if available. Fixes #138 2022-12-30 09:17:53 +01:00
Folke Lemaitre 1283c2b288
feat(restore): you can now restore a plugin to a certain commit. Fixes #234 2022-12-30 09:17:53 +01:00
Folke Lemaitre 291dd6a74b
docs: updated bootstrap code to exclude single-branch 2022-12-30 01:01:22 +01:00
Folke Lemaitre 929198bc4f
feat(bootstrap): bootstrap with last lazy stable release 2022-12-29 23:32:02 +01:00
Folke Lemaitre a4bd4dc4a7
fix(loader): normalize rtp paths on windows #230 2022-12-29 23:06:51 +01:00
Folke Lemaitre 9f3fb38402
fix(ftdetect): source ftdetect files only once. Fixes #235 2022-12-29 22:40:57 +01:00
Folke Lemaitre 853d4d5838
fix(cache): added support for top level lua linked directories. Fixes #233 2022-12-29 18:40:28 +01:00
Folke Lemaitre 8544c389ab
fix(cache): always normalize modname separators 2022-12-29 18:26:39 +01:00
Folke Lemaitre c7c1295c3e
fix: only show fired ft events in debug obvioulsy. Fixes #232 2022-12-29 18:06:40 +01:00
Folke Lemaitre a2eac68575
fix(cmd): fixed signature of cmd._del. Fixes #229 2022-12-29 17:32:54 +01:00
Folke Lemaitre 7de662d037
fix(ft): only trigger filetypepluing and filetypeindent for ft handler. Fixes #228 2022-12-29 17:26:38 +01:00
Folke Lemaitre db043da829
fix(config): reset packpath to include VIMRUNTIME only. Fixes #214 2022-12-29 16:04:45 +01:00
Folke Lemaitre 3a1a10cd75
fix(loader): implemented correct adding to rtp. fix #230, fix #226 2022-12-29 16:03:23 +01:00
Folke Lemaitre c7122d64cd
fix(loader): temporary fix for Vimtex and others. See #230 2022-12-29 10:51:25 +01:00
Folke Lemaitre 044e28bf8b
fix(cache): check package.loaded after auto-load and return existing module if present. Fixes #224 2022-12-29 09:06:23 +01:00
Folke Lemaitre b8c5ab5dae
fix(cache): reload file if compiled code is incompatible. Fixes #225 2022-12-29 08:25:24 +01:00
Folke Lemaitre 4e3a973f85
fix(rtp): correct order of adding to rtp. Fixes #226 2022-12-29 08:21:27 +01:00
Folke Lemaitre e3ffcff7cc
fix(cache): ad jit.verion to cache version string. Fixes #225 2022-12-29 08:01:05 +01:00
Folke Lemaitre 95b9cf743c
fix(cache): properly get rtp during fast events 2022-12-29 01:25:17 +01:00
Folke Lemaitre 4b75d06c07
fix(cache): dont update rtp in fast events 2022-12-29 01:04:39 +01:00
Folke Lemaitre 6c0b803999
fix(git): add --no-show-signature. Fixes #218 2022-12-29 01:02:05 +01:00
Folke Lemaitre c8553ca44f
feat(plugin): allow some `lazy.nvim` spec props to be set by the user 2022-12-29 00:49:38 +01:00
Folke Lemaitre 9997523841
fix(cache): OptionSet is not triggered during startup, so use #rtp instead to see if it changed 2022-12-29 00:48:59 +01:00
Folke Lemaitre 370b1b982e
fix(cache): make it work again... #fixup 2022-12-28 23:50:25 +01:00
Folke Lemaitre c2f7e2d098
feat(ui): added extra cache stats to the debug tab 2022-12-28 17:58:24 +01:00
Folke Lemaitre 34977c2b80
perf: move autoloader to cache and always use lazy's modname path resolver which is much faster 2022-12-28 17:58:24 +01:00
Folke Lemaitre 956164d27d
fix(loader): show proper error message when trying to load a plugin that is not installed. Fixes #201. Fixes #202 2022-12-28 17:58:24 +01:00
Folke Lemaitre 5f423b29c6
fix(loader): when `config=true`, pass `nil` to `setup()`. Fixes #208 2022-12-28 17:58:24 +01:00
Folke Lemaitre 021e54655f
feat(cache): update package.loaded on require 2022-12-28 17:58:23 +01:00
max397574 b813fae61c
fix(health): add `cond` key (#203) 2022-12-28 17:39:51 +01:00
tzachar acd6697d88
fix(commands): E5108 in getcompletions (#207) 2022-12-28 17:39:31 +01:00
Dr. David A. Kunz ff8f3783fa
feat(profile): nicer threshold prompt (#210) 2022-12-28 17:38:08 +01:00
Darkhan dc03fa1ae5
fix(health): add new key `priority` to `:checkhealth lazy` (#196) 2022-12-28 00:03:09 +01:00
Folke Lemaitre 0d0d11acb2
fix(ui): removed newlines from profile tab 2022-12-27 19:50:11 +01:00
Folke Lemaitre 3b46160c01
feat(ui): added new section specifically for updates 2022-12-27 19:35:23 +01:00
Folke Lemaitre edf8310288
feat(plugin): added `Plugin.priority` for start plugins 2022-12-27 17:24:47 +01:00
Folke Lemaitre a2fdf369f2
feat(profile): added accurate startuptime to ui/stats/docs 2022-12-27 13:34:12 +01:00
Folke Lemaitre d1739cb7e1
feat(util): use treesitter to highlight notify messages when available 2022-12-27 13:34:12 +01:00
Folke Lemaitre 5618076a45
fix(ft): always trigger FileType when lazy-loading on ft 2022-12-27 08:57:49 +01:00
Folke Lemaitre 38a9541939
style(plugin): improved types a bit, but sumneko still can't handle them since they're recursive 2022-12-27 08:30:28 +01:00
Folke Lemaitre 8a3152de93
fix(plugin): find plugins with `/lua/` instead of `/lua` 2022-12-27 07:44:28 +01:00
Folke Lemaitre 96e82986ee
docs: updated docs 2022-12-26 23:19:37 +01:00
Folke Lemaitre b6ebed5888
fix(plugin): pass plugin as arg to config/init/build 2022-12-26 22:59:07 +01:00
Tsakiris Tryfon c4d924acee
fix(reloader): remove extra trailing separator (#180) 2022-12-26 19:42:42 +01:00
Folke Lemaitre 4e4493b21d
feat(reloader): trigger LazyReload when changes were detected and after reload. Fixes #178 2022-12-26 19:00:11 +01:00
Folke Lemaitre bb53b8473c
fix(cache): never use packer paths from cache 2022-12-26 18:35:07 +01:00
Folke Lemaitre 46280a191b
fix(keys): don't escape pendig keys twice and only convert when number 2022-12-26 15:55:40 +01:00
Folke Lemaitre 9a2ecc8750
feat(ui): re-render after resize. Fixes #174 2022-12-26 14:19:39 +01:00
Folke Lemaitre 0ea771bd70
feat(ui): made all highlight groups and icons configurable 2022-12-26 10:24:53 +01:00
Folke Lemaitre 5f017bf655
docs: document highlight groups 2022-12-26 09:37:31 +01:00
Folke Lemaitre aed842ae1e
feat(plugin): added `Plugin.cond`. Fixes #89, #168 2022-12-26 09:37:30 +01:00
Folke Lemaitre 2f5c1be525
fix(ui): get plugin details from the correct plugin in case it was deleted 2022-12-26 09:37:30 +01:00
Folke Lemaitre 4aa362e8dc
feat(cache): make ttl configurable 2022-12-25 16:26:17 +01:00
Folke Lemaitre 9837d5be7e
fix(keys): only delete key handler mappings once 2022-12-25 16:17:50 +01:00
Folke Lemaitre 90952239d2
fix(loader): add proper error message when trying to load a plugin that doesn't exist. Fixes #160 2022-12-25 14:06:53 +01:00
Folke Lemaitre e632eb4ae0
style: mode no longer needed as param for view 2022-12-25 13:46:42 +01:00
jdrouhard 037f242430
fix(diff): use git show when only displaying one commit (#155) 2022-12-25 13:45:56 +01:00
max397574 8ea9d8b024
feat(ui): make lazy icon configurable (#163)
* feat(ui): make lazy icon configurable

* docs: add lazy icon config option
2022-12-25 13:41:33 +01:00
Folke Lemaitre a36d506393
feat(manage): added user events when operations finish. Fixes #135 2022-12-24 11:55:42 +01:00
Folke Lemaitre 3352fc6265
docs: added diff keybindings to help page 2022-12-24 11:41:06 +01:00
Folke Lemaitre be3909c544
feat(ui): added custom commands for lazygit and opening a terminal for a plugin 2022-12-24 11:30:16 +01:00
Folke Lemaitre 7d02da2ff0
feat(ui): added multiple options for diff command 2022-12-24 11:30:16 +01:00
Folke Lemaitre 8ad05feef1
feat(util): open terminal commands in a float 2022-12-24 11:30:16 +01:00
Folke Lemaitre 7c2eb15444
feat: util method to open a float 2022-12-24 11:30:16 +01:00
Folke Lemaitre b34e25873a
refactor: float is now a separate module 2022-12-24 11:30:16 +01:00
Folke Lemaitre fc182f7c5d
fix(manage): only clear plugins for the op instead of all 2022-12-24 11:30:16 +01:00
Folke Lemaitre 74d8b8e4e1
fix: plugin list can be string[]. Fixes #145 2022-12-24 11:30:16 +01:00
Folke Lemaitre 86f2c67aa8
fix(checker): update updated after every manage operation. Fixes #141 2022-12-24 11:30:15 +01:00
Folke Lemaitre 9110371120
feat(build): build can now be a list to execute multiple build commands. Fixes #143 2022-12-24 11:30:15 +01:00
Folke Lemaitre 593d6e400b
feat(ui): you can now hover over a plugin to open a diff of updates or the plugin homepage 2022-12-24 11:30:15 +01:00
Folke Lemaitre 83270cc5e5
refactor(commands): move ui/commands config to separate file 2022-12-23 20:55:56 +01:00
Folke Lemaitre 74b076e030
docs: added after/wants to migration guide and added an example that sets a key mode 2022-12-23 19:03:30 +01:00
Aaron 5a1812a633
Better terminology (#132) 2022-12-23 14:58:11 +01:00
Folke Lemaitre f360e336a5
fix(help): make sure we always generate lazy helptags 2022-12-23 13:13:34 +01:00
Folke Lemaitre d6304f0b42
docs: added `keys` to packer migration 2022-12-23 12:26:38 +01:00
Folke Lemaitre 50e3b91767
fix(ui): sort profiling chronological by default 2022-12-23 11:47:05 +01:00
Folke Lemaitre e973323e95
fix(ui): fixed extmarks while wrapping. Fixes #124 2022-12-23 11:18:32 +01:00
Folke Lemaitre 7dfb9c1f5c
feat(ui): added options to sort/filter profiling data 2022-12-23 10:43:22 +01:00
Folke Lemaitre fde5feea6d
refactor: refactored ui code 2022-12-23 10:18:19 +01:00
Folke Lemaitre cd023dc709
style: remove setting colors on startup 2022-12-23 08:41:42 +01:00
Folke Lemaitre e2bbf3deef
refactor: better annotations to make sumneko faster 2022-12-23 08:34:55 +01:00
Folke Lemaitre 65e903652b
fix: added error message to debug failing extmarks #117 2022-12-23 08:05:32 +01:00
Folke Lemaitre cc6276e9b0
refactor!: default lazy cache path is now under cache instead of state 2022-12-23 07:48:45 +01:00
Folke Lemaitre 8251c23c90
fix(checker): dont report updates on install during startup 2022-12-23 07:48:45 +01:00
Folke Lemaitre 7b9b476a62
fix(install): make sure to setup loaders before attempting install so colorscheme can load. Fixes #122 2022-12-23 07:48:45 +01:00
Folke Lemaitre 81126403a8
feat!: `init()` no longer implies lazy-loading. Add `lazy=false` for affected plugins 2022-12-22 23:08:12 +01:00
Folke Lemaitre 2a7b0047dd
feat(spec): `config` can be `true` or a `table` that will be passed to `require("plugin").setup(config)` 2022-12-22 22:48:22 +01:00
Sebastian Lyng Johansen 9e983898b1
fix(ui): fix buffer being properly deleted (#112) 2022-12-22 22:01:01 +01:00
Folke Lemaitre 3f60f2dc13
fix(keys): key handlers were not working after reload 2022-12-22 21:58:19 +01:00
Folke Lemaitre b5d6afc4fa
fix(manage): do not reload pugins on clear 2022-12-22 21:58:19 +01:00
Folke Lemaitre b440b3ac2d
fix(keys): don't create with remap! 2022-12-22 21:07:24 +01:00
Folke Lemaitre 72b38999bc
fix(keys): dont delete handlers manually. Let loader do that 2022-12-22 18:53:19 +01:00
Folke Lemaitre 08d458c5ba
fix: remove debug print 2022-12-22 18:50:31 +01:00
Folke Lemaitre 2756a6f756
fix!: run `init()` before loading start plugins. Fixes #107 2022-12-22 18:47:34 +01:00
Folke Lemaitre 56890ce5f4
fix: remove lazy keymaps with the correct mode. Fixes #97 2022-12-22 17:49:32 +01:00