Commit graph

2150 commits

Author SHA1 Message Date
Folke Lemaitre
f8b062b130
feat(sidekick): added <leader>ad to close/detach a terminal/session 2025-10-11 00:05:16 +02:00
Folke Lemaitre
e8c5fa7eae
fix(treesiter): check that disable options are tables 2025-10-10 20:57:44 +02:00
Folke Lemaitre
0e8069c78e
feat(treesitter): added support for disable langs to indent/highlight/folds. Closes #6608 2025-10-10 06:45:12 +02:00
Folke Lemaitre
4efd0e2bea
fix(terminal): term toggle keymaps now only work for snacks terminals. Closes #6573 2025-10-09 22:08:13 +02:00
Folke Lemaitre
94c4603b68
fix(blink): disable blink left/right key in the cmdline 2025-10-09 18:08:27 +02:00
Vlad
92ff787e73
chore(render-markdown): use API to toggle (#6558)
## Description

The `state` module in `render-markdown` is not expected to be accessed
outside of the package and may be refactored in the future.

Prevent any breaking changes in LazyVim by using the public API which
was updated here:

accaa600ba

## Related Issue(s)

None

## Screenshots

N/A

## Checklist

- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md)
guidelines.
2025-10-09 13:47:01 +02:00
Iordanis Petkakis
aa2c43633a
fix(xtras): load copilot-native before blink (#6588)
## Description
`blink` Extra loads earlier than `copilot-native` Extra and that causes
`ghost_text.enabled = vim.g.ai_cmp` to wrongly evaluate to `true` even
though `copilot-native` explicitly sets `vim.g.ai_cmp = false`.

I also changed the order of `blink` and `typescript` so that `blink`
comes logically right after `copilot-native`, hope that is not a
problem. If it is, feel free to revert the order and just keep the
change about `copilot-native`.

<!-- Describe the big picture of your changes to communicate to the
maintainers
  why we should accept this pull request. -->

## Related Issue(s)
None, I was just trying to create a toggle mapping to disable/enable
both NES and inline_completion and even though they were disabled, I
could see ghost_text from blink.
<!--
  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.
2025-10-09 13:46:25 +02:00
Folke Lemaitre
a3e52dd346
feat(sidekick): changed default keymaps for sidekick. Please check updated docs at sidekick.nvim 2025-10-09 00:12:43 +02:00
Md. Iftakhar Awal Chowdhury
b9d38f6920
fix(keymaps): update deprecated diagnostic keymap to latest api change (#6574)
## Description

refectors deprecated `diagnostic_goto` calls to newer
`vim.diagnostic.jump` API.

## Checklist

- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md)
guidelines.
2025-10-02 20:52:41 +02:00
github-actions[bot]
dc1ffa5bcb
chore(main): release 15.7.1 (#6575)
🤖 I have created a release *beep* *boop*
---


##
[15.7.1](https://github.com/LazyVim/LazyVim/compare/v15.7.0...v15.7.1)
(2025-10-02)


### Bug Fixes

* **sidekick:** better keymaps
([188b288](188b288614))

---
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>
2025-10-02 19:18:17 +02:00
Folke Lemaitre
188b288614
fix(sidekick): better keymaps 2025-10-02 19:14:52 +02:00
github-actions[bot]
fab399c90d
chore(main): release 15.7.0 (#6556)
🤖 I have created a release *beep* *boop*
---


##
[15.7.0](https://github.com/LazyVim/LazyVim/compare/v15.6.0...v15.7.0)
(2025-10-01)


### Features

* **sidekick:** updated keymaps for sidekick
([2942bd4](2942bd4a0d))


### Bug Fixes

* **copilot-native:** schedule inline_completion.enable
([23b1da1](23b1da170f))
* **sidekick:** better keymaps
([aabc03f](aabc03f88d))
* **stylua:** stylua is now also an LSP. Disable it since we use the CLI
tool.
([2f76d57](2f76d572a2))

---
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>
2025-10-02 07:22:59 +02:00
Folke Lemaitre
2942bd4a0d
feat(sidekick): updated keymaps for sidekick 2025-10-01 22:18:05 +02:00
Folke Lemaitre
aabc03f88d
fix(sidekick): better keymaps 2025-10-01 19:05:48 +02:00
Folke Lemaitre
23b1da170f
fix(copilot-native): schedule inline_completion.enable 2025-10-01 19:04:14 +02:00
Folke Lemaitre
2f76d572a2
fix(stylua): stylua is now also an LSP. Disable it since we use the CLI tool. 2025-09-30 18:10:39 +02:00
github-actions[bot]
4ebcd611b2
chore(main): release 15.6.0 (#6536)
🤖 I have created a release *beep* *boop*
---


##
[15.6.0](https://github.com/LazyVim/LazyVim/compare/v15.5.0...v15.6.0)
(2025-09-30)


### Features

* **sidekick:** added keymaps to work with AI cli tools
([5d18a46](5d18a46b6a))
* **sidekick:** fancier lualine component
([b889978](b889978151))


### Bug Fixes

* **config:** clipboard:get()
([22851dc](22851dce97))
* **copilot-native:** change Copilot-native's `<M-[>` description to
"Prev Suggestion"
([#6553](https://github.com/LazyVim/LazyVim/issues/6553))
([089d0a5](089d0a5ac1))
* **sidekick:** changed keymap to open new tool
([3d3739b](3d3739b4b8))

---
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>
2025-09-30 16:43:00 +02:00
Folke Lemaitre
22851dce97
fix(config): clipboard:get() 2025-09-30 15:42:15 +02:00
Jonathan Pollak
089d0a5ac1
fix(copilot-native): change Copilot-native's <M-[> description to "Prev Suggestion" (#6553)
## Description

<!-- Describe the big picture of your changes to communicate to the
maintainers
  why we should accept this pull request. -->
The description for both `<M-]>` and `<M-[>` in the `copilot-native`
extra are described as `Next Copilot Suggestion`. The PR changes the
description of `<M-[>` to be `Prev Copilot Suggestion`

## 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.
2025-09-30 06:48:46 +02:00
Folke Lemaitre
3d3739b4b8
fix(sidekick): changed keymap to open new tool 2025-09-30 00:03:41 +02:00
Folke Lemaitre
5d18a46b6a
feat(sidekick): added keymaps to work with AI cli tools 2025-09-29 23:12:20 +02:00
Folke Lemaitre
b889978151
feat(sidekick): fancier lualine component 2025-09-27 19:53:16 +02:00
github-actions[bot]
060e6dfaf7
chore(main): release 15.5.0 (#6533)
🤖 I have created a release *beep* *boop*
---


##
[15.5.0](https://github.com/LazyVim/LazyVim/compare/v15.4.0...v15.5.0)
(2025-09-27)


### Features

* **ai.copilot-native:** let sidekick.nvim handle some things if
available
([b25ea9c](b25ea9c153))
* **ai:** added completion hooks for next edit suggestions
([30a325d](30a325d671))
* **extras:** added extra for `sidekick.nvim` (Copilot LSP integration)
([dbfe209](dbfe20996c))


### Bug Fixes

* **ai.copilot:** disable copilot lsp if installed. copilot.lua needs
its own version of the LSP
([e9bc607](e9bc6074d1))

---
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>
2025-09-27 18:54:19 +02:00
Folke Lemaitre
dbfe20996c
feat(extras): added extra for sidekick.nvim (Copilot LSP integration) 2025-09-27 18:41:34 +02:00
Folke Lemaitre
30a325d671
feat(ai): added completion hooks for next edit suggestions 2025-09-26 15:57:00 +02:00
Folke Lemaitre
b25ea9c153
feat(ai.copilot-native): let sidekick.nvim handle some things if available 2025-09-26 15:56:17 +02:00
Folke Lemaitre
e9bc6074d1
fix(ai.copilot): disable copilot lsp if installed. copilot.lua needs its own version of the LSP 2025-09-26 15:55:32 +02:00
github-actions[bot]
92b7fcf7b1
chore(main): release 15.4.0 (#6515)
🤖 I have created a release *beep* *boop*
---


##
[15.4.0](https://github.com/LazyVim/LazyVim/compare/v15.3.0...v15.4.0)
(2025-09-26)


### Features

* **copilot-native:** added experimental support for next edit
suggestions. check the docs to enable
([c83df9e](c83df9e68d))
* **copilot-native:** added keymaps to cycle suggestions
([6bd630c](6bd630cec6))
* **copilot-native:** better lualine status
([9913e16](9913e1665d))
* **copilot-native:** removed experimental **nes** support with
`copilot_lsp` for now, since it's not the best experience right now
([ed637bb](ed637bb0f7))
* **copilot:** added `copilot-native` extra to setup native inline
completions in Neovim
([3b02963](3b02963585))


### Bug Fixes

* **catppuccin:** follow-up on api change
([#6505](https://github.com/LazyVim/LazyVim/issues/6505))
([af6e250](af6e2505b5))
* **treesitter:** create buffer-local textobjects keymaps only when
available. Closes
[#6508](https://github.com/LazyVim/LazyVim/issues/6508)
([5985ca0](5985ca0cf1))

---
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>
2025-09-26 12:16:12 +02:00
Folke Lemaitre
ed637bb0f7
feat(copilot-native): removed experimental **nes** support with copilot_lsp for now, since it's not the best experience right now 2025-09-26 12:14:33 +02:00
robin
af6e2505b5
fix(catppuccin): follow-up on api change (#6505)
## Description

https://github.com/catppuccin/nvim/pull/931 will change the api for
accessing the bufferline integration. im making this follow up pr so it
wont have to be done through a user :)
(sorry about https://github.com/LazyVim/LazyVim/pull/6354)

## Checklist

- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md)
guidelines.
2025-09-26 06:36:14 +02:00
Folke Lemaitre
c83df9e68d
feat(copilot-native): added experimental support for next edit suggestions. check the docs to enable 2025-09-25 15:30:28 +02:00
Folke Lemaitre
6bd630cec6
feat(copilot-native): added keymaps to cycle suggestions 2025-09-25 12:30:50 +02:00
Folke Lemaitre
9913e1665d
feat(copilot-native): better lualine status 2025-09-25 11:11:40 +02:00
Folke Lemaitre
3b02963585
feat(copilot): added copilot-native extra to setup native inline completions in Neovim 2025-09-25 10:31:17 +02:00
Folke Lemaitre
5985ca0cf1
fix(treesitter): create buffer-local textobjects keymaps only when available. Closes #6508 2025-09-25 07:35:59 +02:00
Folke Lemaitre
8a76098461
style(lsp): typo 2025-09-23 13:06:34 +02:00
github-actions[bot]
6e3a06306d
chore(main): release 15.3.0 (#6486)
🤖 I have created a release *beep* *boop*
---


##
[15.3.0](https://github.com/LazyVim/LazyVim/compare/v15.2.0...v15.3.0)
(2025-09-23)


### Features

* **copilot:** use `blink-copilot` as blink.cmp copilot source
([#5551](https://github.com/LazyVim/LazyVim/issues/5551))
([13069f2](13069f2018))
* **treesitter:** show an error if the user tries to set a custom
treesitter compiler
([89ff1fd](89ff1fd600))


### Bug Fixes

* **jdtls:** allow mason jdtls installation
([#6498](https://github.com/LazyVim/LazyVim/issues/6498))
([80990ec](80990ec62f))
* **jdtls:** bundle configuration bug fix
([#6499](https://github.com/LazyVim/LazyVim/issues/6499))
([c423765](c423765962))
* **keymaps:** enable snacks git keybindings
([#6323](https://github.com/LazyVim/LazyVim/issues/6323))
([720e06a](720e06a908))
* **lsp:** fix mason install/exclude. Closes
[#6504](https://github.com/LazyVim/LazyVim/issues/6504)
([37b1ec4](37b1ec41ae))
* **lsp:** fixup for when not using mason
([a90b565](a90b56518f))
* **luasnip:** add missing optional tag to garymjr/nvim-snippets
([#5733](https://github.com/LazyVim/LazyVim/issues/5733))
([37a1c1a](37a1c1af5d))
* **vtsls:** fix and move denols/vtsls disambigutaion to typescript
extra. Fixes [#6476](https://github.com/LazyVim/LazyVim/issues/6476)
([775621a](775621ac0a))

---
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>
2025-09-23 13:02:58 +02:00
Folke Lemaitre
67781bda04
Revert "fix(jdtls): allow mason jdtls installation (#6498)"
This reverts commit 80990ec62f.
2025-09-23 13:00:13 +02:00
Folke Lemaitre
37b1ec41ae
fix(lsp): fix mason install/exclude. Closes #6504 2025-09-23 12:58:45 +02:00
dareni
c423765962
fix(jdtls): bundle configuration bug fix (#6499)
The jar for the debug adapter was included but the operation to append
the java-test jar files failed.
2025-09-22 13:56:18 +02:00
dareni
80990ec62f
fix(jdtls): allow mason jdtls installation (#6498)
Bug fix jdtls config for compatibility with last lsp refactor.
2025-09-22 13:55:56 +02:00
Frestein ☁️
37a1c1af5d
fix(luasnip): add missing optional tag to garymjr/nvim-snippets (#5733)
## Description

This pull request fixes an issue where the `nvim-snippets` plugin was
incorrectly marked as disabled due to the missing optional tag in the
configuration. By adding the `optional = true` tag, the plugin will no
longer appear as disabled when it is not installed.

## Related Issue(s)

<!--
  If this PR fixes any issues, please link to the issue here.
  - Fixes #<issue_number>
-->

## Screenshots

Before:

![image](https://github.com/user-attachments/assets/8391b047-22e6-416b-acb8-3b8af3932469)

After:

![image](https://github.com/user-attachments/assets/8c1775ce-8aa9-434e-986d-a1db3ac7bd56)


## Checklist

- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md)
guidelines.
2025-09-21 15:51:56 +02:00
filip
720e06a908
fix(keymaps): enable snacks git keybindings (#6323)
## Description
Enable snacks git keybindings even if `lazygit` is not installed  
Related discussion: https://github.com/LazyVim/LazyVim/discussions/6322

## 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.
2025-09-21 15:42:38 +02:00
Vladimir Shvets
7d5365ad14
fix(lualine): pretty path fix for mixed case paths on Windows (#4911)
## Description

Here's an example of the issue:

```lua
local pretty_path = require('lazyvim.util').lualine.pretty_path({ relative = 'cwd' })

-- just a stub
local component = {
  create_hl = function() end,
  format_hl = function() return '' end,
  get_default_hl = function() return '' end
}

local cwd = vim.fn.getcwd()
vim.print('cwd: ' .. cwd)
vim.print('pretty path: ' .. pretty_path(component))

-- results if `cd d:\tmp` was called previously
-- cwd: d:\tmp
-- pretty path: d:\tmp\pretty_path_issue.lua
--
-- results if `cd D:\tmp` was called previously
-- cwd: D:\tmp
-- pretty path: pretty_path_issue.lua
```

Depending on the initial path of the `cd` we either get a pretty path or
we don't =)

I'm not sure if this should be fixed in the neovim itself (considering
windows paths as case-insensitive), but I would assume that would take a
lot longer to land there, if it's even considered a needed change

## Related Issue(s)

Somewhat related to #4763, where I've left a comment, but decided to
look a bit deeper

## Checklist

- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md)
guidelines.
2025-09-21 15:29:53 +02:00
Zhou Fang
13069f2018
feat(copilot): use blink-copilot as blink.cmp copilot source (#5551)
## Description

<!-- Describe the big picture of your changes to communicate to the
maintainers
  why we should accept this pull request. -->

After reviewing and fixing bugs in blink-cmp-copilot, I realized that
there is significant room for improvement in its codebase. So I created
a new copilot source `blink-copilot` for `blink.cmp` that introduces
many new features, enhanced performance, and official `copilot.vim`
backend support. (`copilot.lua` is supported by default)

The plugin has been starred by over 30 users, and it is growing faster
than blink-cmp-copilot. After more than two weeks of gathering feedback
and addressing bugs, the plugin has become very stable, and I believe
it’s time to share it with a broader audience.

`blink-copilot` register the kind `Copilot` by default, so there is no
need to do extra transforming on the completion items.

## 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.
2025-09-21 14:40:15 +02:00
Folke Lemaitre
a90b56518f
fix(lsp): fixup for when not using mason 2025-09-21 12:35:17 +02:00
Folke Lemaitre
16637dd655
refactor(lsp): cleanup lsp/mason-lspconfig code 2025-09-21 12:34:27 +02:00
Folke Lemaitre
775621ac0a
fix(vtsls): fix and move denols/vtsls disambigutaion to typescript extra. Fixes #6476 2025-09-21 11:58:59 +02:00
Folke Lemaitre
89ff1fd600
feat(treesitter): show an error if the user tries to set a custom treesitter compiler 2025-09-21 11:04:25 +02:00
github-actions[bot]
b4606f9df3
chore(main): release 15.2.0 (#6468)
🤖 I have created a release *beep* *boop*
---


##
[15.2.0](https://github.com/LazyVim/LazyVim/compare/v15.1.1...v15.2.0)
(2025-09-20)


### Features

* **clojure:** use 'nvim-paredit' instead 'nvim-treesitter-sexp' as
clojure S-exp Plugin
([#5876](https://github.com/LazyVim/LazyVim/issues/5876))
([2659028](26590285ea))
* **core:** relax hard requirement for `vim.lsp.is_enabled`. Show
warning instead
([3ca7b47](3ca7b47365))
* **options:** don't overwrite indentexpr/foldexpr/foldmethod when set
by plugins. Fixes
[#6464](https://github.com/LazyVim/LazyVim/issues/6464)
([ccbaf55](ccbaf55c2f))
* **yanky:** use snacks picker for improved yank history navigation
([#5802](https://github.com/LazyVim/LazyVim/issues/5802))
([55e762a](55e762a888))


### Bug Fixes

* **editor:** calculate the height passed to the prompt of fzf-lua
properly ([#6481](https://github.com/LazyVim/LazyVim/issues/6481))
([65e38d3](65e38d3b34))
* **lang.clojure:** correct cmp-conjure source name
([#6208](https://github.com/LazyVim/LazyVim/issues/6208))
([55b5c1f](55b5c1fecb))
* **options:** set_default option
([2401d5f](2401d5fca6))
* **options:** track some initial options right after loading
`options.lua`. See
[#6463](https://github.com/LazyVim/LazyVim/issues/6463)
([9c611b0](9c611b0c57))
* **treesitter:** check if queries for indent/fold exists before
enabling it. Fixes
[#6474](https://github.com/LazyVim/LazyVim/issues/6474)
([5ce7cd6](5ce7cd650a))

---
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>
2025-09-20 16:50:44 +02:00