nvim/lua/plugins/lspconfig.lua

26 lines
710 B
Lua

return {
"neovim/nvim-lspconfig",
event = { "BufReadPre", "BufNewFile", "BufEnter" },
cmd = {
"LspLog",
"LspStop",
"LspStart",
"LspRestart",
"LspInfo",
},
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" },
},
config = function()
require "lsp.config"
require "lsp.cmp"
end,
}