Skip to content

Releases: folke/lazy.nvim

v7.3.0

27 Dec 21:39
9ab61b3
Compare
Choose a tag to compare

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

26 Dec 15:13
5697098
Compare
Choose a tag to compare

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

24 Dec 11:24
f22dfd4
Compare
Choose a tag to compare

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

  • checker: update updated after every manage operation. Fixes #141 (86f2c67)
  • help: make sure we always generate lazy helptags (f360e33)
  • manage: only clear plugins for the op instead of all (fc182f7)
  • plugin list can be string[]. Fixes #145 (74d8b8e)

v7.0.0

23 Dec 10:49
7f10386
Compare
Choose a tag to compare

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. Add lazy=false for affected plugins
  • run init() before loading start plugins. Fixes #107

Features

  • init() no longer implies lazy-loading. Add lazy=false for affected plugins (8112640)
  • loader: automatically lazy-load colorschemes (07b4677)
  • spec: config can be true or a table that will be passed to require("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)

v6.0.0

22 Dec 09:46
210d170
Compare
Choose a tag to compare

6.0.0 (2022-12-22)

⚠ BREAKING CHANGES

  • lazy api commands now take an opts table instead of a list of plugins

Features

  • added support for nvim --headless "+Lazy! sync" +qa (2e14a2f)
  • checker: defer checker to after VeryLazy to make sure nvim-notify and others are loaded (fd1fbef)
  • keys: more advanced options for setting lazy key mappings (1c07ea1)
  • lazy api commands now take an opts table instead of a list of plugins (bc61747)
  • ui: show modpaths in debug (6304231)

Bug Fixes

  • cache: overwrite cache entry with new modpath when loading a file. Fixes #90 (2200284)
  • clean: update lockfile on clean (#88) (dd9648f)
  • cmd: allow ranges. Fixes #93 (c0c2e1b)
  • git: make sure we properly fetch git submodules. Fixes #72 (7f6f31d)
  • git: remove --also-filter-submodules. Fixes #86 #83 (488b487)
  • install: update lockfile also on install (4cf176b)
  • removed spell again from site. not needed. can download in config/spell (58f0876)
  • rtp: keep site in rtp (94d0125)
  • show mapleader warning with vim.schedule. Fixes #91 (28f1511)

v5.2.0

21 Dec 18:09
472a091
Compare
Choose a tag to compare

5.2.0 (2022-12-21)

Features

  • loader: allow to add extra paths to rtp reset. Fixes #64 (876f7bd)
  • loader: warn when mapleader is changed after init (4ca3039)
  • make hover easy to override (f0e1b85)
  • plugin: allow plugin files only without a main plugin module. Fixes #53 (44f80a7)
  • util: utility method to get sync process output (e95da35)

Bug Fixes

  • cache: if we can't load from the cache modpath, find path again instead of erroring right away (a345649)
  • checker: allow git checks only for non-pinned plugins (#61) (a939243)
  • git: dereference tag refs. Fixes #54 (86eaa11)
  • git: only mark a plugin as dirty if an update changed the commit HEAD. Fixes #62 (bbace14)
  • health: don't show warning on module=false (c228908)
  • help: sort tags files for readmes so tags work properly. Fixes #67 (2fd78fb)
  • keys: feedkeys should include pending keys. Fixes #71 (2ab6518)
  • loader: lua modules can be links instead of files. Fixes #66 (b7c489b)
  • loader: source rtp /plugin files after loading start plugins. Fixes (ff24f49)
  • strip / from dirs. Fixes #60 (540847b)
  • ui: install command can have plugins as a parameter (232232d)
  • ui: set current win only when its valid (3814883)

v5.1.0

20 Dec 22:36
3a7b8c8
Compare
Choose a tag to compare

5.1.0 (2022-12-20)

Features

  • added options to configure change detection. Fixes #32 (6c767a6)
  • ui: make the windoww size configurable. Fixes #34 (941df31)

Bug Fixes

  • add filetype to window buffer. (#41) (897d6df)
  • git: don't run git log for submodules. Fixes #33 (9d12cdc)
  • loader: source filetype.lua before plugins. Fixes #35 (ffcd0ab)
  • spec: only process a spec once (b193f96)
  • use nvim_feekeys instead of nvim_input for keys handler. Fixes #28 (5298441)

Performance Improvements

  • ui: clear existing extmarks before rendering (06ac8bd)

v5.0.1

20 Dec 16:00
4d78203
Compare
Choose a tag to compare

5.0.1 (2022-12-20)

Bug Fixes

  • add neovim libs to rtp for treesitter parsers etc (df6c986)
  • always set Config.me regardless of reset rtp (992c679)
  • build: use the shell to execute build commands (1371a14)
  • cache: if mod is loaded already in the loader, then return that (ffabe91)
  • checker should not error on non-existing dirs (ddf36d7)
  • deepcopy lazyspec before processing (6e32759)
  • default logs are now since 3 days ago to be in line with the docs (e9d3a73)
  • dont autoload cached modules when module=false (316503f)
  • move re-sourcing check to the top (6404d42)
  • only run updated checker for installed plugins. Fixes #16 (ae644a6)
  • show error when merging, but continue (f78d8bf)
  • use jobstart instead of system to open urls (1754056)

v5.0.0

20 Dec 09:21
2f59ead
Compare
Choose a tag to compare

5.0.0 (2022-12-20)

⚠ BREAKING CHANGES

  • removed the LazyUpdate etc commands. sub-commands only from now on

Features

  • added :Lazy load foobar.nvim to load a plugin (2dd6230)
  • added module=false to skip auto-loading of plugins on require (1efa710)
  • added completion for all lazy commands (5ed9855)
  • added support for Windows (bb1c2f4)
  • removed the LazyUpdate etc commands. sub-commands only from now on (d4aee27)
  • utility method to normalize a path (198963f)

Bug Fixes

  • cache: do a fast check to see if a cached modpath is still valid. find it again otherwise (32f2b71)
  • cache: normalize paths (62c1542)
  • check for installed plugins with plain find (a189883)
  • ui: focus Lazy window when auto-installing plugins in VimEnter (1fe43f3)
  • util: fixed double slashes (af87108)

Performance Improvements

  • cache: cache loadfile and no find modpaths without package.loaders (faac2dd)
  • lazy-load the commands available on the lazy module (b89e6bf)

v4.2.0

18 Dec 14:05
48309dd
Compare
Choose a tag to compare

4.2.0 (2022-12-18)

Features

  • check if ffi is available and error if not (c0d3617)
  • expose all commands on main lazy module (f25f942)
  • loader: added error handler to sourcing of runtime files (eeb06a5)
  • never source packer_compiled.lua (a46c0c0)
  • ui: added dir to props (9736671)
  • ui: added help for <CR> on a plugin (c87673c)
  • ui: made it look a little less like a Mason rip-off :) (9026a0e)
  • ui: make home bold (0b4a04d)

Bug Fixes

  • loader: runtime files are now sourced alphabetically per directory (5c0c381)
  • set correct dir for lazy plugin (23984dd)
  • ui: always clear complete tasks with the same name when starting a new task (85e3752)
  • ui: show first tag for each help doc in details (6f728e6)
  • ui: split window before opening a file from the Lazy ui, otherwise it'll get closed immediately (f18efa1)