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
Stefan Boca
cee60a6d30
fix(blink): set kind to int, not string, if overriding ( #4999 )
...
## Description
when sorting completion results, blink compares kinds, which can result
in an error if the kind is a string
## 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-12 06:29:08 +01:00
github-actions[bot]
475e3f32b8
chore(main): release 13.9.0 ( #4979 )
...
🤖 I have created a release *beep* *boop*
---
##
[13.9.0](https://github.com/LazyVim/LazyVim/compare/v13.8.0...v13.9.0 )
(2024-12-11)
### Features
* **luasnip:** add default user snippet location
([#4987 ](https://github.com/LazyVim/LazyVim/issues/4987 ))
([8c79ab6
](8c79ab601a
))
* **vscode:** add vscode-specific keymaps and sync undo/redo with vscode
([#4983 ](https://github.com/LazyVim/LazyVim/issues/4983 ))
([9ad1c49
](9ad1c49b67
))
### Bug Fixes
* **autocmds:** remove snacks_win from close_with_q, since they have
their own keymaps
([99c361f
](99c361f708
))
* **blink:** config breaking changes. Fixes
[#4990 ](https://github.com/LazyVim/LazyVim/issues/4990 )
([439340b
](439340bd8a
))
---
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 00:29:18 +01:00
Valentin Degenne
8c79ab601a
feat(luasnip): add default user snippet location ( #4987 )
...
## Description
Loads snippets in user directories if it exists.
## Checklist
- [X] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md )
guidelines.
2024-12-11 11:13:57 +01:00
Folke Lemaitre
439340bd8a
fix(blink): config breaking changes. Fixes #4990
2024-12-11 10:57:09 +01:00
deniz gökçin
9ad1c49b67
feat(vscode): add vscode-specific keymaps and sync undo/redo with vscode ( #4983 )
...
## Summary
This pull request introduces several new keymaps specifically for VSCode
when using LazyVim. These changes aim to enhance the integration between
VSCode and LazyVim by adding keymaps for, tab navigation, and syncing
nvim undo/redo actions with vscode undo/redo.
## Changes
- Synced undo/redo lists with VSCode using `VSCodeNotify`: (check
https://github.com/vscode-neovim/vscode-neovim/issues/1139 for more
details)
- `u` for undo
- `<C-r>` for redo
- Enabled navigation of VSCode tabs similar to LazyVim buffers:
- `<S-h>` to go to the previous editor
- `<S-l>` to go to the next editor
## Additional Notes
These changes are intended to improve the user experience for those who
use LazyVim within VSCode by providing more intuitive and consistent
keybindings. Please test these keymaps to ensure they work as expected
in your VSCode setup.
Co-authored-by: Deniz Gökçin <deniz.gokcin@treatwell.com>
2024-12-10 12:13:01 +01:00
Folke Lemaitre
1519cd6da7
chore: remove dead code. Closes #4985
2024-12-10 12:09:40 +01:00
Folke Lemaitre
99c361f708
fix(autocmds): remove snacks_win from close_with_q, since they have their own keymaps
2024-12-10 00:31:36 +01:00
github-actions[bot]
3c605f547c
chore(main): release 13.8.0 ( #4955 )
...
🤖 I have created a release *beep* *boop*
---
##
[13.8.0](https://github.com/LazyVim/LazyVim/compare/v13.7.0...v13.8.0 )
(2024-12-07)
### Features
* **git:** added toggles for gitsigns.nvim and mini.diff
([2ebba15
](2ebba15e12
))
### Bug Fixes
* **dot:** kitty ft with bash treesitter highlights
([7ef2dfd
](7ef2dfd3ba
))
* **keymaps:** toggle name
([b2f7505
](b2f750558a
))
* **mini.diff:** toggle
([3f4b1ff
](3f4b1ff003
))
* **rust:** only use mason.nvim if it is present
([#4963 ](https://github.com/LazyVim/LazyVim/issues/4963 ))
([5ddad99
](5ddad99bac
))
---
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-08 21:53:24 +01:00
Folke Lemaitre
7ef2dfd3ba
fix(dot): kitty ft with bash treesitter highlights
2024-12-07 20:52:48 +01:00
Folke Lemaitre
3f4b1ff003
fix(mini.diff): toggle
2024-12-07 20:52:13 +01:00
Folke Lemaitre
2ebba15e12
feat(git): added toggles for gitsigns.nvim and mini.diff
2024-12-07 11:57:21 +01:00
Felix Rath
5ddad99bac
fix(rust): only use mason.nvim if it is present ( #4963 )
...
## Description
Fix the lang/rust extra for users that don't use mason. Uses the fix
suggested in
https://github.com/LazyVim/LazyVim/issues/4957#issuecomment-2521787846 ,
which works perfectly!
## Related Issue(s)
Fixes https://github.com/LazyVim/LazyVim/issues/4957
## Screenshots
n/a
## Checklist
- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md )
guidelines.
Co-authored-by: Felix Rath <frath@cloudflare.com>
2024-12-06 16:35:27 +01:00
Folke Lemaitre
b2f750558a
fix(keymaps): toggle name
2024-12-05 09:52:49 +01:00
github-actions[bot]
8a3321d827
chore(main): release 13.7.0 ( #4929 )
...
🤖 I have created a release *beep* *boop*
---
##
[13.7.0](https://github.com/LazyVim/LazyVim/compare/v13.6.0...v13.7.0 )
(2024-12-05)
### Features
* **blink:** enabled treesitter highlighting
([0a9447c
](0a9447c1b1
))
* **extras.ai:** blink.cmp integration and kind overrides for menu
drawing ([#4942 ](https://github.com/LazyVim/LazyVim/issues/4942 ))
([f841ecf
](f841ecf6bd
))
* **rust:** add bacon-ls and improve debugging
([#3212 ](https://github.com/LazyVim/LazyVim/issues/3212 ))
([ea794ff
](ea794ffd94
))
* **snacks:** silence copy url keymap
([#4939 ](https://github.com/LazyVim/LazyVim/issues/4939 ))
([03e203b
](03e203bfbe
))
* **toggle:** added leader-A to toggle tabline. Closes
[#4951 ](https://github.com/LazyVim/LazyVim/issues/4951 )
([8232651
](8232651c4a
))
### Bug Fixes
* **blink:** update config for latest changes
([#4953 ](https://github.com/LazyVim/LazyVim/issues/4953 ))
([090ca75
](090ca75d3b
))
* **copilot:** CopilotChat.nvim has moved to main
([#4931 ](https://github.com/LazyVim/LazyVim/issues/4931 ))
([0d6026a
](0d6026a3e8
))
* **extras.treesitter-context:** change event back to `LazyFile`
([#4940 ](https://github.com/LazyVim/LazyVim/issues/4940 ))
([83017ff
](83017ff28a
))
* **supermaven:** blink.cmp integration
([#4941 ](https://github.com/LazyVim/LazyVim/issues/4941 ))
([d714711
](d71471151b
))
* **tex:** specify filetype for <localleader>l
([#4905 ](https://github.com/LazyVim/LazyVim/issues/4905 ))
([12e3752
](12e37529e7
))
* **ui:** actually disable mini-indentscope on snacks_dashboard
([#4947 ](https://github.com/LazyVim/LazyVim/issues/4947 ))
([bfe29fb
](bfe29fb013
))
* **ui:** disable mini.indentscope on `ft=snacks_dashboard`
([#4928 ](https://github.com/LazyVim/LazyVim/issues/4928 ))
([4bf3a39
](4bf3a39223
))
* **ui:** properly clear maximize state on exit. See
[#4934 ](https://github.com/LazyVim/LazyVim/issues/4934 )
([9ec253b
](9ec253b9b6
))
---
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:22:10 +01:00
Matteo Bigoi
ea794ffd94
feat(rust): add bacon-ls and improve debugging ( #3212 )
...
## Changes
**NOTE: the PR will be in draft until
https://github.com/mason-org/mason-registry/pull/5774 is not merged**
Some improvements in the Rust extra
- Set `codelldb` adapter for rustacean.nvim
- Add support for [bacon-ls](https://github.com/crisidev/bacon-ls )
([blog post](https://lmno.lol/crisidev/bacon-language-server ))
`bacon-ls` can be used as an alternative to `rust-analyzer` for
diagnostics, improving `rust-analyzer` performances. This is configured
by `vim.g.lazyvim_rust_diagnostics`, which can be set to `rust-analyzer`
or `bacon-lsp`.
<img width="1063" alt="screenshot"
src="f50a38ff
-0ec0-4d10-8cdc-796d027b16f0">
---------
Co-authored-by: Iordanis Petkakis <12776461+dpetka2001@users.noreply.github.com>
2024-12-05 09:20:34 +01:00
Folke Lemaitre
8232651c4a
feat(toggle): added leader-A to toggle tabline. Closes #4951
2024-12-05 09:18:16 +01:00
Stefan Boca
83017ff28a
fix(extras.treesitter-context): change event back to LazyFile
( #4940 )
...
## Description
Load treesitter-context on `LazyFile` instead of `VeryLazy`. IMHO it
didn't make sense to load the plugin earlier just so that the toggle is
available, especially when the toggle won't actually have any effect
anything until a file is opened.
~Previously, treesitter-context was loaded on `VeryLazy` and its toggle
map in `opt`, which also `require`d it. Now, mapping happens in config,
after treesitter-context is setup (also how toggle is handled in other
extras, eg for render-markdown).~
## Checklist
- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md )
guidelines.
2024-12-05 09:11:40 +01:00
Álvaro Kothe
12e37529e7
fix(tex): specify filetype for <localleader>l ( #4905 )
...
## Description
Specify the filetype for the keymap `<localleader>l` to ensure that this
keybinding group only appears when editing TeX files.
## 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-05 09:11:11 +01:00
Stefan Boca
bfe29fb013
fix(ui): actually disable mini-indentscope on snacks_dashboard ( #4947 )
...
## Description
Disables mini.indentscope for the buffer on which the
`SnacksDashboardOpened` autocmd is called.
## Related Issue(s)
closes #4944
## Checklist
- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md )
guidelines.
2024-12-05 09:10:44 +01:00
jyuan0
090ca75d3b
fix(blink): update config for latest changes ( #4953 )
...
## Description
Update the blink.cmp config for the latest changes.
Mainly fixing the experimental `auto_brackets` support (moved under the
`completion` key). The other changes are either the same as the
defaults, or commented out - they were simply updated to reflect the new
config format.
## Checklist
- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md )
guidelines.
2024-12-05 08:46:15 +01:00
Stefan Boca
f841ecf6bd
feat(extras.ai): blink.cmp integration and kind overrides for menu drawing ( #4942 )
...
## Description
blink.cmp integration for codeium and copilot, and correct menu drawing
for codeium, copilot, and supermaven.
I've simplified the blink.cmp config a bit for these extras (especially
for copilot, which was extremely nested) by only including the blink.cmp
spec if vim.g.ai_cmp is true.
Multiple AI extras can now be enabled at the same time with blink.cmp.
blink.cmp ghost text is now always enabled. Although some ai plugins
always display virtual text, at worst it overlaps with blink's ghost
text and is not noticable.
Lastly, I can't test copilot because I don't have a subscription, nor do
I want to sign up for one, but it should work just as well as the
others.
## Screenshots
With Codeium:

Multiple extras enabled at the same time:

## 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-03 21:06:58 +01:00
Folke Lemaitre
4a626a8137
refactor(ui): cleanup maximize code
2024-12-02 23:46:11 +01:00
Folke Lemaitre
9ec253b9b6
fix(ui): properly clear maximize state on exit. See #4934
2024-12-02 22:34:39 +01:00
Stefan Boca
d71471151b
fix(supermaven): blink.cmp integration ( #4941 )
...
## Description
Supermaven completion now works with the latest release of blink.cmp and
blink.compat. I'll also take a look at the other ai extras soon.
~A draft for now, until some issues with ghost text are resolved, see
https://github.com/Saghen/blink.cmp/issues/257 . Alternatively, enabling
the supermaven extra could disable ghost text.~
## Screenshots

## Checklist
- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md )
guidelines.
2024-12-02 21:51:25 +01:00
Sergey Kochetkov
03e203bfbe
feat(snacks): silence copy url keymap ( #4939 )
...
## Description
Silences keymap introduced in related PR
## Related PR(s)
https://github.com/LazyVim/LazyVim/pull/4870
## Checklist
- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md )
guidelines.
2024-12-02 20:22:55 +01:00
Folke Lemaitre
0a9447c1b1
feat(blink): enabled treesitter highlighting
2024-12-02 19:43:08 +01:00
Andreas Petersen (Guldberg)
0d6026a3e8
fix(copilot): CopilotChat.nvim has moved to main ( #4931 )
...
## Description
<!-- Describe the big picture of your changes to communicate to the
maintainers
why we should accept this pull request. -->
CopilotChat.nvim has moved to main
([ref](https://github.com/CopilotC-Nvim/CopilotChat.nvim/issues/665 ))
## Related Issue(s)
https://github.com/CopilotC-Nvim/CopilotChat.nvim/issues/665
<!--
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-02 07:35:04 +01:00
Stefan Boca
4bf3a39223
fix(ui): disable mini.indentscope on ft=snacks_dashboard
( #4928 )
...
## Description
mini.indentscope would act on the snacks dashboard if it was somehow
loaded while the dashboard is still open.
## Related Issue(s)
I forgot about mini.indentscope in #4895 :)
## Screenshots
**Actually** fixes this:

## Checklist
- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md )
guidelines.
2024-12-01 19:57:55 +01:00
github-actions[bot]
7bdc205e7d
chore(main): release 13.6.0 ( #4872 )
...
🤖 I have created a release *beep* *boop*
---
##
[13.6.0](https://github.com/LazyVim/LazyVim/compare/v13.5.3...v13.6.0 )
(2024-12-01)
### Features
* **colorscheme:** enable catppuccin snacks integration by default
([#4882 ](https://github.com/LazyVim/LazyVim/issues/4882 ))
([5659786
](5659786893
))
* **extras:** added extra for `smear-cursor.nvim`
([40dba86
](40dba86925
))
* **lang:** add maxInlayHintLength for vtsls to resolve inlay hint to…
([#4902 ](https://github.com/LazyVim/LazyVim/issues/4902 ))
([1847e3f
](1847e3fb25
))
* **smear-cursor:** enable `cursor_color = "none"`, to show trail using
color of target text fg color
([275c786
](275c78665e
))
* **snacks:** add keymap to copy url from gitbrowse
([#4870 ](https://github.com/LazyVim/LazyVim/issues/4870 ))
([cdf3f1f
](cdf3f1f2bd
))
* **snacks:** added leader-. to toggle a scratch buffer. Uses `count`
for new scratch buffers
([6d42f10
](6d42f1084d
))
* **snacks:** added leader-n to show notification history
([be0cb96
](be0cb9622d
))
* **snacks:** added leader-S to select a previous scratch buffer
([e05379b
](e05379babc
))
### Bug Fixes
* **blink:** fixed luasnip completions for blink
([7bb954f
](7bb954fd1d
))
* **blink:** icons
([2263b94
](2263b94439
))
* **blink:** make sure blink.compat is setup correctly when used in
extras
([91a3c66
](91a3c663a7
))
* **blink:** updated to config to reflect breaking changes
([efcba66
](efcba66a22
))
* **dial:** add and/or augend to python ft
([#4875 ](https://github.com/LazyVim/LazyVim/issues/4875 ))
([ecfaed3
](ecfaed3cc1
))
* **java:** give java a default nvim-dap config
([#4261 ](https://github.com/LazyVim/LazyVim/issues/4261 ))
([c9102bc
](c9102bc351
))
* **java:** minisurround jdtls keybind conflict
([#4886 ](https://github.com/LazyVim/LazyVim/issues/4886 ))
([30fac42
](30fac4206a
))
* **lazydev:** use luals' bundled luv library
([eb525c6
](eb525c680d
))
* **lsp:** don't leak keymaps from LSP server configs
([#4849 ](https://github.com/LazyVim/LazyVim/issues/4849 ))
([85e4118
](85e4118065
))
* **mini.animate:** disable when in Neovide
([66459f9
](66459f9361
))
* **octo:** upstream changed mappings to `localleader`
([#4850 ](https://github.com/LazyVim/LazyVim/issues/4850 ))
([c979225
](c979225c37
))
* **snacks:** remove lazygit requirement for git browse/blame keymaps
([#4869 ](https://github.com/LazyVim/LazyVim/issues/4869 ))
([2c37492
](2c37492461
))
* **sql:** fix autocomplete, it was using the wrong plugin name on the
`LazyVim.has` check
([#4900 ](https://github.com/LazyVim/LazyVim/issues/4900 ))
([ed10d3c
](ed10d3cf19
))
* **sql:** only use cmp if it is available
([#4891 ](https://github.com/LazyVim/LazyVim/issues/4891 ))
([9eccb5d
](9eccb5d2de
))
* **ui:** disable indent-blankline on `ft=snacks_dashboard`
([#4895 ](https://github.com/LazyVim/LazyVim/issues/4895 ))
([c022759
](c02275919e
))
---
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-01 09:38:42 +01:00
Folke Lemaitre
6d42f1084d
feat(snacks): added leader-. to toggle a scratch buffer. Uses count
for new scratch buffers
2024-12-01 09:31:26 +01:00
Folke Lemaitre
e05379babc
feat(snacks): added leader-S to select a previous scratch buffer
2024-12-01 09:31:26 +01:00
Folke Lemaitre
be0cb9622d
feat(snacks): added leader-n to show notification history
2024-12-01 09:31:26 +01:00
Folke Lemaitre
275c78665e
feat(smear-cursor): enable cursor_color = "none"
, to show trail using color of target text fg color
2024-11-29 14:30:47 +01:00
Folke Lemaitre
2263b94439
fix(blink): icons
2024-11-28 21:51:23 +01:00