Commit Graph

931 Commits

Author SHA1 Message Date
github-actions[bot] eab487c252
chore(main): release 10.21.2 (#1492)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-31 20:41:13 +02:00
Anshuman Medhi b77aaa08cb
fix(ui): deduplicate plugins when selecting multiple (#1491) 2024-05-31 16:28:33 +02:00
github-actions[bot] 4a8f813d81
chore(main): release 10.21.1 (#1490)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-31 14:14:25 +02:00
Folke Lemaitre 917dfbe2a9
fix(view): backward compat for older Neovim versions. Fixes #1489 2024-05-31 13:55:54 +02:00
github-actions[bot] 24fa2a9708
chore(main): release 10.21.0 (#1477)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-26 16:59:48 +02:00
Folke Lemaitre 9dde1f1bce
feat: added support for local spec files `.lazy.lua` 2024-05-26 16:43:52 +02:00
Christian Clason ea7b9c3c3f
fix(render): disable underline for diagnostics (#1478)
Problem: On current Nvim nightlies, a regression in a
`vim.highlight.range()` refactor makes underlines for diagnostics at end
of line extend into the next line, leading to visual artifacts in the
update view.

Solution: Suppress underlines for diagnostics, as they are not wanted
anyway.
2024-05-26 15:21:58 +02:00
Anshuman Medhi 7667a73dee
feat: single-plugin keys in the lazy view in visual mode (#1476)
Applies to all plugins contained in the range
2024-05-26 10:40:08 +02:00
github-actions[bot] 8f19915175
chore(main): release 10.20.5 (#1445)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-22 00:10:58 +02:00
Folke Lemaitre 82cf974e09
fix(keys): properly deal with ft list for keys. Fixes #1448 2024-05-21 22:10:49 +02:00
Folke Lemaitre 39de11a2fa
fix(keys): properly re-create buffer-local mappings. Fixes #1448 2024-05-20 21:15:04 +02:00
Folke Lemaitre 56a34a825b
fix(help): get rid of any tbl_flatten or iter flatten code 2024-05-19 17:29:43 +02:00
Folke Lemaitre 5d29ffeaa0
style: favorite icon 2024-05-18 13:23:55 +02:00
Kevin Traver 2e04a0c02c
fix(checker): ignore dev plugins (#1384) 2024-05-18 10:14:12 +02:00
Sebastian Lyng Johansen d039aecddb
fix: use vim.iter():flatten():totable() over vim.tbl_flatten (#1454) 2024-05-16 21:44:51 +02:00
Folke Lemaitre d2a4ce22dc
fix(git): force `autocrlf=false`. Fixes #1055 2024-05-13 08:34:39 +02:00
github-actions[bot] 758bb5de98
chore(main): release 10.20.4 (#1400)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-12 10:15:14 +02:00
Tristan Knight 2fcbcaf07a
fix(reload): strings in lua reload (#1439) 2024-05-12 09:50:06 +02:00
Folke Lemaitre 40845063a2
fix(ui): hover now opens repo url when no diff with main. Fixes #1430 2024-05-12 09:43:34 +02:00
Iordanis Petkakis 24234f47a2
fix(ui): add conditional `nvim_get_hl_by_name` for Neovim 0.8.0 (#1429) 2024-05-04 10:01:20 +02:00
Folke Lemaitre 481aed70cc
fix(heath): vim.uv. Fixes #1412 2024-04-22 10:33:32 +02:00
Folke Lemaitre 31ddbea7c1
fix(ui): set backdrop filetype to `lazy_backdrop`. Fixes #1399 2024-03-29 20:28:47 +01:00
github-actions[bot] bef521ac89
chore(main): release 10.20.3 (#1394)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-29 08:18:38 +01:00
Folke Lemaitre 0ccf031227
fix(ui): disable backdrop when Neovim is transparent 2024-03-28 14:52:07 +01:00
Folke Lemaitre f61ca6ec70
docs: fix commands table. Fixes #1393 2024-03-28 12:15:31 +01:00
Folke Lemaitre e753eb6025
ci: better docgen 2024-03-27 22:59:00 +01:00
Folke Lemaitre a836600573
docs: make bootstrap work on stable and nightly. Fixes #1391 2024-03-27 09:23:19 +01:00
github-actions[bot] 65887ea871
chore(main): release 10.20.2 (#1388)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-27 08:55:21 +01:00
Folke Lemaitre eefb8974d6
fix(ui): special handling for floats closed before VimEnter. Seems that WinClosed events dont execute before that. Fixes #1390 2024-03-27 08:48:55 +01:00
Folke Lemaitre d37a76b871
fix(ui): only enable backdrop when guicolors is set. Fixes #1387 2024-03-26 22:57:58 +01:00
github-actions[bot] 68941b7b13
chore(main): release 10.20.1 (#1386)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-26 20:32:47 +01:00
Folke Lemaitre 79e2e85934
fix(ui): properly cleanup on `:quit`. Fixes #1385 2024-03-26 20:31:15 +01:00
github-actions[bot] 107719d31e
chore(main): release 10.20.0 (#1382)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-26 19:54:49 +01:00
Folke Lemaitre a6b74f30d5
feat(ui): backdrop for the lazy floating window. Can be disabled with `opts.ui.backdrop` 2024-03-26 19:52:19 +01:00
Folke Lemaitre eade87fb83
fix(types): fixed type for `version`. Fixes #1381 2024-03-24 11:30:00 +01:00
github-actions[bot] af6afefbb4
chore(main): release 10.19.0 (#1377)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-22 23:39:43 +01:00
Folke Lemaitre 66466a2594
feat(util): option to force system app for util.open 2024-03-22 23:35:22 +01:00
github-actions[bot] 8134f2ac04
chore(main): release 10.18.3 (#1376)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-22 22:51:11 +01:00
Riley Bruins 9131ea4c4a
fix(cache): vim.loop fallback (#1375) 2024-03-22 22:42:17 +01:00
github-actions[bot] 3132d7d27d
chore(main): release 10.18.2 (#1373)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-22 09:19:32 +01:00
William Mathewson b6f7ef856b
fix(ui): Add "bot" to dimmed commands list (#1367)
nvim-treesitter has added a bot to automate updating parsers.
This feels similar to the other commands that are dimmed.
2024-03-22 09:18:36 +01:00
github-actions[bot] c76cc60030
chore(main): release 10.18.1 (#1372)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-22 09:17:40 +01:00
Michael Braun 61dddaec58
fix: uv shim was not falling back to vim.loop (#1370) 2024-03-22 09:15:46 +01:00
github-actions[bot] b2174810cd
chore(main): release 10.18.0 (#1369)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-22 09:01:10 +01:00
Folke Lemaitre 9e157df077
feat: refactor all vim.loop -> vim.uv and add a shim when needed 2024-03-22 08:58:36 +01:00
github-actions[bot] 83493db50a
chore(main): release 10.17.0 (#1292)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-07 17:41:58 +01:00
Riley Bruins 298bed190e
fix: update to new treesitter capture groups (#1294) 2024-03-07 17:34:29 +01:00
Wayne Wu d5c58bb193
fix(ui): remove a single space character from home title (#1309)
Align home pill title spacing with other pills
2024-03-07 17:32:52 +01:00
TheSast 0694651fd3
feat(loader): warn when maplocalleader is changed after init (#1326)
* feat(loader): warn when maplocalleader is changed after init

* docs: default maplocalleader

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2024-03-07 17:32:07 +01:00
Folke Lemaitre c96fc24555
style: format 2024-03-07 17:30:37 +01:00
再生花 5aea4e7021
fix(types): fix incorrect LuaLS types (#1339) 2024-03-07 17:27:50 +01:00
Folke Lemaitre 670a6fec7f
fix(manage): better support for using the default colorscheme during install. See #1277 2024-01-23 21:51:13 +01:00
github-actions[bot] 28126922c9
chore(main): release 10.16.0 (#1284)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-01-21 11:43:48 +01:00
Emilia Simmons d09084c4b1
fix(keys): fix abbreviation expansion on lazy load (#1219) 2024-01-21 11:40:46 +01:00
Folke Lemaitre a9b9a4b3a2
fix(keys): make sure we don't delete the global mapping when executing an ft keymap. See #1241 2024-01-21 11:10:29 +01:00
star-szr 7ded44ce2a
feat(ui): add style to dimmed commits (#1210) 2024-01-21 10:50:23 +01:00
Piotr Król d0d410bc22
fix(git): comment sign detection in get_config function (#1281)
- Modify the condition in the get_config function to correctly ignore
  comments and blank lines.
- Update the regular expression to exclude lines starting with '#' or
  ';'.
- This change ensures that only valid key-value pairs are added to the
  configuration table.
2024-01-20 15:05:26 +01:00
Folke Lemaitre 1b3df6c007
fix(health): dont warn on submodules. Fixes #1174 2024-01-20 14:49:47 +01:00
atusy a6f782adc1
feat(plugin): dev.path can now be a function (#1157)
In some case, `dev.path .. plugin.name` is not enoguh.

For example, when using `ghq` to manage projects, plugin directories may
vary by onewrs of the plugins.

With this change, users can do something like below

``` lua
require("lazy").setup("plugins", {
  dev = {
    path = function(p)
      -- ghq
      local path, cnt = string.gsub(p.url, "^https://(.*)%.git$", "~/ghq/%1")
      if cnt == 1 then
        return path
      end

      -- fallback to default
      return "~/projects/" .. plugin.name
    end,
  },
})
```
2024-01-20 14:19:09 +01:00
Folke Lemaitre 5757b551fc
fix(keys): allow global/local ft keymaps to exist at the same time. Fixes #1241 2024-01-20 14:11:32 +01:00
Folke Lemaitre 47d4baafcc
fix(fs): error when plugin directory to delete is not a valid directory 2024-01-19 16:09:28 +01:00
github-actions[bot] 96584866b9
chore(main): release 10.15.1 (#1166)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-04 11:12:07 +01:00
Riley Bruins 3674036a59
fix(ui): properly highlight breaking change commit scope (#1160) 2023-11-04 11:05:02 +01:00
Folke Lemaitre 314193af1d
fix(build): allow build=false to skip building 2023-11-04 10:14:03 +01:00
github-actions[bot] 16603c6917
chore(main): release 10.15.0 (#1147)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-25 20:13:09 +02:00
Serhii Karvatskyi 312e424a08
fix(loader): when reloading, clear plugin properties cache (#1153)
See #445
2023-10-25 20:00:50 +02:00
Maria José Solano 4446fdb9af
feat(ui): check pinned packages that can't be updated (#1139)
* style: fix filter types

* feat: check outdated pinned plugins
2023-10-23 07:52:54 +02:00
Folke Lemaitre 6b7b4c5b96
style: show full trace when debug=true 2023-10-22 14:24:33 +02:00
github-actions[bot] 4c75c8eeb9
chore(main): release 10.14.6 (#1130)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-17 21:52:13 +02:00
Folke Lemaitre daab5fe280
fix(loader): dont autoload when lazy handlers have not been setup yet. Fixes #1132 2023-10-17 17:44:14 +02:00
Folke Lemaitre c059eece0c
refactor: Handler.load => Handler.resolve 2023-10-17 17:43:37 +02:00
Folke Lemaitre 03419f3e5f
fix(cmd): shedule error message instead of showing directly 2023-10-17 16:52:32 +02:00
Folke Lemaitre 7613ab2abb
fix(ui): running tasks are now less twitchy 2023-10-17 10:30:23 +02:00
github-actions[bot] c7298a10db
chore(main): release 10.14.5 (#1129)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-17 10:04:13 +02:00
Folke Lemaitre cdfa788881
fix(loader): fixed event check in reload. Fixes #1124 2023-10-17 08:36:11 +02:00
github-actions[bot] f73986546c
chore(main): release 10.14.4 (#1128)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-17 00:33:20 +02:00
Folke Lemaitre fb9795e49f
fix(ui): fixed keymaps in debug view 2023-10-17 00:29:13 +02:00
github-actions[bot] 3049575bd8
chore(main): release 10.14.3 (#1127)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-16 23:09:07 +02:00
Folke Lemaitre c1b9887373
perf(plugin): cache lazy handler values 2023-10-16 23:04:57 +02:00
Folke Lemaitre 2f169e74d4
refactor(handlers): lazy resolving of plugin handlers (#1126)
* refactor(handlers): lazy resolving of plugin handlers

* test: fixed tests
2023-10-16 22:34:44 +02:00
github-actions[bot] b9c604e839
chore(main): release 10.14.2 (#1125)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-16 18:18:42 +02:00
Folke Lemaitre 2270bbbc48
fix(plugin): work-around for Plugin.values error. Will add proper fix later. Fixes #1124 2023-10-16 18:11:02 +02:00
github-actions[bot] 239f0fa9c1
chore(main): release 10.14.1 (#1123)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-16 15:30:19 +02:00
Folke Lemaitre 1cfd6d1f36
fix(loader): don't load handlers before installing plugins 2023-10-16 15:05:16 +02:00
github-actions[bot] ed6c9ffe21
chore(main): release 10.14.0 (#1120)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-15 22:24:48 +02:00
Folke Lemaitre c8e2091e6d
fix(plugin): dont allow `dir` changes when we already loaded files from the plugin's old dir. Show an error in this case. Fixes #993 2023-10-15 08:51:54 +02:00
Folke Lemaitre 3dc413d6fd
fix(plugin): improved dir/dev merging. Fixes #993 2023-10-15 08:36:15 +02:00
Folke Lemaitre 0c53d4673f
feat(plugin): treat url changes as warnings. They will only be shown with checkhealth 2023-10-14 23:07:01 +02:00
github-actions[bot] 1c16e4236f
chore(main): release 10.13.4 (#1117)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-14 17:33:31 +02:00
Folke Lemaitre 3b31897275
fix(cmd): lazy-cmds no longer show an error for buffer-local commands 2023-10-14 17:30:26 +02:00
sibouras a993bfd6de
docs: update git.log in readme (#1115)
* docs: update git.log in readme

* Revert "docs: update git.log in readme"

This reverts commit ff602aa987.

* update git.log in lazy.core.config
2023-10-14 17:14:45 +02:00
github-actions[bot] a27935e0d4
chore(main): release 10.13.3 (#1116)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-14 17:02:44 +02:00
Folke Lemaitre ad5da0ae20
fix(ui): sort lazy plugin handlers 2023-10-14 16:00:30 +02:00
github-actions[bot] 276e572f64
chore(main): release 10.13.2 (#1110)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-13 13:17:52 +02:00
Folke Lemaitre a026f73953
docs: fix types for `keys`. Fixes #1109 2023-10-13 12:37:43 +02:00
Folke Lemaitre 70f764bf73
fix(util): Util.merge now skips nil args 2023-10-13 11:37:57 +02:00
Folke Lemaitre 3769461194
fix(float): disable swapfile for files shown in Float 2023-10-13 11:37:38 +02:00
github-actions[bot] 33c447b96e
chore(main): release 10.13.1 (#1108)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-12 12:40:23 +02:00
Folke Lemaitre 7f70dd1749
fix(git): unset GIT_INDEX_FILE so we dont accidentally overwrite a different git repo. Fixes #1107 2023-10-12 12:23:42 +02:00
github-actions[bot] 117556d9e7
chore(main): release 10.13.0 (#1106)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-12 11:40:26 +02:00