AstroNvim / AstroNvim/astrocommunity
blink.cmp & cmp-dap
- Dominant language
- Lua
- Stars
- 1.7k
- Forks
- 313
- PR merge metrics
- No merged PRs in 30d
Description
### Is your feature related to a problem?
cmp-dap not available when using blink.cmp
### Describe the new feature
blink.cmp has a compatibility layer for cmp sources such as https://github.com/rcarriga/cmp-dap. Using https://github.com/saghen/blink.compat, it should be possible to get this to work.
```lua
dap = {
name = "dap",
module = "blink.compat.source",
enabled = function()
require("cmp_dap").is_dap_buffer()
end,
},
```
i see this snippet in https://github.com/Saghen/blink.cmp/issues/1319 that should make it possible to work, however i do not know the best way of going about this otherwise i would create a PR
### Additional context
_No response_
Contributor guide
Research direction
Start by reading the existing plugin specifications in this repository and the blink.compat source integration described in the issue. Verify how cmp-dap exposes cmp_dap.is_dap_buffer() and how blink.cmp registers compatibility sources. Done means cmp-dap is available through blink.cmp without breaking the existing plugin setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, neovim
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100