Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uga-rosa/cmp-dictionary
A dictionary completion source for nvim-cmp
https://github.com/uga-rosa/cmp-dictionary
lua neovim-plugin nvim-cmp
Last synced: about 9 hours ago
JSON representation
A dictionary completion source for nvim-cmp
- Host: GitHub
- URL: https://github.com/uga-rosa/cmp-dictionary
- Owner: uga-rosa
- License: mit
- Created: 2021-09-26T08:01:17.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-24T15:47:29.000Z (6 months ago)
- Last Synced: 2025-01-01T14:02:31.672Z (7 days ago)
- Topics: lua, neovim-plugin, nvim-cmp
- Language: Lua
- Homepage:
- Size: 189 KB
- Stars: 260
- Watchers: 2
- Forks: 16
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- my-neovim-pluginlist - uga-rosa/cmp-dictionary - rosa/cmp-dictionary) ![](https://img.shields.io/github/last-commit/uga-rosa/cmp-dictionary) ![](https://img.shields.io/github/commit-activity/y/uga-rosa/cmp-dictionary) (Other Standard Feature Enhancement / Dictionary)
README
# cmp-dictionary
A dictionary completion source for [nvim-cmp](https://github.com/hrsh7th/nvim-cmp).
This plugin provides one of the easiest way to add desired completion candidates to nvim-cmp.
![image](https://user-images.githubusercontent.com/82267684/145278036-afa56b20-a365-4165-822f-98db5d7f11b1.png)
# Requirements
- neovim >= 0.7
- nvim-cmp## Optional
- `vim.system()` or [plenary.nvim](https://github.com/nvim-lua/plenary.nvim) (for some optional features).
# Setting
```lua
require("cmp").setup({
-- other settings
sources = {
-- other sources
{
name = "dictionary",
keyword_length = 2,
},
}
})require("cmp_dictionary").setup({
paths = { "/usr/share/dict/words" },
exact_length = 2,
})
```See help for details.