Folke Lemaitre
5586fda88d
ci: remove debug
2025-01-30 20:14:57 +01:00
Folke Lemaitre
4f30c61b64
ci: check
2025-01-30 20:13:53 +01:00
github-actions[bot]
d8f26efd45
chore(build): auto-generate docs
2025-01-06 20:14:50 +00:00
Eduardo Bray
4df5c4d65a
fix(config): add missing space on the default debug icon ( #1879 )
...
## Description
Adds the missing space from a9c660d
## Screenshots
Current:

After:

2025-01-06 21:14:06 +01:00
github-actions[bot]
72aa3a2624
chore(build): auto-generate docs
2025-01-05 05:41:31 +00:00
Shihua Zeng
a9c660d6ef
feat(config,render): allow customizing the debug icon ( #1863 )
...
## Description
lazy.nvim allows users to configure all icons except for the debug icon.
This PR enables user to configure the debug icon with `ui.icons.debug`
## Screenshots
Before:

After (with config `{ ui = { icons = { debug = ' ' } } }`):

2025-01-05 06:40:44 +01:00
github-actions[bot]
7e6c863bc7
chore(main): release 11.16.2 ( #1854 )
...
🤖 I have created a release *beep* *boop*
---
##
[11.16.2](https://github.com/folke/lazy.nvim/compare/v11.16.1...v11.16.2 )
(2024-12-13)
### Bug Fixes
* **meta:** when a plugin is both optional and disabled, then just
delete it from the list
([805b85c
](805b85c2ea
))
---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please ). See
[documentation](https://github.com/googleapis/release-please#release-please ).
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-13 19:58:17 +01:00
Folke Lemaitre
805b85c2ea
fix(meta): when a plugin is both optional and disabled, then just delete it from the list
2024-12-13 19:56:52 +01:00
github-actions[bot]
7c493713bc
chore(main): release 11.16.1 ( #1844 )
...
🤖 I have created a release *beep* *boop*
---
##
[11.16.1](https://github.com/folke/lazy.nvim/compare/v11.16.0...v11.16.1 )
(2024-12-09)
### Bug Fixes
* **types:** ensure all fields for `LazyPluginSpec` are optional
([#1843 ](https://github.com/folke/lazy.nvim/issues/1843 ))
([703be1d
](703be1dda3
)),
closes [#1842 ](https://github.com/folke/lazy.nvim/issues/1842 )
---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please ). See
[documentation](https://github.com/googleapis/release-please#release-please ).
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-10 20:12:21 +01:00
github-actions[bot]
b97ee167f5
chore(build): auto-generate docs
2024-12-10 05:18:15 +00:00
Daemon
703be1dda3
fix(types): ensure all fields for LazyPluginSpec
are optional ( #1843 )
...
> After updating lua_ls to
[v3.13.3](https://github.com/LuaLS/lua-language-server/releases/tag/3.13.3 )
noticed my plugin scripts using `@type LazyPluginSpec` now have
`missing-fields` warnings.
It seems they have changed how `missing-fields` diagnostics work with
inherited types:
7b2d58537f
.
Duplicate offending fields as optional in type `LazyPluginSpec`
Closes : #1842
2024-12-09 22:40:21 +01:00
github-actions[bot]
014d1d6d78
chore(main): release 11.16.0 ( #1838 )
...
🤖 I have created a release *beep* *boop*
---
##
[11.16.0](https://github.com/folke/lazy.nvim/compare/v11.15.0...v11.16.0 )
(2024-12-07)
### Features
* **plugin:** added support for virtual plugins. Closes
[#1836 ](https://github.com/folke/lazy.nvim/issues/1836 )
([ee64abc
](ee64abc76b
))
### Bug Fixes
* **plugin:** don't check if dir exists for virtual plugins
([656cf43
](656cf43093
))
* **render:** show correct key for home. Fixes
[#1796 ](https://github.com/folke/lazy.nvim/issues/1796 )
([b08dba8
](b08dba8107
))
---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please ). See
[documentation](https://github.com/googleapis/release-please#release-please ).
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-07 21:44:18 +01:00
Folke Lemaitre
656cf43093
fix(plugin): don't check if dir exists for virtual plugins
2024-12-07 11:52:43 +01:00
Folke Lemaitre
b08dba8107
fix(render): show correct key for home. Fixes #1796
2024-12-07 07:57:03 +01:00
Folke Lemaitre
ee64abc76b
feat(plugin): added support for virtual plugins. Closes #1836
2024-12-06 20:28:53 +01:00
github-actions[bot]
3388a26417
chore(build): auto-generate rockspec mappings
2024-12-05 08:11:36 +00:00
github-actions[bot]
a44e9cd165
chore(main): release 11.15.0 ( #1835 )
...
🤖 I have created a release *beep* *boop*
---
##
[11.15.0](https://github.com/folke/lazy.nvim/compare/v11.14.2...v11.15.0 )
(2024-12-05)
### Features
* **plugin:** show error for local plugins that don't exist. Fixes
[#1773 ](https://github.com/folke/lazy.nvim/issues/1773 )
([9570a5a
](9570a5ae7b
))
---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please ). See
[documentation](https://github.com/googleapis/release-please#release-please ).
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-05 09:10:16 +01:00
Folke Lemaitre
9570a5ae7b
feat(plugin): show error for local plugins that don't exist. Fixes #1773
2024-12-05 09:06:28 +01:00
github-actions[bot]
56ead98e05
chore(build): auto-generate rockspec mappings
2024-11-20 08:28:09 +00:00
Folke Lemaitre
7d0fe7615a
ci: docgen fixes
2024-11-20 09:24:28 +01:00
github-actions[bot]
8e11d208d6
chore(build): auto-generate docs
2024-11-20 08:13:59 +00:00
Folke Lemaitre
25749704e4
docs: docgen
2024-11-20 09:11:45 +01:00
Folke Lemaitre
e41dffcbaf
docs: fix hl_group docgen
2024-11-20 09:08:44 +01:00
github-actions[bot]
7967abe557
chore(main): release 11.14.2 ( #1730 )
...
🤖 I have created a release *beep* *boop*
---
##
[11.14.2](https://github.com/folke/lazy.nvim/compare/v11.14.1...v11.14.2 )
(2024-11-10)
### Bug Fixes
* **bootstrap:** single forward slash. Fixes
[#1747 ](https://github.com/folke/lazy.nvim/issues/1747 )
([aca30f6
](aca30f6361
))
* **completion:** check if command string is a prefix of Lazy
([#1760 ](https://github.com/folke/lazy.nvim/issues/1760 ))
([e9fd76e
](e9fd76e239
)),
closes [#1758 ](https://github.com/folke/lazy.nvim/issues/1758 )
* **docs:** always update helptags for local plugins
([60cf258
](60cf258a9a
))
* **luarocks:** try to install from root manifest
([#1687 ](https://github.com/folke/lazy.nvim/issues/1687 ))
([591ef40
](591ef40f2d
))
* **rocks:** add lib64 plugin directory to package.cpath
([#1717 ](https://github.com/folke/lazy.nvim/issues/1717 ))
([80da254
](80da254e64
))
* **rockspec:** allow binary lua files. Fixes
[#1800 ](https://github.com/folke/lazy.nvim/issues/1800 )
([408449a
](408449a59a
))
---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please ). See
[documentation](https://github.com/googleapis/release-please#release-please ).
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-11 11:07:59 +01:00
Folke Lemaitre
60cf258a9a
fix(docs): always update helptags for local plugins
2024-11-10 07:28:51 +01:00
github-actions[bot]
b1134ab82e
chore(build): auto-generate rockspec mappings
2024-11-04 10:49:21 +00:00
Folke Lemaitre
408449a59a
fix(rockspec): allow binary lua files. Fixes #1800
2024-11-04 11:46:48 +01:00
github-actions[bot]
cf8ecc2c5e
chore(build): auto-generate rockspec mappings
2024-10-22 10:47:57 +00:00
Lorenzo Zabot
40dab7450e
style(typos): correct a few typos ( #1776 )
...
## Description
<!-- Describe the big picture of your changes to communicate to the
maintainers
why we should accept this pull request. -->
This PR just fixes a few typos :)
`dont => don't`
## Related Issue(s)
<!--
If this PR fixes any issues, please link to the issue here.
- Fixes #<issue_number>
-->
## Screenshots
<!-- Add screenshots of the changes if applicable. -->
2024-10-22 12:43:33 +02:00
github-actions[bot]
1159bdccd8
chore(build): auto-generate rockspec mappings
2024-10-02 07:54:44 +00:00
Luna Saphie Mittelbach
e9fd76e239
fix(completion): check if command string is a prefix of Lazy ( #1760 )
...
Problem: Command completion doesn't work if the command name isn't
written in full
Solution: Use vim.startswith to check if the command is a prefix of
'Lazy'
Fixes #1758
2024-10-02 09:52:51 +02:00
github-actions[bot]
460e1cd8f2
chore(build): auto-generate rockspec mappings
2024-09-16 08:17:41 +00:00
Folke Lemaitre
aca30f6361
fix(bootstrap): single forward slash. Fixes #1747
2024-09-16 10:13:11 +02:00
github-actions[bot]
48b52b5cfc
chore(build): auto-generate rockspec mappings
2024-08-31 07:03:18 +00:00
Marc Jakobi
591ef40f2d
fix(luarocks): try to install from root manifest ( #1687 )
...
## Description
When passing the `--dev` flag to `luarocks`, it will prioritise `dev`
versions when resolving dependencies (treating `dev` or `scm` as greater
than a SemVer version) if the rockspec doesn't specify an upper version
constraint (which is often the case).
Dev packages are often unstable and may cause more problems, especially
for Windows users (an example I've seen is git for windows trying and
failing to checkout submodules).
For now , a good compromise between too many retries and not retrying at
all could be to try `luarocks install` from the root manifest first, but
to keep the `--dev` flag in `luarocks make`.
If that still causes problems, it might be better to fall back to
`luarocks make` without `--dev` first, and then to try `luarocks ---dev
make` as a last resort.
In rocks.nvim, we only fall back to adding the `--dev` flag if the
install error message contains the string `"No results matching query
were found"`; assuming that stable non-dev packages shouldn't depend on
dev packages.
2024-08-31 08:59:45 +02:00
Roger Kim
80da254e64
fix(rocks): add lib64 plugin directory to package.cpath ( #1717 )
...
## Description
`package.cpath` is missing the `lib64` directory for plugins that have
luarocks dependencies.
## Context
I found this issue when I was working on my new Neovim plugin on my
Fedora 39 machine. I added the `luasockets` dependency to rockspec file
in my plugin like so:
```
rockspec_format = "3.0"
package = "typeracer.nvim"
version = "scm-1"
source = {
url = "git+https://github.com/carbon-steel/typeracer.nvim ",
}
dependencies = {
"luasocket",
}
test_dependencies = {
"nlua",
}
build = {
type = "builtin",
copy_directories = {},
}
```
I found that the dynamic libraries from the `luasockets` dependency were
installed like so:
`/home/username/.local/share/nvim/lazy-rocks/typeracer.nvim/lib64/lua/5.1/socket/core.so`.
However, the only entry related to my plugin `typeracer.nvim` was:
`/home/glyph/.local/share/nvim/lazy-rocks/typeracer.nvim/lib/lua/5.1/?.so`.
The issue is that we only have the plugin's `lib` directory in
`package.cpath` and not `lib64`.
I looked through `lazy.nvim`'s code and I think adding the `lib64`
directory should fix the issue. I don't know if we also want to worry
about `lib32` as well, but so far, this change works for me.
2024-08-31 08:58:43 +02:00
Christoph Zirkelbach
014a72b7a8
docs: update dev.path description ( #1711 )
...
## Description
In the issue (#1707 ) I was confused by the description of `dev.path`. I
thought functions must also return the general directory for local
plugins, but it must be the plugin directory.
## Related Issue(s)
#1707
2024-08-31 08:57:58 +02:00
github-actions[bot]
077102c5bf
chore(main): release 11.14.1 ( #1680 )
...
🤖 I have created a release *beep* *boop*
---
##
[11.14.1](https://github.com/folke/lazy.nvim/compare/v11.14.0...v11.14.1 )
(2024-07-25)
### Bug Fixes
* **plugins:** "Vim:E150: Not a directory" on plugin update
([#1679 ](https://github.com/folke/lazy.nvim/issues/1679 ))
([7108809
](7108809ab1
))
---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please ). See
[documentation](https://github.com/googleapis/release-please#release-please ).
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-25 13:38:23 +02:00
Alexander Grebennik
7108809ab1
fix(plugins): "Vim:E150: Not a directory" on plugin update ( #1679 )
...
## Description
On plugins update it fails with following error for any plugin.
```
~/.local/share/nvim/lazy/lazy.nvim/manage/task/plugin.lua:95: Vim:E150: Not a directory: ~/.local/share/nvim/lazy/gitsigns.nvim/doc/
```
2024-07-25 12:53:01 +02:00
github-actions[bot]
4496b4cad6
chore(main): release 11.14.0 ( #1673 )
...
🤖 I have created a release *beep* *boop*
---
##
[11.14.0](https://github.com/folke/lazy.nvim/compare/v11.13.5...v11.14.0 )
(2024-07-24)
### Features
* added `opts.git.cooldown` to allow updating plugins on slow
connections. Fixes
[#1656 ](https://github.com/folke/lazy.nvim/issues/1656 )
([d5686ef
](d5686efbd0
))
* **plugin:** improve error handling and show better error message
([c02268a
](c02268ac6e
))
### Bug Fixes
* **plugin:** make .lazy.lua work again
([b4a5a12
](b4a5a1209e
))
---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please ). See
[documentation](https://github.com/googleapis/release-please#release-please ).
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-24 07:38:49 +02:00
Folke Lemaitre
b4a5a1209e
fix(plugin): make .lazy.lua work again
2024-07-24 07:23:36 +02:00
Folke Lemaitre
c02268ac6e
feat(plugin): improve error handling and show better error message
2024-07-23 17:24:33 +02:00
Folke Lemaitre
d5686efbd0
feat: added opts.git.cooldown
to allow updating plugins on slow connections. Fixes #1656
2024-07-23 13:31:25 +02:00
github-actions[bot]
839f9e78e7
chore(main): release 11.13.5 ( #1672 )
...
🤖 I have created a release *beep* *boop*
---
##
[11.13.5](https://github.com/folke/lazy.nvim/compare/v11.13.4...v11.13.5 )
(2024-07-22)
### Bug Fixes
* **health:** dont use vim.fn.system to get cmd versions
([7d29719
](7d29719ade
))
---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please ). See
[documentation](https://github.com/googleapis/release-please#release-please ).
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-22 14:41:58 +02:00
Folke Lemaitre
7d29719ade
fix(health): dont use vim.fn.system to get cmd versions
2024-07-22 14:38:00 +02:00
Folke Lemaitre
cc028e77eb
ci: update
2024-07-22 14:24:40 +02:00
github-actions[bot]
16a5c46aa3
chore(main): release 11.13.4 ( #1670 )
...
🤖 I have created a release *beep* *boop*
---
##
[11.13.4](https://github.com/folke/lazy.nvim/compare/v11.13.3...v11.13.4 )
(2024-07-22)
### Bug Fixes
* **loader:** add plugins whose rtp got loaded early to start plugins
([34b0126
](34b0126e5b
))
* **loader:** explicitely set package.loaded.modname to nil to prevent
recursive loading errors
([12f2c74
](12f2c74244
))
---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please ). See
[documentation](https://github.com/googleapis/release-please#release-please ).
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-22 09:47:04 +02:00
Folke Lemaitre
12f2c74244
fix(loader): explicitely set package.loaded.modname to nil to prevent recursive loading errors
2024-07-22 09:45:03 +02:00
Folke Lemaitre
34b0126e5b
fix(loader): add plugins whose rtp got loaded early to start plugins
2024-07-22 09:45:03 +02:00
github-actions[bot]
a09c876f6e
chore(main): release 11.13.3 ( #1669 )
...
🤖 I have created a release *beep* *boop*
---
##
[11.13.3](https://github.com/folke/lazy.nvim/compare/v11.13.2...v11.13.3 )
(2024-07-21)
### Reverts
* fix(loader): add auto loaded module to package.loaded early to prevent
require loops
([a692bf8
](a692bf8688
))
---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please ). See
[documentation](https://github.com/googleapis/release-please#release-please ).
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-21 17:34:22 +02:00