nvim/lua/plugins/lspconfig.lua
Evie Litherland-Smith c67d679fc4 Start lspconfig on cmdline enter
Fix Alpha using : instead of <cmd> in command definition
2023-05-16 13:18:32 +01:00

19 lines
799 B
Lua

return {
"neovim/nvim-lspconfig",
event = { "BufReadPre", "BufNewFile", "CmdlineEnter" },
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",
},
config = function()
require "lsp.config"
require "lsp.cmp"
end,
}