From ec42df6ac5a97cf8b6ce66ce4bfd814f718a1e96 Mon Sep 17 00:00:00 2001 From: newbie Date: Wed, 10 Jan 2024 23:12:51 +0800 Subject: [PATCH] update --- lua/plugs/nvim-lspconfig.lua | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lua/plugs/nvim-lspconfig.lua b/lua/plugs/nvim-lspconfig.lua index d1534b4..7c77a62 100644 --- a/lua/plugs/nvim-lspconfig.lua +++ b/lua/plugs/nvim-lspconfig.lua @@ -131,16 +131,15 @@ return { "hrsh7th/nvim-cmp", dependencies = { 'hrsh7th/cmp-nvim-lsp', -- { name = 'nvim_lua' } - 'hrsh7th/cmp-buffer', -- { name = 'buffer' }, - 'hrsh7th/cmp-path', -- { name = 'path' } - 'hrsh7th/cmp-cmdline', -- { name = 'cmdline' } + 'hrsh7th/cmp-buffer', -- { name = 'buffer' }, + 'hrsh7th/cmp-path', -- { name = 'path' } + 'hrsh7th/cmp-cmdline', -- { name = 'cmdline' } 'hrsh7th/vim-vsnip', 'hrsh7th/cmp-vsnip', 'onsails/lspkind-nvim', }, config = function() - - + G.g.vsnip_snippet_dir = G.fn.stdpath("config") .. "/sinppets/" local has_words_before = function() unpack = unpack or table.unpack local line, col = unpack(G.api.nvim_win_get_cursor(0))