Skip to content

Commit

Permalink
feat(completion): add cmp-spell
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamilcuk committed Jun 16, 2024
1 parent 2289358 commit b91921a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lua/astrocommunity/completion/cmp-spell/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# cmp-spell

spell source for nvim-cmp based on vim's spellsuggest.

**Repository:** <https://github.com/f3fora/cmp-spell>
9 changes: 9 additions & 0 deletions lua/astrocommunity/completion/cmp-spell/init.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
return {
"hrsh7th/nvim-cmp",
optional = true,
dependencies = { "f3fora/cmp-spell", lazy = true },
opts = function(_, opts)
opts.sources = opts.sources or {}
table.insert(opts.sources, { name = "spell" })
end,
}

0 comments on commit b91921a

Please sign in to comment.