Revert "Install nvim-cmp source for spelling"
This reverts commit 6a8923ac07.
This commit is contained in:
@@ -54,7 +54,7 @@ cmp.setup({
|
||||
},
|
||||
sources = cmp.config.sources({
|
||||
{name = "nvim_lsp", trigger_characters = {"."}}, {name = "luasnip"},
|
||||
{name = "nvim_lua"}, {name = "spell"}
|
||||
{name = "nvim_lua"}
|
||||
}, {{name = "path"}, {name = "buffer"}}),
|
||||
completion = {completeopt = "menu,menuone,noselect,noinsert,preview"},
|
||||
experimental = {ghost_text = true},
|
||||
@@ -78,8 +78,7 @@ cmp.setup({
|
||||
nvim_lsp = "[LSP]",
|
||||
luasnip = "[Snippet]",
|
||||
nvim_lua = "[Lua]",
|
||||
path = "[File]",
|
||||
spell = "[Spell]"
|
||||
path = "[File]"
|
||||
})[entry.source.name]
|
||||
return vim_item
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user