Releases: folke/lazy.nvim
Releases Β· folke/lazy.nvim
v7.7.0
7.7.0 (2022-12-31)
Features
- git: added support for packed-refs. Fixes #260 (865ff41)
- ui: make brower configurable. Fixes #248 (679d85c)
- ui: show when plugin would be loaded for unloaded plugins. Fixes #261 (5575d2b)
Bug Fixes
- bootstrap: fixed bootstrap script (de82a99)
- duplicate state check in bootstrap (#255) (51fb95e)
- git: always get both tag and version (cb29427)
- keys: forward
count
to keymaps. Fixes #252 (a834b30) - ui: only show plugins to clean under clean (45d669f)
Performance Improvements
- loader: re-use topmod cache to find
setup()
module (730bb84)
v7.6.0
7.6.0 (2022-12-30)
Features
- api: allow passing options to float so it can be used outside of lazy (2a617a7)
- commands: added health command to run
:checkhealth lazy
(86dff1b) - health: added spec parsing errors to
:checkhealth
(32511a1) - restore: you can now restore a plugin to a certain commit. Fixes #234 (1283c2b)
- startup: missing plugins will now install the versions in the lockfile if available. Fixes #138 (81ee02b)
Bug Fixes
- cache: clear cached entry on errors (def5cc5)
v7.5.0
v7.4.2
v7.4.1
v7.4.0
7.4.0 (2022-12-29)
Features
- cache: update package.loaded on require (021e546)
- plugin: allow some
lazy.nvim
spec props to be set by the user (c8553ca) - profile: nicer threshold prompt (#210) (ff8f378)
- ui: added extra cache stats to the debug tab (c2f7e2d)
Bug Fixes
- cache: ad jit.verion to cache version string. Fixes #225 (e3ffcff)
- cache: added support for top level lua linked directories. Fixes #233 (853d4d5)
- cache: always normalize modname separators (8544c38)
- cache: check package.loaded after auto-load and return existing module if present. Fixes #224 (044e28b)
- cache: dont update rtp in fast events (4b75d06)
- cache: make it work again... #fixup (370b1b9)
- cache: OptionSet is not triggered during startup, so use #rtp instead to see if it changed (9997523)
- cache: properly get rtp during fast events (95b9cf7)
- cache: reload file if compiled code is incompatible. Fixes #225 (b8c5ab5)
- cmd: fixed signature of cmd._del. Fixes #229 (a2eac68)
- commands: E5108 in getcompletions (#207) (acd6697)
- config: reset packpath to include VIMRUNTIME only. Fixes #214 (db043da)
- ft: only trigger filetypepluing and filetypeindent for ft handler. Fixes #228 (7de662d)
- git: add --no-show-signature. Fixes #218 (6c0b803)
- health: add
cond
key (#203) (b813fae) - health: add new key
priority
to:checkhealth lazy
(#196) (dc03fa1) - loader: implemented correct adding to rtp. fix #230, fix #226 (3a1a10c)
- loader: show proper error message when trying to load a plugin that is not installed. Fixes #201. Fixes #202 (956164d)
- loader: temporary fix for Vimtex and others. See #230 (c7122d6)
- loader: when
config=true
, passnil
tosetup()
. Fixes #208 (5f423b2) - only show fired ft events in debug obvioulsy. Fixes #232 (c7c1295)
- rtp: correct order of adding to rtp. Fixes #226 (4e3a973)
Performance Improvements
- move autoloader to cache and always use lazy's modname path resolver which is much faster (34977c2)
v7.3.0
7.3.0 (2022-12-27)
Features
- plugin: added
Plugin.priority
for start plugins (edf8310) - profile: added accurate startuptime to ui/stats/docs (a2fdf36)
- reloader: trigger LazyReload when changes were detected and after reload. Fixes #178 (4e4493b)
- ui: added new section specifically for updates (3b46160)
- util: use treesitter to highlight notify messages when available (d1739cb)
Bug Fixes
- cache: never use packer paths from cache (bb53b84)
- ft: always trigger FileType when lazy-loading on ft (5618076)
- plugin: find plugins with
/lua/
instead of/lua
(8a3152d) - plugin: pass plugin as arg to config/init/build (b6ebed5)
- reloader: remove extra trailing separator (#180) (c4d924a)
- ui: removed newlines from profile tab (0d0d11a)
v7.2.0
7.2.0 (2022-12-26)
Features
- cache: make ttl configurable (4aa362e)
- plugin: added
Plugin.cond
. Fixes #89, #168 (aed842a) - ui: made all highlight groups and icons configurable (0ea771b)
- ui: make lazy icon configurable (#163) (8ea9d8b)
- ui: re-render after resize. Fixes #174 (9a2ecc8)
Bug Fixes
- diff: use git show when only displaying one commit (#155) (037f242)
- keys: don't escape pendig keys twice and only convert when number (46280a1)
- keys: only delete key handler mappings once (9837d5b)
- loader: add proper error message when trying to load a plugin that doesn't exist. Fixes #160 (9095223)
- ui: get plugin details from the correct plugin in case it was deleted (2f5c1be)
v7.1.0
7.1.0 (2022-12-24)
Features
- build: build can now be a list to execute multiple build commands. Fixes #143 (9110371)
- manage: added user events when operations finish. Fixes #135 (a36d506)
- ui: added custom commands for lazygit and opening a terminal for a plugin (be3909c)
- ui: added multiple options for diff command (7d02da2)
- ui: you can now hover over a plugin to open a diff of updates or the plugin homepage (593d6e4)
- util method to open a float (7c2eb15)
- util: open terminal commands in a float (8ad05fe)
Bug Fixes
v7.0.0
7.0.0 (2022-12-23)
β BREAKING CHANGES
- default lazy cache path is now under cache instead of state
init()
no longer implies lazy-loading. Addlazy=false
for affected plugins- run
init()
before loading start plugins. Fixes #107
Features
init()
no longer implies lazy-loading. Addlazy=false
for affected plugins (8112640)- loader: automatically lazy-load colorschemes (07b4677)
- spec:
config
can betrue
or atable
that will be passed torequire("plugin").setup(config)
(2a7b004) - spec: allow using plugin names in dependencies (4bf771a)
- ui: added options to sort/filter profiling data (7dfb9c1)
Bug Fixes
- added error message to debug failing extmarks #117 (65e9036)
- checker: dont report updates on install during startup (8251c23)
- install: make sure to setup loaders before attempting install so colorscheme can load. Fixes #122 (7b9b476)
- keys: don't create with remap! (b440b3a)
- keys: dont delete handlers manually. Let loader do that (72b3899)
- keys: key handlers were not working after reload (3f60f2d)
- manage: do not reload pugins on clear (b5d6afc)
- pass plugins instead of plugin names to command. Fixes #103 (42f5aa7)
- remove debug print (08d458c)
- remove lazy keymaps with the correct mode. Fixes #97 (56890ce)
- run
init()
before loading start plugins. Fixes #107 (2756a6f) - ui: fix buffer being properly deleted (#112) (9e98389)
- ui: fixed extmarks while wrapping. Fixes #124 (e973323)
- ui: sort profiling chronological by default (50e3b91)
Code Refactoring
- default lazy cache path is now under cache instead of state (cc6276e)