14 lines
311 B
Lua
14 lines
311 B
Lua
|
local status_ok, lsp_installer = pcall(require, "nvim-lsp-installer")
|
||
|
if not status_ok then
|
||
|
return
|
||
|
end
|
||
|
|
||
|
lsp_installer.on_server_ready(function(server)
|
||
|
local opts = {
|
||
|
on_attach = require("user.lsp.handlers").on_attach,
|
||
|
capabilities = require("user.lsp.handlers").capabilities,
|
||
|
}
|
||
|
|
||
|
server:setup(opts)
|
||
|
end)
|