github-actions[bot]
d2ba0473f0
chore(main): release 14.0.2 ( #5042 )
...
🤖 I have created a release *beep* *boop*
---
##
[14.0.2](https://github.com/LazyVim/LazyVim/compare/v14.0.1...v14.0.2 )
(2024-12-13)
### Bug Fixes
* **cmp:** disable nvim-cmp/blink.cmp when needed
([60b7704
](60b77045d5
))
* **cmp:** wrong extras check for nvim-cmp
([009e358
](009e3587be
))
---
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:07 +01:00
Folke Lemaitre
60b77045d5
fix(cmp): disable nvim-cmp/blink.cmp when needed
2024-12-13 19:56:03 +01:00
Folke Lemaitre
009e3587be
fix(cmp): wrong extras check for nvim-cmp
2024-12-13 19:53:18 +01:00
github-actions[bot]
9a0d14dcf5
chore(main): release 14.0.1 ( #5033 )
...
🤖 I have created a release *beep* *boop*
---
##
[14.0.1](https://github.com/LazyVim/LazyVim/compare/v14.0.0...v14.0.1 )
(2024-12-13)
### Bug Fixes
* **NEWS:** typo
([0fd7140
](0fd7140a6d
))
---
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 17:27:22 +01:00
Folke Lemaitre
0fd7140a6d
fix(NEWS): typo
2024-12-13 17:21:37 +01:00
Folke Lemaitre
5a503c556a
docs: fix NEWS link to blink.cmp
2024-12-13 16:57:55 +01:00
github-actions[bot]
f3a919d23d
chore(main): release 14.0.0 ( #5008 )
...
🤖 I have created a release *beep* *boop*
---
##
[14.0.0](https://github.com/LazyVim/LazyVim/compare/v13.9.1...v14.0.0 )
(2024-12-13)
### ⚠ BREAKING CHANGES
* **cmp:** moved `nvim-cmp` to extras and prefer `blink.cmp` on Neovim
>= `0.10` as default completion engine
* **cmp:** moved `nvim-cmp` to extras and prefer `blink.cmp` on Neovim
>= `0.10` as default completion engine
* **snacks:** use `snacks.scope` indent objects in favor of custom
`mini.ai` indent objects
* **snacks:** use `snacks.indent` and moved `indent-blankline` to extras
* **pick:** make fzf the default picker for LazyVim
### Features
* **cmp:** moved `nvim-cmp` to extras and prefer `blink.cmp` on Neovim
>= `0.10` as default completion engine
([152f9d1
](152f9d113f
))
* **cmp:** moved `nvim-cmp` to extras and prefer `blink.cmp` on Neovim
>= `0.10` as default completion engine
([2cbfb9b
](2cbfb9b6b7
))
* **keymaps:** added leader-uD to toggle dim mode
([9b97388
](9b973882b8
))
* **keymaps:** added leader-z to toggle zen mode
([e6d6a09
](e6d6a096b3
))
* **keymaps:** added leader-Z to toggle zoom
([f2e1cac
](f2e1cac965
))
* **lualine:** add snacks profiler status
([7bc8490
](7bc8490d46
))
* **pick:** make fzf the default picker for LazyVim
([ae2340f
](ae2340f60a
))
* **rust:** exclude bad directories from rust-analyzer
([#5021 ](https://github.com/LazyVim/LazyVim/issues/5021 ))
([94f6df0
](94f6df048f
))
* **snacks:** added `snacks.input`
([54bece1
](54bece17b3
))
* **snacks:** added leader-ua to toggle global animations
([303980d
](303980d267
))
* **snacks:** added leader-ug to toggle indent guides
([b3ac642
](b3ac642317
))
* **snacks:** added leader-uS to toggle scroll
([cded8d4
](cded8d4d28
))
* **snacks:** added profiler keymaps
([a8332c6
](a8332c6d50
))
* **snacks:** enable `snacks.scroll`
([1a1a484
](1a1a48497c
))
* **snacks:** use `snacks.indent` and moved `indent-blankline` to extras
([94fdc42
](94fdc421a1
))
* **snacks:** use `snacks.scope` indent objects in favor of custom
`mini.ai` indent objects
([d904a1e
](d904a1ef47
))
* **snacks:** use `Snacks.zen.zoom()` instead of custom **maximize**
([e389a5a
](e389a5ada9
))
* **which-key:** make `helix` the default which-key preset
([44c712a
](44c712aa31
))
* **zen:** zoom with leader-wm and leader-uZ. zen with leader-uz
([2acedaa
](2acedaa3a8
))
### Bug Fixes
* **blink:** disable cmdline integration for now since it doesn't work
well with the enter keymap
([20eff4f
](20eff4fc3f
))
* **blink:** remove unneeded code
([d95e530
](d95e530c02
))
* **blink:** unset provider.kind
([#5024 ](https://github.com/LazyVim/LazyVim/issues/5024 ))
([29c4dea
](29c4dea4e7
))
* **blink:** unset sources.compat. Fixes
[#5016 ](https://github.com/LazyVim/LazyVim/issues/5016 ). Closes
[#5017 ](https://github.com/LazyVim/LazyVim/issues/5017 )
([2946031
](29460318f3
))
* **clangd:** avoid nil-indexing the completion sorting comparators
([#5011 ](https://github.com/LazyVim/LazyVim/issues/5011 ))
([c4b0d6d
](c4b0d6d0d1
))
* **clangd:** nvim-cmp optional
([94be6fb
](94be6fb787
))
* **copliot:** restructure copilot-cmp spec
([34d2bdc
](34d2bdcac6
))
* fqn for nvim-cmp
([a9a273d
](a9a273d041
))
* **git:** make nvim-cmp optional for the git extra
([ec92fa8
](ec92fa8558
))
* **java:** only setup debug adapter config if mason is installed
([#5013 ](https://github.com/LazyVim/LazyVim/issues/5013 ))
([aad0edb
](aad0edbf74
))
* **java:** only setup debug adapter config if mason is installed (for
real this time)
([#5014 ](https://github.com/LazyVim/LazyVim/issues/5014 ))
([5b1b6b2
](5b1b6b29d7
))
* **java:** only use mason-registry if mason installed
([#4991 ](https://github.com/LazyVim/LazyVim/issues/4991 ))
([21b02f0
](21b02f056d
))
* **mini.animate:** disable `snacks.scroll` when `mini.animate` is
enabled
([9b07544
](9b07544e89
))
* **mini.indentscope:** disable snacks and indent-blankline scope
([98c77f1
](98c77f1de4
))
* **nvim-cmp:** set high prio for loading the nvim-cmp extra to prevent
issues with opts
([adf8db6
](adf8db69ed
))
* **nvim-cmp:** specs
([88e77b0
](88e77b0e24
))
* **ui:** use `Snacks.util.color` instead of `LazyVim.ui.fg`
([6d774ba
](6d774ba8f2
))
---
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 16:39:33 +01:00
Folke Lemaitre
20eff4fc3f
fix(blink): disable cmdline integration for now since it doesn't work well with the enter keymap
2024-12-13 09:31:42 +01:00
iniw
94f6df048f
feat(rust): exclude bad directories from rust-analyzer ( #5021 )
...
## Description
rust-analyzer is unfortunately not smart enough to use a folder's
.gitignore (or similar) when looking for rust files to analyze, meaning
that when it finds a large enough folder (e.g: .git, .direnv) it
completely dies going through it searching for rust files.
This commit adds a filter of common folders that are big enough to
potentially choke rust-analyzer. The list could be amended in the
future.
## Checklist
- [X] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md )
guidelines.
2024-12-13 07:28:09 +01:00
Jorge Villalobos
29c4dea4e7
fix(blink): unset provider.kind ( #5024 )
...
## Description
Unsets `sources.providers[provider].kind` custom properties to pass
blink.cmp config validation.
## Related Issue(s)
<!--
If this PR fixes any issues, please link to the issue here.
- Fixes #<issue_number>
-->
## Screenshots

## Checklist
- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md )
guidelines.
2024-12-13 07:25:42 +01:00
folke
b0808cb31f
chore(build): auto-generate docs
2024-12-13 06:24:40 +00:00
Matt Rogers
a396a2462f
docs(README): add fzf dependencies to docker ( #5020 )
...
## Description
<!-- Describe the big picture of your changes to communicate to the
maintainers
why we should accept this pull request. -->
With the picker and completion changes, fzf and curl need to be
installed as part of the try it with docker instructions.
## 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. -->
## Checklist
- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md )
guidelines.
2024-12-13 07:23:41 +01:00
Folke Lemaitre
d95e530c02
fix(blink): remove unneeded code
2024-12-13 00:33:52 +01:00
Folke Lemaitre
29460318f3
fix(blink): unset sources.compat. Fixes #5016 . Closes #5017
2024-12-13 00:25:53 +01:00
iniw
5b1b6b29d7
fix(java): only setup debug adapter config if mason is installed (for real this time) ( #5014 )
...
## Description
This one *actually* fixes the issue, sorry about my previous PR.
2024-12-12 19:37:08 +01:00
iniw
aad0edbf74
fix(java): only setup debug adapter config if mason is installed ( #5013 )
...
## Description
This prevents the following error when opening java files when mason is
disabled (e.g: NixOS)
```
Failed to run `config` for nvim-jdtls
...im/lazy/LazyVim/lua/lazyvim/plugins/extras/lang/java.lua:149: module 'mason-registry' not found:
no field package.preload['mason-registry']
cache_loader: module mason-registry not found
cache_loader_lib: module mason-registry not found
no file '/nix/store/j3563y13yim4m7qdwk0m8h22648wbifj-luajit-2.1.1713773202-env/share/lua/5.1/mason-registry.lua'
no file '/nix/store/j3563y13yim4m7qdwk0m8h22648wbifj-luajit-2.1.1713773202-env/share/lua/5.1/mason-registry/init.lua'
no file '/nix/store/j3563y13yim4m7qdwk0m8h22648wbifj-luajit-2.1.1713773202-env/lib/lua/5.1/mason-registry.so'
# stacktrace:
- /LazyVim/lua/lazyvim/plugins/extras/lang/java.lua:149 _in_ **config**
- /nix/store/xgn4baapvvk35ssi47bsmmyawl83917g-neovim-unwrapped-0.10.2/share/nvim/runtime/filetype.lua:36
- /nix/store/xgn4baapvvk35ssi47bsmmyawl83917g-neovim-unwrapped-0.10.2/share/nvim/runtime/filetype.lua:35
```
## Checklist
- [X] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md )
guidelines.
2024-12-12 18:58:39 +01:00
Ughur Alakbarov
21b02f056d
fix(java): only use mason-registry if mason installed ( #4991 )
...
## Description
The current config breaks when mason is not installed (e.g. for Nix
users). This PR makes the mason-related functionality (which, as of now,
consists only of finding `lombok`) dependent on mason being installed.
As noted in the commit, this does make it impossible to use lombok
without mason, but I'm unaware of any other method of finding it (which
is why mason-registry was used in the first place, I assume)
Please note that I'm not very experienced with Lua and the code might be
not the most idiomatic one.
## 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. -->
## Checklist
- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md )
guidelines.
Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2024-12-12 18:15:53 +01:00
Folke Lemaitre
8b8e322b68
docs: fixed keymaps in NEWS
2024-12-12 17:38:42 +01:00
Folke Lemaitre
adf8db69ed
fix(nvim-cmp): set high prio for loading the nvim-cmp extra to prevent issues with opts
2024-12-12 16:54:34 +01:00
iniw
c4b0d6d0d1
fix(clangd): avoid nil-indexing the completion sorting comparators ( #5011 )
...
## Description
This prevents the following popup appearing when opening nvim:
```
Failed to run `config` for nvim-cmp
.../lazy/LazyVim/lua/lazyvim/plugins/extras/lang/clangd.lua:108: attempt to index field 'sorting' (a nil value)
# stacktrace:
- /LazyVim/lua/lazyvim/plugins/extras/lang/clangd.lua:108 _in_ **values**
- ~/.config/nvim/lua/config/lazy.lua:17
- ~/.config/nvim/init.lua:2
```
## Checklist
- [X] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md )
guidelines.
2024-12-12 16:51:34 +01:00
Folke Lemaitre
98c77f1de4
fix(mini.indentscope): disable snacks and indent-blankline scope
2024-12-12 16:44:28 +01:00
Folke Lemaitre
94be6fb787
fix(clangd): nvim-cmp optional
2024-12-12 16:43:25 +01:00
Folke Lemaitre
a9a273d041
fix: fqn for nvim-cmp
2024-12-12 14:45:47 +01:00
Folke Lemaitre
3a67abdf6d
docs: updated NEWS.md
2024-12-12 13:47:29 +01:00
Folke Lemaitre
34d2bdcac6
fix(copliot): restructure copilot-cmp spec
2024-12-12 13:47:29 +01:00
Folke Lemaitre
bdc865b291
style: typo
2024-12-12 13:47:29 +01:00
Folke Lemaitre
a8332c6d50
feat(snacks): added profiler keymaps
2024-12-12 13:47:29 +01:00
Folke Lemaitre
2acedaa3a8
feat(zen): zoom with leader-wm and leader-uZ. zen with leader-uz
2024-12-12 13:47:29 +01:00
Folke Lemaitre
54bece17b3
feat(snacks): added snacks.input
2024-12-12 13:47:29 +01:00
Folke Lemaitre
cded8d4d28
feat(snacks): added leader-uS to toggle scroll
2024-12-12 13:47:29 +01:00
Folke Lemaitre
b3ac642317
feat(snacks): added leader-ug to toggle indent guides
2024-12-12 13:47:29 +01:00
Folke Lemaitre
ec92fa8558
fix(git): make nvim-cmp optional for the git extra
2024-12-12 13:47:29 +01:00
Folke Lemaitre
ba632c500d
refactor(snacks): move snacks specs to ui/util so that they show up in the generated docs
2024-12-12 13:47:29 +01:00
Folke Lemaitre
303980d267
feat(snacks): added leader-ua to toggle global animations
2024-12-12 13:47:29 +01:00
Folke Lemaitre
88e77b0e24
fix(nvim-cmp): specs
2024-12-12 13:47:29 +01:00
Folke Lemaitre
e6d6a096b3
feat(keymaps): added leader-z to toggle zen mode
2024-12-12 13:47:29 +01:00
Folke Lemaitre
f2e1cac965
feat(keymaps): added leader-Z to toggle zoom
2024-12-12 13:47:29 +01:00
Folke Lemaitre
9b973882b8
feat(keymaps): added leader-uD to toggle dim mode
2024-12-12 13:47:29 +01:00
Folke Lemaitre
7bc8490d46
feat(lualine): add snacks profiler status
2024-12-12 13:47:29 +01:00
Folke Lemaitre
6d774ba8f2
fix(ui): use Snacks.util.color
instead of LazyVim.ui.fg
2024-12-12 13:47:29 +01:00
Folke Lemaitre
e389a5ada9
feat(snacks): use Snacks.zen.zoom()
instead of custom **maximize**
2024-12-12 13:47:29 +01:00
Folke Lemaitre
152f9d113f
feat(cmp)!: moved nvim-cmp
to extras and prefer blink.cmp
on Neovim >= 0.10
as default completion engine
2024-12-12 13:47:29 +01:00
Folke Lemaitre
2cbfb9b6b7
feat(cmp)!: moved nvim-cmp
to extras and prefer blink.cmp
on Neovim >= 0.10
as default completion engine
2024-12-12 13:47:29 +01:00
Folke Lemaitre
d904a1ef47
feat(snacks)!: use snacks.scope
indent objects in favor of custom mini.ai
indent objects
2024-12-12 13:47:29 +01:00
Folke Lemaitre
1a1a48497c
feat(snacks): enable snacks.scroll
2024-12-12 13:47:29 +01:00
Folke Lemaitre
94fdc421a1
feat(snacks)!: use snacks.indent
and moved indent-blankline
to extras
2024-12-12 13:47:29 +01:00
Folke Lemaitre
9b07544e89
fix(mini.animate): disable snacks.scroll
when mini.animate
is enabled
2024-12-12 13:47:29 +01:00
Folke Lemaitre
44c712aa31
feat(which-key): make helix
the default which-key preset
2024-12-12 13:47:29 +01:00
Folke Lemaitre
ae2340f60a
feat(pick)!: make fzf the default picker for LazyVim
2024-12-12 13:47:29 +01:00
github-actions[bot]
31af207542
chore(main): release 13.9.1 ( #5003 )
...
🤖 I have created a release *beep* *boop*
---
##
[13.9.1](https://github.com/LazyVim/LazyVim/compare/v13.9.0...v13.9.1 )
(2024-12-12)
### Bug Fixes
* **blink:** set kind to int, not string, if overriding
([#4999 ](https://github.com/LazyVim/LazyVim/issues/4999 ))
([cee60a6
](cee60a6d30
))
---
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-12 13:47:07 +01:00