Commit Graph

348 Commits

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