Compare commits

...

7 Commits

Author SHA1 Message Date
d1529f650f chore(main): release 14.6.1 (#5320)
🤖 I have created a release *beep* *boop*
---


##
[14.6.1](https://github.com/LazyVim/LazyVim/compare/v14.6.0...v14.6.1)
(2025-01-08)


### Bug Fixes

* **blink:** added new luasnip preset
([8d2d9a9](8d2d9a9bd9))
* **luasnip:** correctly remove duplicate snippets
([#5214](https://github.com/LazyVim/LazyVim/issues/5214))
([05c3447](05c3447558))
* **nlua:** debugger not responding
([#5319](https://github.com/LazyVim/LazyVim/issues/5319))
([4e746d0](4e746d0e56))

---
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-01-08 14:58:56 +01:00
41f40b73d9 chore(build): auto-generate docs 2025-01-08 06:42:41 +00:00
8d2d9a9bd9 fix(blink): added new luasnip preset 2025-01-08 07:41:44 +01:00
c1319cb7ac chore(build): auto-generate docs 2025-01-07 11:05:24 +00:00
05c3447558 fix(luasnip): correctly remove duplicate snippets (#5214)
## Description
Remove `snippets` from `opts.sources.default` when Luasnip is enabled to
not get duplicate snippets.
<!-- Describe the big picture of your changes to communicate to the
maintainers
  why we should accept this pull request. -->

## Related Issue(s)
Fixes #5210
<!--
  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-01-07 12:04:17 +01:00
c8159b6abf chore(build): auto-generate docs 2025-01-06 04:53:25 +00:00
4e746d0e56 fix(nlua): debugger not responding (#5319)
## Description

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

Reference:
https://github.com/jbyuki/one-small-step-for-vimkind/issues/45#issuecomment-2125749906

Fix nlua debug adapter not responding, which for some reason because of
`fzf-lua`.

## 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. -->

No screenshot instead I'm providing how to reproduce with assumption
`dap.nlua` extra is enabled. Steps:

1. Launch the nlua `:lua require'osv'.launch({port=8086})`

2. Attach from any neovim instance to the debugger

   1. Run the debugger
      - Can do `<leader>dc`; or
      - Can do `:lua require'dap'.continue()`
   2. Choose `Attach to running Neovim instance (port = 8086)`

3. Prior to this changes, debugger will got timeout like the following

   ```text
Debug adapter didn't respond. Either the adapter is slow (then wait and
ignore this) or there is a problem with your adapter or `nlua`
configuration. Check the logs for errors (:help dap.set_log_level)
   ```

## Checklist

- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md)
guidelines.
2025-01-06 05:52:36 +01:00
6 changed files with 16 additions and 18 deletions

View File

@ -1,3 +1,3 @@
{
".": "14.6.0"
".": "14.6.1"
}

View File

@ -1,5 +1,14 @@
# Changelog
## [14.6.1](https://github.com/LazyVim/LazyVim/compare/v14.6.0...v14.6.1) (2025-01-08)
### Bug Fixes
* **blink:** added new luasnip preset ([8d2d9a9](https://github.com/LazyVim/LazyVim/commit/8d2d9a9bd965aab0a752f24ec327d2f391a8406b))
* **luasnip:** correctly remove duplicate snippets ([#5214](https://github.com/LazyVim/LazyVim/issues/5214)) ([05c3447](https://github.com/LazyVim/LazyVim/commit/05c3447558fa6eef7ae3c0d3e7ed1c281572274d))
* **nlua:** debugger not responding ([#5319](https://github.com/LazyVim/LazyVim/issues/5319)) ([4e746d0](https://github.com/LazyVim/LazyVim/commit/4e746d0e5625662e1f121b39f63836b653ed728b))
## [14.6.0](https://github.com/LazyVim/LazyVim/compare/v14.5.0...v14.6.0) (2024-12-20)

View File

@ -1,4 +1,4 @@
*LazyVim.txt* For Neovim Last change: 2024 December 20
*LazyVim.txt* For Neovim Last change: 2025 January 08
==============================================================================
Table of Contents *LazyVim-table-of-contents*

View File

@ -3,7 +3,7 @@ _G.LazyVim = require("lazyvim.util")
---@class LazyVimConfig: LazyVimOptions
local M = {}
M.version = "14.6.0" -- x-release-please-version
M.version = "14.6.1" -- x-release-please-version
LazyVim.config = M
---@class LazyVimOptions

View File

@ -68,20 +68,8 @@ return {
"saghen/blink.cmp",
optional = true,
opts = {
sources = { default = { "luasnip" } },
snippets = {
expand = function(snippet)
require("luasnip").lsp_expand(snippet)
end,
active = function(filter)
if filter and filter.direction then
return require("luasnip").jumpable(filter.direction)
end
return require("luasnip").in_snippet()
end,
jump = function(direction)
require("luasnip").jump(direction)
end,
preset = "luasnip",
},
},
},

View File

@ -45,8 +45,9 @@ return {
"ibhagwan/fzf-lua",
cmd = "FzfLua",
opts = function(_, opts)
local config = require("fzf-lua.config")
local actions = require("fzf-lua.actions")
local fzf = require("fzf-lua")
local config = fzf.config
local actions = fzf.actions
-- Quickfix
config.defaults.keymap.fzf["ctrl-q"] = "select-all+accept"