2023-02-20 11:09:53 +00:00
|
|
|
return {
|
2023-05-11 10:44:22 +01:00
|
|
|
"neovim/nvim-lspconfig",
|
|
|
|
event = { "BufReadPre", "BufNewFile", "BufEnter" },
|
|
|
|
cmd = {
|
|
|
|
"LspLog",
|
|
|
|
"LspStop",
|
|
|
|
"LspStart",
|
|
|
|
"LspRestart",
|
|
|
|
"LspInfo",
|
2023-02-20 11:09:53 +00:00
|
|
|
},
|
2023-05-11 10:44:22 +01:00
|
|
|
dependencies = {
|
|
|
|
{ "hrsh7th/nvim-cmp" },
|
|
|
|
{ "rafamadriz/friendly-snippets" },
|
|
|
|
{ "windwp/nvim-autopairs" },
|
|
|
|
{ "jose-elias-alvarez/null-ls.nvim", lazy = true },
|
|
|
|
{ "mfussenegger/nvim-dap", lazy = true },
|
|
|
|
{ "folke/neodev.nvim", dependencies = { "hrsh7th/nvim-cmp" }, lazy = true },
|
|
|
|
{ "SmiteshP/nvim-navic" },
|
|
|
|
{ "SmiteshP/nvim-navbuddy" },
|
2023-02-21 07:07:42 +00:00
|
|
|
},
|
2023-05-11 10:44:22 +01:00
|
|
|
config = function()
|
|
|
|
require "lsp.config"
|
|
|
|
require "lsp.cmp"
|
|
|
|
end,
|
2023-02-20 11:09:53 +00:00
|
|
|
}
|