.config/nvim/lua/plugins/lsp.lua

changeset 1068
537a428597b5
parent 1064
fcfa295076a8
child 1084
76588dcdb04a
equal deleted inserted replaced
1067:08675f3a85f6 1068:537a428597b5
1 return { 1 return {
2 "neovim/nvim-lspconfig", 2 -- mason is nonlazy so my executable tests works
3 { "williamboman/mason.nvim", config = true }, 3 { "williamboman/mason.nvim", config = true },
4 { "j-hui/fidget.nvim", config = true },
5 4
6 { 5 {
7 "williamboman/mason-lspconfig.nvim", 6 "neovim/nvim-lspconfig",
7 event = { "BufReadPre", "BufNewFile" },
8 dependencies = {
9 "williamboman/mason-lspconfig.nvim",
10 { "j-hui/fidget.nvim", config = true },
11 },
8 config = function(plugin, opts) 12 config = function(plugin, opts)
9 require("mason-lspconfig").setup() 13 require("mason-lspconfig").setup()
10 require("mason-lspconfig").setup_handlers({ 14 require("mason-lspconfig").setup_handlers({
11 function(server) 15 function(server)
12 require("lspconfig")[server].setup({ 16 require("lspconfig")[server].setup({

mercurial