2023-05-04 12:39:25 +01:00
|
|
|
return {
|
2023-05-16 09:22:33 +01:00
|
|
|
"neovim/nvim-lspconfig",
|
|
|
|
event = { "BufReadPre", "BufNewFile", "BufEnter" },
|
|
|
|
cmd = {
|
|
|
|
"LspLog",
|
|
|
|
"LspStop",
|
|
|
|
"LspStart",
|
|
|
|
"LspRestart",
|
|
|
|
"LspInfo",
|
2023-05-04 12:39:25 +01:00
|
|
|
},
|
2023-05-16 09:22:33 +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-05-04 12:39:25 +01:00
|
|
|
},
|
2023-05-16 09:22:33 +01:00
|
|
|
config = function()
|
|
|
|
require "lsp.config"
|
|
|
|
require "lsp.cmp"
|
|
|
|
end,
|
2023-05-04 12:39:25 +01:00
|
|
|
}
|