summaryrefslogtreecommitdiffstats
path: root/.config/nvim/lua/plugins/cmp.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/plugins/cmp.lua')
-rw-r--r--.config/nvim/lua/plugins/cmp.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/.config/nvim/lua/plugins/cmp.lua b/.config/nvim/lua/plugins/cmp.lua
index 5fdc741..884e778 100644
--- a/.config/nvim/lua/plugins/cmp.lua
+++ b/.config/nvim/lua/plugins/cmp.lua
@@ -53,7 +53,6 @@ return {
53 TypeParameter = "", 53 TypeParameter = "",
54 } 54 }
55 55
56 ---@diagnostic disable-next-line: missing-fields
57 cmp.setup({ 56 cmp.setup({
58 enabled = function() 57 enabled = function()
59 -- disable autocompletion in telescope prompt 58 -- disable autocompletion in telescope prompt
@@ -61,7 +60,6 @@ return {
61 60
62 return buftype ~= "prompt" 61 return buftype ~= "prompt"
63 end, 62 end,
64 ---@diagnostic disable-next-line: missing-fields
65 completion = { 63 completion = {
66 completeopt = "menu,menuone,noselect", 64 completeopt = "menu,menuone,noselect",
67 }, 65 },
@@ -100,7 +98,6 @@ return {
100 end 98 end
101 end, { "i", "s" }), 99 end, { "i", "s" }),
102 }), 100 }),
103 ---@diagnostic disable-next-line: missing-fields
104 formatting = { 101 formatting = {
105 fields = { "kind", "abbr", "menu" }, 102 fields = { "kind", "abbr", "menu" },
106 format = function(entry, vim_item) 103 format = function(entry, vim_item)
@@ -137,7 +134,6 @@ return {
137 ) 134 )
138 135
139 -- use omnifunc in vimwiki to complete paths and tags 136 -- use omnifunc in vimwiki to complete paths and tags
140 ---@diagnostic disable-next-line: missing-fields
141 cmp.setup.filetype('vimwiki', { 137 cmp.setup.filetype('vimwiki', {
142 sources = cmp.config.sources({ 138 sources = cmp.config.sources({
143 { name = "omni" }, 139 { name = "omni" },