LazyVim.LazyVim/lua/lazyvim/plugins/extras/coding
Iordanis Petkakis e7f8e4faba
fix(blink): enable Neovim native mapping with <Tab> (#5617)
## Description
Another blink fix unfortunately. 

I noticed that native Neovim `<Tab>` completion didn't work after the
breaking commit.

I checked the commit and noticed it had a boolean `enabled` field, so I
thought maybe that would disable the blink cmdline since we already have
`sources = {}`, but it didn't work. Looking through the commit, I
stumbled upon this piece of
[code](93215d8034 (diff-f313d6f0270f6fed848f1cb7e62c82d3cfaf9b6c7e0072266908eeaf202f11d5R66-R68))
and it seems that it's only checked for applying the blink cmdline
mappings.

So, it seems both `enabled = false` (for Neovim native cmdline mapping)
and `sources = {}` are needed to have default Neovim cmdline experience.

PS: Apparently I don't know how to link from the commit the necessary
part of the commit, so I'm just referencing here the part of the code
[directly in the
file](426a605518/lua/blink/cmp/keymap/init.lua (L66-L70)).
<!-- Describe the big picture of your changes to communicate to the
maintainers
  why we should accept this pull request. -->

## Related Issue(s)
None
<!--
  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-02-15 23:47:17 +01:00
..
blink.lua fix(blink): enable Neovim native mapping with <Tab> (#5617) 2025-02-15 23:47:17 +01:00
luasnip.lua fix(luasnip): schedule jump to be compatible with blink, nvim-cmp still works after change (#5470) 2025-01-28 09:19:01 +01:00
mini-comment.lua feat(comments): use ts-comments.nvim instead of nvim-ts-context-commentstring on Neovim 0.10 2024-05-21 19:31:40 +02:00
mini-snippets.lua feat(snippets): mini.snippets is out of beta (#5505) 2025-01-31 17:11:26 +01:00
mini-surround.lua fix(extras): disable import handling when loading :LazyExtras + changed some recommendations 2025-02-10 23:27:24 +01:00
neogen.lua feat(extras): setup neogen and mini.snippets integration (#5594) 2025-02-14 17:32:33 +01:00
nvim-cmp.lua fix(cmp): disable nvim-cmp/blink.cmp when needed 2024-12-13 19:56:03 +01:00
yanky.lua fix(yanky): enable yank history in visual mode (#4048) 2024-07-15 11:48:58 +02:00