summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlistout <listout@protonmail.com>2022-11-28 12:13:27 +0530
committerlistout <listout@protonmail.com>2022-11-28 12:13:27 +0530
commit3af32d336f5858bc2f11a7123a497395104bf64f (patch)
tree9697a4a6eac883f1aaf727fc7bc6a45bc6daf438
parent10506293279437f32505de36c6fe92329a9d6de7 (diff)
Revert "main: cmp.lua: add omni symbol in formatting and completion under formatting"
This reverts commit 65c17050acbb228e6e34f6b889311be0f886e46e.
-rw-r--r--lua/plugins/cmp.lua8
1 files changed, 1 insertions, 7 deletions
diff --git a/lua/plugins/cmp.lua b/lua/plugins/cmp.lua
index e32387e..2f901c1 100644
--- a/lua/plugins/cmp.lua
+++ b/lua/plugins/cmp.lua
@@ -51,15 +51,10 @@ cmp.setup {
luasnip = "[LuaSnip]",
nvim_lua = "[Lua]",
latex_symbols = "[LaTeX]",
- omni = "[Omni]",
})[entry.source.name]
return vim_item
end
},
- completion = {
- keyword_length = 1,
- completeopt = "menu,noselect"
- },
snippet = {
expand = function(args)
require('luasnip').lsp_expand(args.body) -- For `luasnip` users.
@@ -99,9 +94,8 @@ cmp.setup {
end, { 'i', 's' }),
}),
sources = cmp.config.sources({
- { name = 'omni'},
{ name = 'luasnip', option = { use_show_condition = false } },
- { name = 'nvim_lsp', },
+ { name = 'nvim_lsp' },
{ name = 'nvim_lsp_signature_help' },
{ name = 'path' },
{ name = 'buffer' },