Initial migrations to lazy.nvim

This commit is contained in:
2023-09-18 12:44:13 -04:00
parent 6410d07c70
commit 34da568c87
23 changed files with 706 additions and 309 deletions

View File

@@ -1,16 +1,6 @@
local lsp_installer = require("nvim-lsp-installer")
-- Register a handler that will be called for all installed servers.
-- Alternatively, you may also register handlers on specific server instances instead (see example below).
lsp_installer.on_server_ready(function(server)
local opts = {}
-- (optional) Customize the options passed to the server
-- if server.name == "tsserver" then
-- opts.root_dir = function() ... end
-- end
-- This setup() function is exactly the same as lspconfig's setup function.
-- Refer to https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md
server:setup(opts)
end)
return {
"williamboman/nvim-lsp-installer",
config = function()
require("nvim-lsp-installer").setup()
end
}