Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: elixir-tools/next-ls
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.3.0
Choose a base ref
...
head repository: elixir-tools/next-ls
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.3.1
Choose a head ref
  • 2 commits
  • 5 files changed
  • 2 contributors

Commits on Jun 25, 2023

  1. Copy the full SHA
    3e83987 View commit details
  2. chore(main): release 0.3.1 (#35)

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    github-actions[bot] authored Jun 25, 2023
    Copy the full SHA
    9a00e4d View commit details
Showing with 12 additions and 3 deletions.
  1. +7 −0 CHANGELOG.md
  2. +1 −1 bin/nextls
  3. +1 −1 lib/next_ls/lsp_supervisor.ex
  4. +2 −0 lib/next_ls/symbol_table.ex
  5. +1 −1 mix.exs
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [0.3.1](https://github.com/elixir-tools/next-ls/compare/v0.3.0...v0.3.1) (2023-06-25)


### Bug Fixes

* use correct directory for symbol table ([#34](https://github.com/elixir-tools/next-ls/issues/34)) ([3e83987](https://github.com/elixir-tools/next-ls/commit/3e83987900bbd1d951bc1c7b7af80d566744a022))

## [0.3.0](https://github.com/elixir-tools/next-ls/compare/v0.2.3...v0.3.0) (2023-06-25)


2 changes: 1 addition & 1 deletion bin/nextls
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ Logger.configure(level: :none)
Mix.start()
Mix.shell(Mix.Shell.Process)

default_version = "0.3.0" # x-release-please-version
default_version = "0.3.1" # x-release-please-version

Mix.install([{:next_ls, System.get_env("NEXTLS_VERSION", default_version)}])

2 changes: 1 addition & 1 deletion lib/next_ls/lsp_supervisor.ex
Original file line number Diff line number Diff line change
@@ -37,7 +37,7 @@ defmodule NextLS.LSPSupervisor do
{Task.Supervisor, name: NextLS.TaskSupervisor},
{GenLSP.Buffer, buffer_opts},
{NextLS.DiagnosticCache, name: :diagnostic_cache},
{NextLS.SymbolTable, name: :symbol_table, path: Path.expand("~/.cache/nvim/elixir-tools.nvim")},
{NextLS.SymbolTable, name: :symbol_table, path: Path.expand(".elixir-tools")},
{Registry, name: NextLS.ExtensionRegistry, keys: :duplicate},
{NextLS,
cache: :diagnostic_cache,
2 changes: 2 additions & 0 deletions lib/next_ls/symbol_table.ex
Original file line number Diff line number Diff line change
@@ -25,6 +25,8 @@ defmodule NextLS.SymbolTable do
def init(args) do
path = Keyword.fetch!(args, :path)

File.mkdir_p!(path)

{:ok, name} =
:dets.open_file(:symbol_table,
file: Path.join(path, "symbol_table.dets") |> String.to_charlist(),
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ defmodule NextLS.MixProject do
[
app: :next_ls,
description: "The langauge server for Elixir that just works",
version: "0.3.0",
version: "0.3.1",
elixir: "~> 1.13",
start_permanent: Mix.env() == :prod,
package: package(),