|
@@ -1,24 +1,24 @@
|
|
|
return {
|
|
|
'VonHeikemen/lsp-zero.nvim',
|
|
|
- branch = 'v1.x',
|
|
|
- dependencies = {
|
|
|
- -- LSP Support
|
|
|
- {'neovim/nvim-lspconfig'}, -- Required
|
|
|
- {'williamboman/mason.nvim'}, -- Optional
|
|
|
- {'williamboman/mason-lspconfig.nvim'}, -- Optional
|
|
|
+ branch = 'v1.x',
|
|
|
+ dependencies = {
|
|
|
+ -- LSP Support
|
|
|
+ { 'neovim/nvim-lspconfig' }, -- Required
|
|
|
+ { 'williamboman/mason.nvim' }, -- Optional
|
|
|
+ { 'williamboman/mason-lspconfig.nvim' }, -- Optional
|
|
|
|
|
|
- -- Autocompletion
|
|
|
- {'hrsh7th/nvim-cmp'}, -- Required
|
|
|
- {'hrsh7th/cmp-nvim-lsp'}, -- Required
|
|
|
- {'hrsh7th/cmp-buffer'}, -- Optional
|
|
|
- {'hrsh7th/cmp-path'}, -- Optional
|
|
|
- {'saadparwaiz1/cmp_luasnip'}, -- Optional w
|
|
|
- {'hrsh7th/cmp-nvim-lua'}, -- Optional
|
|
|
+ -- Autocompletion
|
|
|
+ { 'hrsh7th/nvim-cmp' }, -- Required
|
|
|
+ { 'hrsh7th/cmp-nvim-lsp' }, -- Required
|
|
|
+ { 'hrsh7th/cmp-buffer' }, -- Optional
|
|
|
+ { 'hrsh7th/cmp-path' }, -- Optional
|
|
|
+ { 'saadparwaiz1/cmp_luasnip' }, -- Optional w
|
|
|
+ { 'hrsh7th/cmp-nvim-lua' }, -- Optional
|
|
|
+
|
|
|
+ -- Snippets
|
|
|
+ { 'L3MON4D3/LuaSnip' }, -- Required
|
|
|
+ { 'rafamadriz/friendly-snippets' }, -- Optional
|
|
|
|
|
|
- -- Snippets
|
|
|
- {'L3MON4D3/LuaSnip'}, -- Required
|
|
|
- {'rafamadriz/friendly-snippets'}, -- Optional
|
|
|
-
|
|
|
},
|
|
|
config = function()
|
|
|
local config = require("lsp-zero")
|
|
@@ -27,5 +27,4 @@ return {
|
|
|
config.setup()
|
|
|
-- set keymap
|
|
|
end
|
|
|
-
|
|
|
}
|