33 lines
681 B
Lua
33 lines
681 B
Lua
return {
|
|
{
|
|
'neovim/nvim-lspconfig',
|
|
config = function()
|
|
local lsp = require('lspconfig')
|
|
require'lspconfig'.pyright.setup{}
|
|
-- lsp.lua_ls.setup{}
|
|
-- local opts = {buffer = ev.buf}
|
|
G.map({
|
|
|
|
-- G.lb = vim.lsp.buf
|
|
-- { 'n', 'gD', G.lb.declaration, opts},
|
|
-- { 'n', 'gd', G.lb.definition, opts},
|
|
-- { 'n', 'gi', G.lb.implementation, opts},
|
|
|
|
})
|
|
end,
|
|
},
|
|
{
|
|
'hrsh7th/nvim-cmp',
|
|
dependencies = {
|
|
'hrsh7th/cmp-cmdline',
|
|
'hrsh7th/cmp-path',
|
|
'hrsh7th/cmp-buffer',
|
|
'hrsh7th/cmp-nvim-lsp',
|
|
},
|
|
},
|
|
{
|
|
'williamboman/mason.nvim',
|
|
},
|
|
|
|
}
|