Commit Graph

840 Commits

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