https://github.com/ferretdetective/blink-cmp-omni
blink.cmp source for Neovim's omni-func completions
https://github.com/ferretdetective/blink-cmp-omni
neovim neovim-plugin neovim-plugins nvim nvim-plugin nvim-plugins
Last synced: 10 months ago
JSON representation
blink.cmp source for Neovim's omni-func completions
- Host: GitHub
- URL: https://github.com/ferretdetective/blink-cmp-omni
- Owner: FerretDetective
- License: mit
- Created: 2025-01-28T06:17:15.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-28T07:51:25.000Z (over 1 year ago)
- Last Synced: 2025-01-28T08:30:27.834Z (over 1 year ago)
- Topics: neovim, neovim-plugin, neovim-plugins, nvim, nvim-plugin, nvim-plugins
- Language: Lua
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# blink-cmp-omni
> [!WARNING]
> This plugin is no longer maintained as the feature has been upstreamed in blink.cmp [v0.12.0](https://github.com/Saghen/blink.cmp/releases/tag/v0.12.0).
[blink.cmp](https://github.com/saghen/blink.cmp) source for Neovim's omni-func completions.
## Requirements
- Neovim 0.10+
- blink.cmp
## Installation
### Lazy.nvim
```lua
{
"saghen/blink.cmp",
dependencies = {
"FerretDetective/blink-cmp-omni",
},
---@module 'blink.cmp'
---@type blink.cmp.Config
opts = {
sources = {
default = { "lsp", "path", "snippets", "buffer", "lazydev", "omni" },
providers = {
omni = {
name = "blink-cmp-omni",
module = "blink-cmp-omni",
---@module "blink-cmp-omni"
---@type blink-cmp-omni.OmniOpts
opts = {
-- Default configuration
-- Disable the source on certain omnifuncs
---@type string[]?
disable_omnifuncs = { "v:lua.vim.lsp.omnifunc" },
-- Disable the source on certain filetypes
---@type string[]?
disable_filetypes = {},
},
},
},
},
},
}
```