diff --git a/README.md b/README.md index 18baf2ec..7b0ade03 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ elixir.setup { -- specify a repository and branch repo = "mhanberg/elixir-ls", -- defaults to elixir-lsp/elixir-ls branch = "mh/all-workspace-symbols", -- defaults to nil, just checkouts out the default branch, mutually exclusive with the `tag` option - tag = "v0.13.0", -- defaults to nil, mutually exclusive with the `branch` option + tag = "v0.14.6", -- defaults to nil, mutually exclusive with the `branch` option -- alternatively, point to an existing elixir-ls installation (optional) -- not currently supported by elixirls, but can be a table if you wish to pass other args `{"path/to/elixirls", "--foo"}` diff --git a/lua/elixir/elixirls/init.lua b/lua/elixir/elixirls/init.lua index 45c7a527..0a99501a 100644 --- a/lua/elixir/elixirls/init.lua +++ b/lua/elixir/elixirls/init.lua @@ -9,7 +9,7 @@ local Utils = require("elixir.utils") local capabilities = vim.lsp.protocol.make_client_capabilities() capabilities.textDocument.completion.completionItem.snippetSupport = true -local default_install_tag = "tags/v0.13.0" +local default_install_tag = "tags/v0.14.6" local elixir_nvim_output_bufnr diff --git a/tests/download_spec.lua b/tests/download_spec.lua index 7e903574..8e11a345 100644 --- a/tests/download_spec.lua +++ b/tests/download_spec.lua @@ -42,9 +42,9 @@ describe("download", function() it("can checkout a different tag", function() local download_dir = "tmp/downloads" - local result = Download.clone(download_dir, { repo = "elixir-lsp/elixir-ls", ref = "tags/v0.13.0" }) + local result = Download.clone(download_dir, { repo = "elixir-lsp/elixir-ls", ref = "tags/v0.14.6" }) - eq("elixir-lsp/elixir-ls/tags_v0.13.0", result) - assert.True(Path:new(download_dir, "elixir-lsp/elixir-ls/tags_v0.13.0", "mix.exs"):exists()) + eq("elixir-lsp/elixir-ls/tags_v0.14.6", result) + assert.True(Path:new(download_dir, "elixir-lsp/elixir-ls/tags_v0.14.6", "mix.exs"):exists()) end) end)