Cmp Dictionary Save Abandoned

A dictionary completion source for nvim-cmp

Project README

WARNING

This is no longer maintained. I will archive it in due course.

cmp-dictionary

A dictionary completion source for nvim-cmp.

This plugin provides one of the easiest way to add desired completion candidates to nvim-cmp.

image

Requirements

  • neovim >= 0.7
  • nvim-cmp
  • vim.system() or plenary.nvim (for some optional features).

Setting

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,
  first_case_insensitive = true,
  document = {
    enable = true,
    command = { "wn", "${label}", "-over" },
  },
})

See help for details.

Open Source Agenda is not affiliated with "Cmp Dictionary" Project. README Source: uga-rosa/cmp-dictionary
Stars
231
Open Issues
1
Last Commit
2 months ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating