diff options
Diffstat (limited to 'lua/nvim-lsp-installer/settings.lua')
| -rw-r--r-- | lua/nvim-lsp-installer/settings.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lua/nvim-lsp-installer/settings.lua b/lua/nvim-lsp-installer/settings.lua index e346763f..dd4a3d18 100644 --- a/lua/nvim-lsp-installer/settings.lua +++ b/lua/nvim-lsp-installer/settings.lua @@ -63,6 +63,15 @@ local DEFAULT_SETTINGS = { -- Limit for the maximum amount of servers to be installed at the same time. Once this limit is reached, any further -- servers that are requested to be installed will be put in a queue. max_concurrent_installers = 4, + + github = { + -- The template URL to use when downloading assets from GitHub. + -- The placeholders are the following (in order): + -- 1. The repository (e.g. "rust-lang/rust-analyzer") + -- 2. The release version (e.g. "v0.3.0") + -- 3. The asset name (e.g. "rust-analyzer-v0.3.0-x86_64-unknown-linux-gnu.tar.gz") + download_url_template = "https://github.com/%s/releases/download/%s/%s", + }, } M._DEFAULT_SETTINGS = DEFAULT_SETTINGS |
