nvim/lua/plugins/lspconfig.lua

26 lines
710 B
Lua
Raw Normal View History

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