feat(lsp): add option to override default nvim-lsp-installer settings (#2698)

This commit is contained in:
CPea 2022-06-26 19:08:54 +07:00 committed by GitHub
parent 12f8798bb0
commit c6431a09c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 53 additions and 7 deletions

View file

@ -122,10 +122,7 @@ function M.setup()
append_default_schemas = true,
}
require("nvim-lsp-installer").setup {
-- use the default nvim_data_dir, since the server binaries are independent
install_root_dir = utils.join_paths(vim.call("stdpath", "data"), "lsp_servers"),
}
require("nvim-lsp-installer").setup(lvim.lsp.installer.setup)
require("lvim.lsp.null-ls").setup()