Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"}`
Expand Down
2 changes: 1 addition & 1 deletion lua/elixir/elixirls/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions tests/download_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)