summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/core/lspinstall.lua
blob: 79c750295503ca6a4136ca7caf45a4a5811914a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
local M = {}

M.config = function()
  options.builtin.lspinstall = {
    active = true,
    on_config_done = nil,
  }
end

M.setup = function()
  local lspinstall = require "lspinstall"
  lspinstall.setup()

  if options.builtin.lspinstall.on_config_done then
    options.builtin.lspinstall.on_config_done(lspinstall)
  end
end

return M