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
Maria José Solano
43c284a578
feat(keys): include custom keys in help menu ( #1105 )
2023-10-12 07:18:53 +02:00
github-actions[bot]
906ff8e569
chore(main): release 10.12.0 ( #1102 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-11 15:00:30 +02:00
Folke Lemaitre
99ee284739
fix(ui): use actual handler values for rendering plugin handlers
2023-10-11 14:25:12 +02:00
Folke Lemaitre
b65d308662
feat(event): custom lazy event hook for distros
2023-10-11 14:25:12 +02:00
Folke Lemaitre
303a3ed6a8
feat(event): added support for structured events (see readme on event)
2023-10-11 14:25:12 +02:00
github-actions[bot]
73fbf5ccab
chore(main): release 10.11.0 ( #1101 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-10 19:52:13 +02:00
Folke Lemaitre
7b84609a06
feat(util): expose pretty stacktraces for notify
2023-10-10 19:12:35 +02:00
github-actions[bot]
84d13c1d7e
chore(main): release 10.10.0 ( #1098 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-10 16:15:05 +02:00
Folke Lemaitre
58e5726592
feat(git): show help on how to remove local changes
2023-10-10 11:53:00 +02:00
Folke Lemaitre
92869d0928
fix(process): make sure cwd is a valid directory
2023-10-10 11:52:45 +02:00
Folke Lemaitre
736529d097
fix(git): automatically restore doc/tags when modified
2023-10-10 11:42:01 +02:00
Folke Lemaitre
43e9165994
feat(git): show error for local changes during check/update
2023-10-10 11:42:01 +02:00
github-actions[bot]
0d9989d46c
chore(main): release 10.9.1 ( #1096 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-09 23:45:04 +02:00
Folke Lemaitre
2782f8125e
fix(profiling): ensure proper traces in case of require errors
2023-10-09 23:42:07 +02:00
KANATSU Minoru
5579d72576
fix(manage): prevend auto conversion 'CRLF' to 'LF' in update lazy-lock.json on Windows. Fixes #1093 ( #1094 )
2023-10-09 16:17:42 +02:00
github-actions[bot]
41d3b2a9db
chore(main): release 10.9.0 ( #1092 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-09 12:43:14 +02:00
Folke Lemaitre
423a152e94
feat(profiling): added options to enable additional profiling
2023-10-09 12:38:43 +02:00
Folke Lemaitre
22bf6ae04b
style: sort requires
2023-10-09 11:25:42 +02:00
Folke Lemaitre
f0cfbf9952
perf: lazy require commands
2023-10-08 20:22:04 +02:00
github-actions[bot]
0a07fa6cd7
chore(main): release 10.8.2 ( #1091 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-08 19:32:24 +02:00
Folke Lemaitre
9d92e65fd1
fix(keys): fixed adding managed keys
2023-10-08 19:14:33 +02:00
github-actions[bot]
9102d051a8
chore(main): release 10.8.1 ( #1090 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-08 12:57:44 +02:00
Folke Lemaitre
26762c97e6
fix(ui): use correct keymap for display. Fixes #1089
2023-10-08 12:36:21 +02:00
github-actions[bot]
4b5b03f603
chore(main): release 10.8.0 ( #1088 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-08 10:13:01 +02:00
Folke Lemaitre
b79099cc9d
feat(keys): refactor code and allow disabling keymaps per mode. mode no longer needs to be exactly the same in order to disable.
2023-10-08 10:11:33 +02:00
github-actions[bot]
62745a7320
chore(main): release 10.7.3 ( #1087 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-07 20:45:37 +02:00
Folke Lemaitre
09e30f88cd
fix(keys): fixed buffer-local mappings
2023-10-07 20:41:06 +02:00
github-actions[bot]
5aaafcb301
chore(main): release 10.7.2 ( #1086 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-07 11:44:13 +02:00
Folke Lemaitre
8871602e54
fix(event): move all ft logic to the event handler
2023-10-07 11:15:14 +02:00
Folke Lemaitre
e4ea874e33
fix(ft): fix ft handlers to properly use new events. Fixes #1084
2023-10-07 09:48:53 +02:00
github-actions[bot]
6687afae42
chore(main): release 10.7.1 ( #1083 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-06 20:22:13 +02:00
Folke Lemaitre
6b37927be9
fix(event): prevent loading event handler more than once in some cases
2023-10-06 19:42:21 +02:00
github-actions[bot]
25f6009087
chore(main): release 10.7.0 ( #1081 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-06 15:53:37 +02:00
Folke Lemaitre
2b2adb9d4d
fix(event): use tbl_contains instead of list_contains
2023-10-06 15:48:41 +02:00
abeldekat
58e954a735
feat(plugin): added support for `cond` for imports ( #1079 )
...
Co-authored-by: abeldekat <abel@nomail.com>
2023-10-06 15:46:46 +02:00
Folke Lemaitre
ef2a5d0bd1
fix(event): better dealing with even handlers. Fixes #788
2023-10-06 15:39:18 +02:00
github-actions[bot]
6b6f0a4512
chore(main): release 10.6.0 ( #1078 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-05 16:05:05 +02:00
Folke Lemaitre
c42e63c198
feat(keys): you can now create buffer-local filetype keymaps by specifying `ft=`. Fixes #1076
2023-10-05 14:00:11 +02:00
Folke Lemaitre
19d1b3aa72
style: lua annotations
2023-10-05 14:00:11 +02:00
github-actions[bot]
64cb9b16f6
chore(main): release 10.5.1 ( #1071 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-04 21:15:11 +02:00
Folke Lemaitre
82da5a0048
refactor(plugin): refactored rebuild
2023-10-04 12:50:48 +02:00
Folke Lemaitre
638c8e6382
fix(plugin): rebuild plugins after fixing optional and cond to ensure enabled will work correctly
2023-10-04 11:48:14 +02:00
github-actions[bot]
28a80136b5
chore(main): release 10.5.0 ( #1069 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-04 00:30:12 +02:00
Folke Lemaitre
8eb8de29af
feat(plugin): keep track of the module a spec fragment was defined in
2023-10-04 00:20:08 +02:00
Folke Lemaitre
8b73492249
perf(util): don't try to load nvim-treesitter when markdown parser is builtin
2023-10-04 00:19:29 +02:00
github-actions[bot]
59335c5b9d
chore(main): release 10.4.1 ( #1062 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-09-30 18:08:27 +02:00
Folke Lemaitre
09e5010741
fix(plugin): prevent recursive loop with cond=false. Fixes #1061
2023-09-30 18:02:07 +02:00
Folke Lemaitre
6a2c47e642
style: lua annotations
2023-09-29 16:37:55 +02:00
github-actions[bot]
753c391b44
chore(main): release 10.4.0 ( #1054 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-09-29 16:14:01 +02:00
Folke Lemaitre
f3c7169dd6
feat(plugin): dont include plugin spec fragments for disabled or optional plugins ( #1058 )
...
* feat(plugin): dont include plugin spec fragments for disabled or optional plugins
* test: fixed tests
* fix(plugin): calculate handlers after disabling plugins
* fix(plugin): clear Plugin._.super when rebuilding
* fix(ui): dont process handlers for disabled plugins
* test: added tests for disabling fragments
* fix(plugin): ignore any installed deps of a disabled conditional plugin. Fixes #1053
2023-09-29 16:11:56 +02:00
Folke Lemaitre
54ecfc7c24
fix(help): sort readme tags case sensitive. Fixes #67
2023-09-28 12:28:07 +02:00
Folke Lemaitre
4f27fc33c4
fix(ui): sort plugins case insensitive
2023-09-28 12:28:07 +02:00
github-actions[bot]
7ca3bdb566
chore(main): release 10.3.1 ( #1051 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-09-27 14:48:20 +02:00
Maria José Solano
0e1d264ab6
fix: return true when opening diff ( #970 )
2023-09-27 12:51:11 +02:00
Folke Lemaitre
24f6b6f1c7
fix: properly setup handlers when loading a plugin before startup (build) etc
2023-09-27 12:39:39 +02:00
Darkhan
4eb3e932e5
Make commit pattern more accurate ( #973 )
...
Sometimes when hovering over updated plugins and triggering `diff`
with `d` key, I get an empty `diff` view. I traced the problem to a very
generic `commit_pattern` which currently matches any alphanumeric sequence
of 7 characters surrounded by "word boundary" / frontier patterns.
I adjusted the regex to match only `[a-z0-9] * 7` which should make this
issue appear less. I am keeping the older frontier sets `%f[%w]` and `%f[%W]`
because if I switch to `%f[a-f0-9]` and `%f[^0-9a-f]` I will be matching
strings like `zzz1234567xxx`.
2023-08-26 16:47:18 +02:00
github-actions[bot]
3ad55ae678
chore(main): release 10.3.0 ( #948 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-22 10:23:12 +02:00
abeldekat
e7334d8db5
feat(plugins): Given an optional plugin, conditionally discard deps ( #947 )
...
* deps_of_all_optional: First, refactor the code responsible for disabling unneeded deps to be more generic
* deps_of_all_optional: Second, also disable unneeded deps from plugins marked as all optional
* deps_of_all_optional: add tests proving unneeded optional deps are now also discarded
* deps_of_all_optional: forgot return type
---------
Co-authored-by: abeldekat <abel@nomail.com>
2023-07-22 10:20:52 +02:00
github-actions[bot]
af4d24b8d0
chore(main): release 10.2.1 ( #946 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-22 09:09:46 +02:00
Folke Lemaitre
e428c5ee4b
fix(loader): getscriptinfo compat with stable. Fixes #944
2023-07-22 08:24:26 +02:00
github-actions[bot]
b7303a6830
chore(main): release 10.2.0 ( #939 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-21 08:14:51 +02:00
Folke Lemaitre
61c43455b0
style: lua annotations
2023-07-20 23:49:02 +02:00
3719e04
84266b9f0f
feat(view): add option `ui.pills`. Set to `false` to disable the top buttons in the lazy window ( #938 )
...
* add option `ui.button`
* add option `ui.button`
* refactor: rename button to pills
---------
Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2023-07-20 23:48:50 +02:00
Kasshi K
2b241f74ed
fix typo in health.lua ( #933 )
2023-07-16 08:50:53 +02:00
github-actions[bot]
14d76aac4b
chore(main): release 10.1.0 ( #927 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-12 17:24:07 +02:00
Folke Lemaitre
ea5b2e00bf
feat(loader): `LazyLoad` event with plugin name as `data` field. Useful to do stuff when a plugin loads
2023-07-12 17:21:32 +02:00
github-actions[bot]
da8b00581a
chore(main): release 10.0.2 ( #923 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-09 09:46:59 +02:00
Folke Lemaitre
fd94e69ceb
fix(event): pass data to event lazy loaders. Fixes #922
2023-07-09 09:44:08 +02:00
github-actions[bot]
5af331ea65
chore(main): release 10.0.1 ( #919 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-06 20:44:00 +02:00
yangbinji
867528c0fe
style(cache): fix comment case typo ( #915 )
2023-07-06 16:30:54 +02:00
Pierre-Antoine Lacaze
5082cd56e4
fix(stats): corrected typo in cputime() for Linux ( #916 )
2023-07-06 16:19:08 +02:00
github-actions[bot]
29f8e3ecb7
chore(main): release 10.0.0 ( #918 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-06 15:40:23 +02:00
Folke Lemaitre
fbb0bea2db
feat(plugin)!: `cond` is now the same as `enabled`, but skips clean
2023-07-06 15:30:01 +02:00
github-actions[bot]
0d61488b89
chore(main): release 9.25.1 ( #904 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-01 08:51:17 +02:00
Folke Lemaitre
189371c8d8
fix(build): allow `build` command to override plugin's build and option to disable warning
2023-06-30 21:19:33 +02:00
github-actions[bot]
de0a911ad9
chore(main): release 9.25.0 ( #898 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-30 18:30:15 +02:00
Folke Lemaitre
4c26421785
feat(build): added support for build.lua, build/init.lua ( #903 )
2023-06-30 18:22:39 +02:00
Folke Lemaitre
d5c31f1ed7
style: lua annotations
2023-06-30 18:08:52 +02:00
Mayrixon
24803fcbe3
fix(health): false warning when checking plugins configured with 'optional' key ( #897 )
2023-06-26 07:54:12 +02:00
github-actions[bot]
b7043f2983
chore(main): release 9.24.2 ( #890 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-22 11:17:54 +02:00
Folke Lemaitre
d7d5842d1c
fix(config): on windows default concurrency is now set to 2*available parallelism. See #887
2023-06-22 11:04:28 +02:00
Folke Lemaitre
3867a81bb2
style: better uv annotations
2023-06-22 10:47:50 +02:00
github-actions[bot]
c1aad95243
chore(main): release 9.24.1 ( #882 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-19 11:28:26 +02:00
Folke Lemaitre
410a7360c1
fix(ui): trailing space in button row. Fixes #884
2023-06-19 10:21:40 +02:00
Folke Lemaitre
56b1f7715e
fix(debug): show original keymaps instead of ids for the keys handler
2023-06-19 10:21:40 +02:00
Folke Lemaitre
616341372d
fix(manage): trigger LazySyncPre. Fixes #881
2023-06-18 22:38:05 +02:00
github-actions[bot]
67af46a7f5
chore(main): release 9.24.0 ( #870 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-17 08:40:02 +02:00
Folke Lemaitre
0bca18de5d
feat: added `Pre` events. Fixes #856 . Fixes #877
2023-06-17 08:37:33 +02:00
Folke Lemaitre
7f4da7d511
fix(ui): set wo options with local. don't use `vim.wo`. See #829
2023-06-12 08:28:14 +02:00
github-actions[bot]
6b2311a46a
chore(main): release 9.23.0 ( #859 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-09 12:56:48 +02:00
Folke Lemaitre
f131606190
feat(startup): added data/site to the rtp. Will be used by upcoming treesitter version
2023-06-08 17:23:02 +02:00
Folke Lemaitre
ae25448d39
Revert "fix(event): dont use autocmd pattern to detect event retriggering. Fixes #858 "
...
This reverts commit bc89502357
.
2023-06-06 15:06:24 +02:00
Folke Lemaitre
bc89502357
fix(event): dont use autocmd pattern to detect event retriggering. Fixes #858
2023-06-06 14:29:38 +02:00
github-actions[bot]
f145e6f42a
chore(main): release 9.22.2 ( #854 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-03 15:39:09 +02:00
Folke Lemaitre
dbb2b609f6
fix(ui): setup colors when loading a float
2023-06-03 14:40:17 +02:00
github-actions[bot]
6ad76ecc26
chore(main): release 9.22.1 ( #853 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-03 13:47:20 +02:00
Folke Lemaitre
d65a3d6755
fix(keys): replace term codes to calculate ids
2023-06-03 13:45:21 +02:00
github-actions[bot]
9223c1aa20
chore(main): release 9.22.0 ( #852 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-03 10:55:15 +02:00
Folke Lemaitre
94472b8303
feat(float): floats can now be persistent
2023-06-03 10:45:53 +02:00
github-actions[bot]
ebdd049955
chore(main): release 9.21.1 ( #840 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-28 12:55:02 +02:00
Folke Lemaitre
36a91320f9
fix(loader): don't run ftdetect twice for paths already on the rtp during startup. Fixes #839
2023-05-28 11:02:40 +02:00
github-actions[bot]
a93d8983c4
chore(main): release 9.21.0 ( #837 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-27 16:14:24 +02:00
Folke Lemaitre
efa02ff8d3
fix(ui): make progress bar work again
2023-05-27 16:11:01 +02:00
Folke Lemaitre
a6c8f22362
feat(commands): added highly experimental `Lazy reload ...` command. See #445
2023-05-27 15:19:55 +02:00
Folke Lemaitre
d8a5829fda
feat(loader): when reloading, always re-source loaded vimscript files. See #445
2023-05-27 15:19:55 +02:00
github-actions[bot]
7f34cb892b
chore(main): release 9.20.0 ( #836 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-27 14:36:14 +02:00
Folke Lemaitre
9dce0816f1
feat(ui): added support for setting a title of the lazy window. Fixes #814
2023-05-27 14:28:09 +02:00
github-actions[bot]
97c2f8858c
chore(main): release 9.19.1 ( #835 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-27 10:03:47 +02:00
Folke Lemaitre
42ff6009f6
fix(plugin): fixup. It's fine that Plugin.url doesn't exist
2023-05-27 08:49:45 +02:00
Folke Lemaitre
199e100464
fix(plugin): delay check if plugin ref exists until after loading all plugins. Fixes #833
2023-05-27 08:45:14 +02:00
github-actions[bot]
67ae8bbbe3
chore(main): release 9.19.0 ( #826 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-25 09:13:34 +02:00
Folke Lemaitre
c325c50ba4
fix(plugin): check that import is a string. See #825
2023-05-25 08:26:55 +02:00
Folke Lemaitre
32170a8891
fix(plugin): fix url based plugin name and added extra safety checks. Fixes #824
2023-05-25 08:10:08 +02:00
Folke Lemaitre
57062f3a09
feat(plugin): trigger LazyPlugins after loading plugin specs
2023-05-25 08:09:19 +02:00
Folke Lemaitre
49a7f21ee3
feat(git): change default log args to last 8
2023-05-25 08:07:44 +02:00
github-actions[bot]
761b8388af
chore(main): release 9.18.2 ( #820 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-23 09:01:50 +02:00
Folke Lemaitre
b0aa5348d8
docs: added docs on optional
2023-05-23 08:57:57 +02:00
tzachar
f125a7d333
fix(commands): completion error ( #819 )
...
When Lazy commands are searched in command line mode, completion fails
horribly (sometime crashing nvim entirely) when the partial string to
complete contains non-escape characters.
For example, running `:Lazy up[` results in a crash.
The fix is to instruct string.find to perform a literal search, treating
the string to search not as a regular expression.
2023-05-23 08:43:27 +02:00
github-actions[bot]
6610b15dfd
chore(main): release 9.18.1 ( #815 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-22 14:58:33 +02:00
Folke Lemaitre
9177778891
fix(plugin): rename weak => optional. Makes more sense :)
2023-05-22 14:53:36 +02:00
github-actions[bot]
8cd4a59674
chore(main): release 9.18.0 ( #809 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-22 14:37:25 +02:00
Folke Lemaitre
af39d61d3f
fix: better weak handling
2023-05-22 14:31:28 +02:00
Folke Lemaitre
8564f6d22b
feat(plugin): added support for `weak` specs. They will not be included in the final spec if not specified somwhere else
2023-05-22 14:24:18 +02:00
Folke Lemaitre
451f217e9b
fix(ui): take border into account for window position. Fixes #812
2023-05-21 20:51:41 +02:00
Folke Lemaitre
cc7a764aec
fix(ui): close ui when opening a help file. Fixes #808
2023-05-20 09:26:23 +02:00
github-actions[bot]
c711b4f8a6
chore(main): release 9.17.0 ( #806 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-19 10:23:49 +02:00
Folke Lemaitre
11131eafa1
feat(cmd): added `Lazy load all` to load all plugins
2023-05-18 19:51:18 +02:00
github-actions[bot]
53e1c49bae
chore(main): release 9.16.1 ( #804 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-17 19:38:31 +02:00
Folke Lemaitre
aecdaab6a6
fix(loader): reset cache before installing plugins during startup. Fixes #803
2023-05-17 19:36:00 +02:00
Folke Lemaitre
80c4decc32
fix(loader): dont clear tasks when istalling missing plugins
2023-05-17 19:35:16 +02:00
github-actions[bot]
aba872ec78
chore(main): release 9.16.0 ( #801 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-13 16:12:49 +02:00
Folke Lemaitre
dab6cd5080
feat(loader): added explicit support for finding the main module for mini.nvim plugins
2023-05-13 16:10:15 +02:00
github-actions[bot]
e9b3b83914
chore(main): release 9.15.0 ( #795 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-13 15:48:53 +02:00
Folke Lemaitre
96dd2058fb
feat(ui): show the loaded icon for local plugins in a different color
2023-05-13 13:24:38 +02:00
Fraser Hanson
d2d67b5a0b
fix(config): use url_format for the lazy plugin ( #792 )
...
Co-authored-by: Fraser Hanson <fraser.hanson@netapp.com>
2023-05-10 17:20:06 +02:00
github-actions[bot]
51a3873ccd
chore(main): release 9.14.11 ( #782 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-07 19:32:26 +02:00
Folke Lemaitre
dbe0e29d85
fix(ui): don' render extmarks for empty lines
2023-05-05 14:06:59 +02:00
github-actions[bot]
ceb413678d
chore(main): release 9.14.10 ( #772 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-02 21:49:29 +02:00
Folke Lemaitre
98ba47efed
fix(ui): issue with rendering empty lines. Fixes #770
2023-05-02 21:47:36 +02:00
github-actions[bot]
5b7b8eecea
chore(main): release 9.14.9 ( #769 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-02 21:32:16 +02:00
Karl Yngve Lervåg
b00d6f7102
fix(ui): don't pad empty lines ( #768 )
2023-05-02 21:30:28 +02:00
github-actions[bot]
d6a782c700
chore(main): release 9.14.8 ( #759 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-28 10:46:45 +02:00
Ulibos
0c7b41872e
fix(health): show error if setup didn't run
...
* Fix back bootstrapping and healthcheck for fresh install with no packages to fetch.
* Revert changes to bootstrapping, make checkhealth produce more meaningful message.
2023-04-27 18:21:02 +02:00
github-actions[bot]
903f0fe542
chore(main): release 9.14.7 ( #745 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-24 08:41:31 +02:00
Folke Lemaitre
a758588008
fix(build): make sure to properly load handlers for plugins that were built during startup. Fixes #744
2023-04-24 07:54:21 +02:00
github-actions[bot]
a55ab60625
chore(main): release 9.14.6 ( #741 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-23 16:35:26 +02:00
Folke Lemaitre
0cbf466913
fix(util): use vim.o.shell by default
2023-04-23 15:59:31 +02:00
Folke Lemaitre
dff6f07290
style(plugins): more descriptive error when a spec module didnt return any specs
2023-04-22 14:10:06 +02:00
github-actions[bot]
5c89dc52f4
chore(main): release 9.14.5 ( #738 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-19 13:14:15 +02:00
Folke Lemaitre
78b981b1f3
fix(loader): keep using the internal lua cache till 0.9.1
2023-04-19 12:59:39 +02:00
github-actions[bot]
5f13f69851
chore(main): release 9.14.4 ( #734 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-18 10:21:25 +02:00
Folke Lemaitre
b582fc5545
fix(cmd): show descriptive error when command was not found after loading its plugins
2023-04-18 10:17:22 +02:00
github-actions[bot]
eddee830ed
chore(main): release 9.14.3 ( #728 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-16 14:15:55 +02:00
dundargoc
c8cad54895
fix(checkhealth): use non-deprecated versions if possible ( #729 )
2023-04-16 14:07:41 +02:00