2023-02-20 11:09:53 +00:00
|
|
|
return {
|
2023-02-21 07:07:42 +00:00
|
|
|
{
|
|
|
|
"neovim/nvim-lspconfig",
|
|
|
|
event = { "BufReadPre", "BufNewFile" },
|
2023-02-21 07:51:56 +00:00
|
|
|
cmd = {
|
|
|
|
"LspLog",
|
|
|
|
"LspStop",
|
|
|
|
"LspStart",
|
|
|
|
"LspRestart",
|
2023-03-03 11:12:22 +00:00
|
|
|
"LspInfo",
|
2023-02-21 07:51:56 +00:00
|
|
|
},
|
2023-02-21 07:07:42 +00:00
|
|
|
dependencies = {
|
|
|
|
{ "hrsh7th/nvim-cmp" },
|
|
|
|
{ "rafamadriz/friendly-snippets" },
|
|
|
|
{ "windwp/nvim-autopairs" },
|
|
|
|
},
|
|
|
|
config = function()
|
2023-02-21 17:31:50 +00:00
|
|
|
require "lsp.config"
|
2023-02-21 07:07:42 +00:00
|
|
|
require "lsp.cmp"
|
|
|
|
end,
|
2023-02-20 11:09:53 +00:00
|
|
|
},
|
2023-02-21 07:07:42 +00:00
|
|
|
{
|
|
|
|
"hrsh7th/nvim-cmp",
|
|
|
|
dependencies = {
|
|
|
|
{ "hrsh7th/cmp-nvim-lsp" },
|
|
|
|
{ "hrsh7th/cmp-buffer" },
|
|
|
|
{ "hrsh7th/cmp-path" },
|
|
|
|
{ "hrsh7th/cmp-cmdline" },
|
|
|
|
{ "f3fora/cmp-spell" },
|
|
|
|
{ "petertriho/cmp-git" },
|
|
|
|
{ "Dosx001/cmp-commit" },
|
|
|
|
{ "kdheepak/cmp-latex-symbols" },
|
|
|
|
{ "L3MON4D3/LuaSnip" },
|
|
|
|
{ "saadparwaiz1/cmp_luasnip" },
|
|
|
|
},
|
|
|
|
cmd = "CmpStatus",
|
|
|
|
},
|
|
|
|
{ "jose-elias-alvarez/null-ls.nvim", dependencies = { "neovim/nvim-lspconfig" }, lazy = true },
|
2023-04-05 15:42:29 +01:00
|
|
|
{ "mfussenegger/nvim-dap", dependencies = { "neovim/nvim-lspconfig" }, lazy = true },
|
2023-02-21 07:07:42 +00:00
|
|
|
{ "folke/neodev.nvim", dependencies = { "neovim/nvim-lspconfig", "hrsh7th/nvim-cmp" }, lazy = true },
|
2023-02-20 11:09:53 +00:00
|
|
|
}
|