diff --git a/nvim/lua/plugins/lsp/cmp.lua b/nvim/lua/plugins/lsp/cmp.lua index c61a462..7a29be4 100755 --- a/nvim/lua/plugins/lsp/cmp.lua +++ b/nvim/lua/plugins/lsp/cmp.lua @@ -3,13 +3,12 @@ return { "hrsh7th/nvim-cmp", event = "InsertEnter", dependencies = { - { "hrsh7th/cmp-buffer" }, -- source for text in buffer - { "hrsh7th/cmp-path" }, -- source for file system paths - { "L3MON4D3/LuaSnip" }, -- snippet engine - { "saadparwaiz1/cmp_luasnip" }, -- for autocompletion - { "rafamadriz/friendly-snippets" }, -- useful snippets - { "onsails/lspkind.nvim" }, -- icons for cmp - { "hrsh7th/cmp-nvim-lsp-signature-help" }, -- signature help + { "hrsh7th/cmp-buffer" }, -- source for text in buffer + { "hrsh7th/cmp-path" }, -- source for file system paths + { "L3MON4D3/LuaSnip" }, -- snippet engine + { "saadparwaiz1/cmp_luasnip" }, -- for autocompletion + { "rafamadriz/friendly-snippets" }, -- useful snippets + { "onsails/lspkind.nvim" }, -- icons for cmp }, config = function() @@ -91,11 +90,10 @@ return { -- sources for autocompletion sources = cmp.config.sources({ - { name = "nvim_lsp" }, -- lsp - { name = "luasnip" }, -- snippets - { name = "buffer" }, -- text within current buffer - { name = "path" }, -- file system paths - { name = "nvim_lsp_signature_help" }, -- signature help + { name = "nvim_lsp" }, -- lsp + { name = "luasnip" }, -- snippets + { name = "buffer" }, -- text within current buffer + { name = "path" }, -- file system paths }), formatting = {