summary refs log tree commit diff
path: root/.vim/lua/plugins.lua
diff options
context:
space:
mode:
Diffstat (limited to '.vim/lua/plugins.lua')
-rw-r--r--.vim/lua/plugins.lua10
1 files changed, 8 insertions, 2 deletions
diff --git a/.vim/lua/plugins.lua b/.vim/lua/plugins.lua
index 67a0e88..c5a507c 100644
--- a/.vim/lua/plugins.lua
+++ b/.vim/lua/plugins.lua
@@ -599,14 +599,20 @@ require('packer').startup({function()
           { name = 'nvim_lsp_document_symbol' }
         }, {
           { name = 'buffer' }
-        })
+        }),
+        formatting = {
+          fields = {'abbr', 'menu'},
+        },
       })
       cmp.setup.cmdline(':', {
         sources = cmp.config.sources({
           { name = 'path' }
         }, {
           { name = 'cmdline' }
-        })
+        }),
+        formatting = {
+          fields = {'abbr', 'menu'},
+        },
       })
 
       -- insert `(` after selecting function/method items