nvim/lua/plugins/lspconfig.lua

19 lines
799 B
Lua
Raw Normal View History

return {
2023-05-16 09:22:33 +01:00
"neovim/nvim-lspconfig",
event = { "BufReadPre", "BufNewFile", "CmdlineEnter" },
2023-05-16 09:22:33 +01:00
dependencies = {
{ "hrsh7th/cmp-nvim-lsp", dependencies = { "hrsh7th/nvim-cmp" } },
{ "hrsh7th/cmp-buffer", dependencies = { "hrsh7th/nvim-cmp" } },
{ "hrsh7th/cmp-path", dependencies = { "hrsh7th/nvim-cmp" } },
{ "hrsh7th/cmp-cmdline", dependencies = { "hrsh7th/nvim-cmp" } },
{ "L3MON4D3/LuaSnip", dependencies = { "hrsh7th/nvim-cmp", "saadparwaiz1/cmp_luasnip" } },
{ "windwp/nvim-autopairs", dependencies = { "hrsh7th/nvim-cmp" } },
{ "folke/neodev.nvim", dependencies = { "hrsh7th/nvim-cmp" } },
"jose-elias-alvarez/null-ls.nvim",
},
2023-05-16 09:22:33 +01:00
config = function()
require "lsp.config"
require "lsp.cmp"
end,
}