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
|
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
|
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 |
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
|
b6ebed5888
|
fix(plugin): pass plugin as arg to config/init/build
|
2022-12-26 22:59:07 +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
|
0ea771bd70
|
feat(ui): made all highlight groups and icons configurable
|
2022-12-26 10:24:53 +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 |
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
|
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
|
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
|
fde5feea6d
|
refactor: refactored ui code
|
2022-12-23 10:18:19 +01:00 |
Folke Lemaitre
|
e2bbf3deef
|
refactor: better annotations to make sumneko faster
|
2022-12-23 08:34:55 +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
|
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 |
Folke Lemaitre
|
3f60f2dc13
|
fix(keys): key handlers were not working after reload
|
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 |
Folke Lemaitre
|
4bf771a6b2
|
feat(spec): allow using plugin names in dependencies
|
2022-12-22 17:25:12 +01:00 |
Folke Lemaitre
|
07b467738d
|
feat(loader): automatically lazy-load colorschemes
|
2022-12-22 13:49:17 +01:00 |
Folke Lemaitre
|
c0c2e1bd68
|
fix(cmd): allow ranges. Fixes #93
|
2022-12-22 10:37:02 +01:00 |
Folke Lemaitre
|
1c07ea15a3
|
feat(keys): more advanced options for setting lazy key mappings
|
2022-12-22 10:32:21 +01:00 |
Folke Lemaitre
|
2200284165
|
fix(cache): overwrite cache entry with new modpath when loading a file. Fixes #90
|
2022-12-22 09:10:11 +01:00 |
Folke Lemaitre
|
2e14a2f324
|
feat: added support for `nvim --headless "+Lazy! sync" +qa`
|
2022-12-21 22:28:09 +01:00 |